Update to Drupal 8.0.0-rc3. For more information, see https://www.drupal.org/node/2608078
This commit is contained in:
parent
6419a031d7
commit
4afb23bbd3
762 changed files with 20080 additions and 6368 deletions
28
vendor/jcalderonzumba/gastonjs/src/Client/Tools/inherit.js
vendored
Normal file
28
vendor/jcalderonzumba/gastonjs/src/Client/Tools/inherit.js
vendored
Normal file
|
@ -0,0 +1,28 @@
|
|||
var __extends;
|
||||
/**
|
||||
* Helper function so objects can inherit from another
|
||||
* @param child
|
||||
* @param parent
|
||||
* @return {Object}
|
||||
* @private
|
||||
*/
|
||||
__extends = function (child, parent) {
|
||||
var __hasProp;
|
||||
__hasProp = {}.hasOwnProperty;
|
||||
for (var key in parent) {
|
||||
if (parent.hasOwnProperty(key)) {
|
||||
if (__hasProp.call(parent, key)) {
|
||||
child[key] = parent[key];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function ClassConstructor() {
|
||||
this.constructor = child;
|
||||
}
|
||||
|
||||
ClassConstructor.prototype = parent.prototype;
|
||||
child.prototype = new ClassConstructor();
|
||||
child.__super__ = parent.prototype;
|
||||
return child;
|
||||
};
|
Reference in a new issue