hunk.code_window: Run `ng e2e` to execute the end-to-end tests via [Protractor](http://www.protractortest.org/).
   Before running the tests make sure you are serving the app via `ng serve`.
   ## Deploying to Github Pages
  
hunk.labels: keep keep keep keep replace keep
hunk.after_edit: ## Deploying to GitHub Pages
  
hunk.file_path: packages/angular-cli/blueprints/ng2/files/README.md
hunk.type: replace
file: 'use strict';
  
  function CoreObject(options) {
    Object.assign(this, options);
  }
  
  module.exports = CoreObject;
  
  CoreObject.prototype.constructor = CoreObject;
  
  CoreObject.extend = function(options) {
    var constructor = this;
    function Class() {
      constructor.apply(this, arguments);
      if (this.init) {
        this.init(options);
      }
    }
  
    Class.__proto__ = CoreObject;
  
    Class.prototype = Object.create(constructor.prototype);
    Object.assign(Class.prototype, options);
    Class.prototype.constructor = Class;
    Class.prototype._super = constructor.prototype;
  
    return Class;
  };
  
  