Comparing version 1.1.2 to 1.1.3
@@ -1,2 +0,2 @@ | ||
!function(e){if("object"==typeof exports)module.exports=e();else if("function"==typeof define&&define.amd)define(e);else{var f;"undefined"!=typeof window?f=window:"undefined"!=typeof global?f=global:"undefined"!=typeof self&&(f=self),f.classy=e()}}(function(){var define,module,exports;return (function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(_dereq_,module,exports){ | ||
(function e(t,n,r){function s(o,u){if(!n[o]){if(!t[o]){var a=typeof require=="function"&&require;if(!u&&a)return a(o,!0);if(i)return i(o,!0);throw new Error("Cannot find module '"+o+"'")}var f=n[o]={exports:{}};t[o][0].call(f.exports,function(e){var n=t[o][1][e];return s(n?n:e)},f,f.exports,e,t,n,r)}return n[o].exports}var i=typeof require=="function"&&require;for(var o=0;o<r.length;o++)s(r[o]);return s})({1:[function(require,module,exports){ | ||
/* | ||
@@ -15,7 +15,7 @@ | ||
var core = _dereq_('./core') | ||
var copy = _dereq_('./utils/copy').copy | ||
var core = require('./core') | ||
var copy = require('./utils/copy').copy | ||
var when = [ '$before', '$after', '$override', '$copyIf' ] | ||
module.exports = _dereq_('./define')({ | ||
module.exports = require('./define')({ | ||
@@ -80,5 +80,5 @@ alias: 'z.mixin', | ||
}) | ||
},{"./core":5,"./define":7,"./utils/copy":22}],2:[function(_dereq_,module,exports){ | ||
},{"./core":5,"./define":7,"./utils/copy":22}],2:[function(require,module,exports){ | ||
module.exports = {} | ||
},{}],3:[function(_dereq_,module,exports){ | ||
},{}],3:[function(require,module,exports){ | ||
module.exports = function(){ | ||
@@ -202,3 +202,3 @@ | ||
}() | ||
},{}],4:[function(_dereq_,module,exports){ | ||
},{}],4:[function(require,module,exports){ | ||
module.exports = function(){ | ||
@@ -224,3 +224,3 @@ | ||
}() | ||
},{}],5:[function(_dereq_,module,exports){ | ||
},{}],5:[function(require,module,exports){ | ||
module.exports = function(){ | ||
@@ -231,7 +231,7 @@ | ||
//requirements | ||
var ClassFunctionBuilder = _dereq_('./buildClassFunctions') | ||
var extend = _dereq_('./extend') | ||
var ClassFunctionBuilder = require('./buildClassFunctions') | ||
var extend = require('./extend') | ||
var getInstantiatorFunction = _dereq_('../utils/getInstantiatorFunction') | ||
var copy = _dereq_('../utils/copy').copy | ||
var getInstantiatorFunction = require('../utils/getInstantiatorFunction') | ||
var copy = require('../utils/copy').copy | ||
@@ -487,7 +487,7 @@ //other declarations | ||
}() | ||
},{"../utils/copy":22,"../utils/getInstantiatorFunction":24,"./buildClassFunctions":3,"./extend":4}],6:[function(_dereq_,module,exports){ | ||
},{"../utils/copy":22,"../utils/getInstantiatorFunction":24,"./buildClassFunctions":3,"./extend":4}],6:[function(require,module,exports){ | ||
var SLICE = Array.prototype.slice | ||
var getClass = _dereq_('./getClass') | ||
var getInstantiatorFunction = _dereq_('./utils/getInstantiatorFunction') | ||
var getClass = require('./getClass') | ||
var getInstantiatorFunction = require('./utils/getInstantiatorFunction') | ||
@@ -521,10 +521,10 @@ /** | ||
} | ||
},{"./getClass":11,"./utils/getInstantiatorFunction":24}],7:[function(_dereq_,module,exports){ | ||
var getClass = _dereq_('./getClass') | ||
var processClass = _dereq_('./processClass') | ||
},{"./getClass":11,"./utils/getInstantiatorFunction":24}],7:[function(require,module,exports){ | ||
var getClass = require('./getClass') | ||
var processClass = require('./processClass') | ||
var Registry = _dereq_('./Registry') | ||
var core = _dereq_('./core') | ||
var Registry = require('./Registry') | ||
var core = require('./core') | ||
var ClassProcessor = _dereq_('./processors/ClassProcessor') | ||
var ClassProcessor = require('./processors/ClassProcessor') | ||
@@ -578,5 +578,5 @@ function preprocessClass(classConfig, parent){ | ||
} | ||
},{"./Registry":2,"./core":5,"./getClass":11,"./processClass":18,"./processors/ClassProcessor":19}],8:[function(_dereq_,module,exports){ | ||
var define = _dereq_('./define') | ||
var copyIf = _dereq_('./utils/copy').copyIf | ||
},{"./Registry":2,"./core":5,"./getClass":11,"./processClass":18,"./processors/ClassProcessor":19}],8:[function(require,module,exports){ | ||
var define = require('./define') | ||
var copyIf = require('./utils/copy').copyIf | ||
@@ -589,3 +589,3 @@ module.exports = function(members){ | ||
} | ||
},{"./define":7,"./utils/copy":22}],9:[function(_dereq_,module,exports){ | ||
},{"./define":7,"./utils/copy":22}],9:[function(require,module,exports){ | ||
/** | ||
@@ -600,4 +600,4 @@ * @method destroyClass | ||
var getClass = _dereq_('./getClass') | ||
var core = _dereq_('./core') | ||
var getClass = require('./getClass') | ||
var core = require('./core') | ||
var BaseClass = core.BaseClass | ||
@@ -615,4 +615,4 @@ | ||
} | ||
},{"./core":5,"./getClass":11}],10:[function(_dereq_,module,exports){ | ||
var define = _dereq_('./define') | ||
},{"./core":5,"./getClass":11}],10:[function(require,module,exports){ | ||
var define = require('./define') | ||
@@ -630,3 +630,3 @@ module.exports = function(config){ | ||
} | ||
},{"./define":7}],11:[function(_dereq_,module,exports){ | ||
},{"./define":7}],11:[function(require,module,exports){ | ||
/** | ||
@@ -643,4 +643,4 @@ * @method getClass | ||
var REGISTRY = _dereq_('./Registry') | ||
var BASE_CLASS = _dereq_('./core').BaseClass | ||
var REGISTRY = require('./Registry') | ||
var BASE_CLASS = require('./core').BaseClass | ||
@@ -660,5 +660,5 @@ module.exports = function getClass(alias){ | ||
} | ||
},{"./Registry":2,"./core":5}],12:[function(_dereq_,module,exports){ | ||
var BaseClass = _dereq_('./core').BaseClass | ||
var getClass = _dereq_('./getClass') | ||
},{"./Registry":2,"./core":5}],12:[function(require,module,exports){ | ||
var BaseClass = require('./core').BaseClass | ||
var getClass = require('./getClass') | ||
@@ -705,5 +705,5 @@ /** | ||
} | ||
},{"./core":5,"./getClass":11}],13:[function(_dereq_,module,exports){ | ||
var BaseClass = _dereq_('./core').BaseClass | ||
var getClass = _dereq_('./getClass') | ||
},{"./core":5,"./getClass":11}],13:[function(require,module,exports){ | ||
var BaseClass = require('./core').BaseClass | ||
var getClass = require('./getClass') | ||
@@ -732,3 +732,3 @@ /** | ||
} | ||
},{"./core":5,"./getClass":11}],14:[function(_dereq_,module,exports){ | ||
},{"./core":5,"./getClass":11}],14:[function(require,module,exports){ | ||
/* | ||
@@ -748,5 +748,5 @@ | ||
var core = _dereq_('./core') | ||
var core = require('./core') | ||
var isSubclassOf = _dereq_('./isSubclassOf') | ||
var isSubclassOf = require('./isSubclassOf') | ||
@@ -757,5 +757,5 @@ function isSameOrSubclassOf(subClass, superClass){ | ||
_dereq_('./Mixin') | ||
require('./Mixin') | ||
var copyUtils = _dereq_('./utils/copy') | ||
var copyUtils = require('./utils/copy') | ||
@@ -773,16 +773,16 @@ return { | ||
//enhanced | ||
define : _dereq_('./define'), | ||
override : _dereq_('./override'), | ||
getClass : _dereq_('./getClass'), | ||
define : require('./define'), | ||
override : require('./override'), | ||
getClass : require('./getClass'), | ||
classRegistry: _dereq_('./Registry'), | ||
classRegistry: require('./Registry'), | ||
defineMixin: _dereq_('./defineMixin'), | ||
mixin : _dereq_('./processors/MixinProcessor').mixin, | ||
defineMixin: require('./defineMixin'), | ||
mixin : require('./processors/MixinProcessor').mixin, | ||
create : _dereq_('./create'), | ||
getInstance : _dereq_('./getInstance'), | ||
create : require('./create'), | ||
getInstance : require('./getInstance'), | ||
destroyClass : _dereq_('./destroyClass'), | ||
getParentClass : _dereq_('./getParentClass'), | ||
destroyClass : require('./destroyClass'), | ||
getParentClass : require('./getParentClass'), | ||
@@ -794,4 +794,4 @@ isSubclassOf : isSubclassOf, | ||
}() | ||
},{"./Mixin":1,"./Registry":2,"./core":5,"./create":6,"./define":7,"./defineMixin":8,"./destroyClass":9,"./getClass":11,"./getInstance":12,"./getParentClass":13,"./isSubclassOf":15,"./override":16,"./processors/MixinProcessor":20,"./utils/copy":22}],15:[function(_dereq_,module,exports){ | ||
var getClass = _dereq_('./getClass') | ||
},{"./Mixin":1,"./Registry":2,"./core":5,"./create":6,"./define":7,"./defineMixin":8,"./destroyClass":9,"./getClass":11,"./getInstance":12,"./getParentClass":13,"./isSubclassOf":15,"./override":16,"./processors/MixinProcessor":20,"./utils/copy":22}],15:[function(require,module,exports){ | ||
var getClass = require('./getClass') | ||
@@ -819,4 +819,4 @@ module.exports = function(subClass, superClass, config){ | ||
} | ||
},{"./getClass":11}],16:[function(_dereq_,module,exports){ | ||
var getClass = _dereq_('./getClass') | ||
},{"./getClass":11}],16:[function(require,module,exports){ | ||
var getClass = require('./getClass') | ||
@@ -851,3 +851,3 @@ /** | ||
} | ||
},{"./getClass":11}],17:[function(_dereq_,module,exports){ | ||
},{"./getClass":11}],17:[function(require,module,exports){ | ||
module.exports = function(config){ | ||
@@ -858,6 +858,6 @@ | ||
//this refers to a Class | ||
return _dereq_('./core').overrideClass(this, config) | ||
return require('./core').overrideClass(this, config) | ||
} | ||
},{"./core":5}],18:[function(_dereq_,module,exports){ | ||
var copyKeys = _dereq_('./utils/copy').copyKeys | ||
},{"./core":5}],18:[function(require,module,exports){ | ||
var copyKeys = require('./utils/copy').copyKeys | ||
@@ -871,7 +871,7 @@ function aliasMethods(config){ | ||
var extendClass = _dereq_('./extendClass') | ||
var overrideClass = _dereq_('./overrideClass') | ||
var unregisterClass = _dereq_('./unregisterClass') | ||
var extendClass = require('./extendClass') | ||
var overrideClass = require('./overrideClass') | ||
var unregisterClass = require('./unregisterClass') | ||
var ClassProcessor = _dereq_('./processors/ClassProcessor') | ||
var ClassProcessor = require('./processors/ClassProcessor') | ||
@@ -903,3 +903,3 @@ module.exports = function(Class){ | ||
} | ||
},{"./extendClass":10,"./overrideClass":17,"./processors/ClassProcessor":19,"./unregisterClass":21,"./utils/copy":22}],19:[function(_dereq_,module,exports){ | ||
},{"./extendClass":10,"./overrideClass":17,"./processors/ClassProcessor":19,"./unregisterClass":21,"./utils/copy":22}],19:[function(require,module,exports){ | ||
/* | ||
@@ -941,7 +941,7 @@ | ||
result.attach(_dereq_('./MixinProcessor')) | ||
result.attach(require('./MixinProcessor')) | ||
return result | ||
}() | ||
},{"./MixinProcessor":20}],20:[function(_dereq_,module,exports){ | ||
},{"./MixinProcessor":20}],20:[function(require,module,exports){ | ||
/* | ||
@@ -961,8 +961,8 @@ | ||
var core = _dereq_('../core') | ||
var core = require('../core') | ||
var FN = _dereq_('../utils/function') | ||
var FN = require('../utils/function') | ||
var bindArgs = FN.bindArgs | ||
var copyIf = _dereq_('../utils/copy').copyIf | ||
var getClass = _dereq_('../getClass') | ||
var copyIf = require('../utils/copy').copyIf | ||
var getClass = require('../getClass') | ||
@@ -1334,4 +1334,4 @@ var HAS_OWN = Object.prototype.hasOwnProperty | ||
}() | ||
},{"../core":5,"../getClass":11,"../utils/copy":22,"../utils/function":23}],21:[function(_dereq_,module,exports){ | ||
var REGISTRY = _dereq_('./Registry') | ||
},{"../core":5,"../getClass":11,"../utils/copy":22,"../utils/function":23}],21:[function(require,module,exports){ | ||
var REGISTRY = require('./Registry') | ||
@@ -1349,3 +1349,3 @@ module.exports = function unregisterClass(){ | ||
} | ||
},{"./Registry":2}],22:[function(_dereq_,module,exports){ | ||
},{"./Registry":2}],22:[function(require,module,exports){ | ||
/* | ||
@@ -1693,3 +1693,3 @@ | ||
}() | ||
},{}],23:[function(_dereq_,module,exports){ | ||
},{}],23:[function(require,module,exports){ | ||
module.exports = function(){ | ||
@@ -1751,3 +1751,3 @@ | ||
}() | ||
},{}],24:[function(_dereq_,module,exports){ | ||
},{}],24:[function(require,module,exports){ | ||
module.exports = function(){ | ||
@@ -1781,4 +1781,2 @@ | ||
}() | ||
},{}]},{},[14]) | ||
(14) | ||
}); | ||
},{}]},{},[14]) |
{ | ||
"name" : "classy", | ||
"version" : "1.1.2", | ||
"version" : "1.1.3", | ||
"devDependencies": { | ||
@@ -13,3 +13,4 @@ "browserify": "^3.44.2", | ||
"preinstall": "npm install -g browserify", | ||
"build" : "browserify src/index.js -s classy -o dist/classy.js", | ||
"build" : "browserify src/index.js -o dist/classy.js", | ||
"build-browser" : "browserify src/index.js -s classy -o dist/classy-browser.js", | ||
"watch" : "watchify src/index.js -s classy -o dist/ZippyClass.js", | ||
@@ -16,0 +17,0 @@ "dev" : "npm run build | npm run watch", |
1628100
61
7041
7
3