v1.0.7
This commit is contained in:
parent
e91991c4db
commit
aaf82310b0
|
@ -1,13 +1,13 @@
|
||||||
/*jslint onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true */
|
/*jslint onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true */
|
||||||
var provide = provide || function () {},
|
|
||||||
global = (function () {return this; }());
|
|
||||||
(function () {
|
(function () {
|
||||||
"use strict";
|
"use strict";
|
||||||
|
|
||||||
var classes = "Boolean Number String Function Array Date RegExp Object".split(" "),
|
var global = Function('return this')()
|
||||||
i,
|
, classes = "Boolean Number String Function Array Date RegExp Object".split(" ")
|
||||||
name,
|
, i
|
||||||
class2type = {};
|
, name
|
||||||
|
, class2type = {}
|
||||||
|
;
|
||||||
|
|
||||||
for (i in classes) {
|
for (i in classes) {
|
||||||
if (classes.hasOwnProperty(i)) {
|
if (classes.hasOwnProperty(i)) {
|
||||||
|
@ -95,13 +95,11 @@ var provide = provide || function () {},
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
// Boiler Plate
|
// CommonJS / npm / Ender.JS
|
||||||
if ('undefined' === typeof module) { module = {}; }
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
typeOf: typeOf,
|
typeOf: typeOf,
|
||||||
isEmpty: isEmpty
|
isEmpty: isEmpty
|
||||||
};
|
};
|
||||||
global.typeOf = global.typeOf || typeOf;
|
global.typeOf = global.typeOf || typeOf;
|
||||||
global.isEmpty = global.isEmpty || isEmpty;
|
global.isEmpty = global.isEmpty || isEmpty;
|
||||||
provide('remedial');
|
|
||||||
}());
|
}());
|
|
@ -16,7 +16,7 @@
|
||||||
"supplant",
|
"supplant",
|
||||||
"trim"
|
"trim"
|
||||||
],
|
],
|
||||||
"main": "./remedial",
|
"main": "./index",
|
||||||
"name": "remedial",
|
"name": "remedial",
|
||||||
"version": "1.0.6"
|
"version": "1.0.7"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue