You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

extendable-base

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

extendable-base - npm Package Compare versions

Comparing version

to
0.3.0

6

lib/base.js

@@ -32,7 +32,9 @@ var Extendable = require('./extendable');

// 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);

@@ -39,0 +41,0 @@ };

{
"name": "extendable-base",
"version": "0.2.0",
"version": "0.3.0",
"description": "Simple library for setting up Javascript classes based on Backbone.extend",

@@ -5,0 +5,0 @@ "main": "index.js",