Comparing version 0.0.4 to 0.0.5
@@ -1,3 +0,3 @@ | ||
/*! extended - v0.0.4 - 2013-04-16 | ||
/*! extended - v0.0.5 - 2013-06-05 | ||
* Copyright (c) 2013 Doug Martin; Licensed MIT */ | ||
(function(){"use strict";function e(e){function n(){var n=e.define();return n.expose({register:function(e,t){t||(t=e,e=null);var r=typeof t;if(e)n[e]=t;else if(t&&"function"===r)n.extend(t);else{if("object"!==r)throw new TypeError("extended.register must be called with an extender function");n.expose(t)}return n},define:function(){return e.define.apply(e,arguments)}}),n}function t(){return n()}return function(){function e(e,n){var t,r;for(t in n)n.hasOwnProperty(t)&&(r=n[t],t in e&&e[t]===r||(e[t]=r));return e}return function(n){n||(n={});for(var t=1,r=arguments.length;r>t;t++)e(n,arguments[t]);return n}}(),t.define=function(){return e.define.apply(e,arguments)},t}"undefined"!=typeof exports?"undefined"!=typeof module&&module.exports&&(module.exports=e(require("extender"))):"function"==typeof define?define(["extender"],function(n){return e(n)}):this.extended=e(this.extender)}).call(this); | ||
(function(){"use strict";function e(e){function n(){var n=e.define();return n.expose({register:function(e,t){t||(t=e,e=null);var r=typeof t;if(e)n[e]=t;else if(t&&"function"===r)n.extend(t);else{if("object"!==r)throw new TypeError("extended.register must be called with an extender function");n.expose(t)}return n},define:function(){return e.define.apply(e,arguments)}}),n}function t(){return n()}return function(){function e(e,n){var t,r;for(t in n)n.hasOwnProperty(t)&&(r=n[t],t in e&&e[t]===r||(e[t]=r));return e}return function(n){n||(n={});for(var t=1,r=arguments.length;r>t;t++)e(n,arguments[t]);return n}}(),t.define=function(){return e.define.apply(e,arguments)},t}"undefined"!=typeof exports?"undefined"!=typeof module&&module.exports&&(module.exports=e(require("extender"))):"function"==typeof define&&define.amd?define(["extender"],function(n){return e(n)}):this.extended=e(this.extender)}).call(this); |
@@ -83,3 +83,3 @@ (function () { | ||
} | ||
} else if ("function" === typeof define) { | ||
} else if ("function" === typeof define && define.amd) { | ||
define(["extender"], function (extender) { | ||
@@ -86,0 +86,0 @@ return defineExtended(extender); |
{ | ||
"name": "extended", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Library for combining multiple libraries into one", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
202111
30