extendable-base
Advanced tools
Comparing version 0.3.0 to 0.3.1
@@ -72,7 +72,9 @@ (function (factory) { | ||
// Sets up inheritance from the given parent class. If the constructor | ||
// isn't supplied then a default constructor is added which calls | ||
// `initialize` for each class in the inheritance hierarchy. | ||
// isn't supplied then a default constructor is added which invokes | ||
// the parent then calls `initialize` for each class in the | ||
// inheritance hierarchy. | ||
inherits: function (parent, protoProps, staticProps) { | ||
if (!protoProps.hasOwnProperty('constructor')) { | ||
protoProps.constructor = function () { | ||
parent.apply(this); | ||
Base._init_all(Object.getPrototypeOf(this), this, arguments); | ||
@@ -158,3 +160,2 @@ }; | ||
return _require(0); | ||
})); | ||
//# sourceMappingURL=extendable-base.js.map | ||
})); |
{ | ||
"name": "extendable-base", | ||
"version": "0.3.0", | ||
"version": "0.3.1", | ||
"description": "Simple library for setting up Javascript classes based on Backbone.extend", | ||
@@ -29,3 +29,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"underscore": "^1.7.0" | ||
"underscore": ">=1.7.0" | ||
}, | ||
@@ -35,3 +35,3 @@ "devDependencies": { | ||
"grunt": "^0.4.5", | ||
"grunt-dry": "^0.2.0" | ||
"grunt-dry": "^0.3.0" | ||
}, | ||
@@ -38,0 +38,0 @@ "files":[ |
@@ -1,2 +0,2 @@ | ||
extendable-base: Simple library for setting up Javascript classes | ||
extendable-base: Simple library for setting up Javascript classes [![Build Status: Linux](https://travis-ci.org/jut-io/extendable-base.png?branch=master)](https://travis-ci.org/jut-io/extendable-base) | ||
================================================================= | ||
@@ -3,0 +3,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
247
14962
6
Updatedunderscore@>=1.7.0