Comparing version 5.0.8 to 5.0.9
33
kp.js
@@ -5,4 +5,4 @@ /** | ||
* @author Kris Papercut | ||
* @version 5.0.7 | ||
* @date 28.03.18 | ||
* @version 5.0.8 | ||
* @date 03.04.18 | ||
* | ||
@@ -12,5 +12,7 @@ */ | ||
'use strict'; | ||
(function(global, factory) { | ||
if(typeof exports === 'object' && typeof module !== 'undefined') { | ||
// CommonJS e.g. Browserify | ||
var obj = { | ||
@@ -23,2 +25,3 @@ //"jQuery": require("jquery") | ||
else if(typeof define === 'function' && define.amd) { | ||
// AMD script loader, e.g. RequireJS | ||
define(function() { | ||
@@ -29,2 +32,3 @@ return factory(global) | ||
else { | ||
// Browser using plain <script> tag | ||
global.kp = factory(global); | ||
@@ -880,9 +884,32 @@ } | ||
kp.make("Url", { | ||
kp.make("path", { | ||
"static": { | ||
"basename": function(path, ext) { | ||
}, | ||
"extname": function(path) { | ||
} | ||
} | ||
}); | ||
kp.make("url", { | ||
"public": { | ||
"main": function(url) { | ||
}, | ||
"toString": function() { | ||
return "-_-"; | ||
}, | ||
"hash": { | ||
}, | ||
"toNumber": function() { | ||
return 1; | ||
} | ||
}, | ||
"static": { | ||
"parse": function(url) { | ||
}, | ||
"parseParams": function(url) { | ||
@@ -889,0 +916,0 @@ var tmp = url |
/** | ||
* @info kp module Modal | ||
* | ||
* @version 1.0.1 | ||
* @version 1.0.2 | ||
* @author Kris Papercut | ||
@@ -10,2 +10,17 @@ * @date 14.03.18 | ||
(function(global, factory) { | ||
if(typeof exports === 'object' && typeof module !== 'undefined') { | ||
var kp = require("kp-stock"); | ||
module.exports = factory(kp); | ||
} | ||
else if(typeof define === 'function' && define.amd) { | ||
//define(factory) | ||
} | ||
else if(global.kp) { | ||
factory(global.kp); | ||
} | ||
} (this, function(kp) { | ||
kp.make("Timer", { | ||
@@ -123,2 +138,3 @@ "extend": "Emiter", | ||
} | ||
}); | ||
}); | ||
}); |
{ | ||
"name": "kp-stock", | ||
"version": "5.0.8", | ||
"version": "5.0.9", | ||
"author": "Kris Papercut <kearis666@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "ISC", |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
429333
13
12539
1