This commit is contained in:
AJ ONeal 2018-05-09 18:24:21 -06:00
parent e91991c4db
commit aaf82310b0
2 changed files with 9 additions and 11 deletions

View File

@ -1,13 +1,13 @@
/*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 () {
"use strict";
var classes = "Boolean Number String Function Array Date RegExp Object".split(" "),
i,
name,
class2type = {};
var global = Function('return this')()
, classes = "Boolean Number String Function Array Date RegExp Object".split(" ")
, i
, name
, class2type = {}
;
for (i in classes) {
if (classes.hasOwnProperty(i)) {
@ -95,13 +95,11 @@ var provide = provide || function () {},
};
}
// Boiler Plate
if ('undefined' === typeof module) { module = {}; }
// CommonJS / npm / Ender.JS
module.exports = {
typeOf: typeOf,
isEmpty: isEmpty
};
global.typeOf = global.typeOf || typeOf;
global.isEmpty = global.isEmpty || isEmpty;
provide('remedial');
}());

View File

@ -16,7 +16,7 @@
"supplant",
"trim"
],
"main": "./remedial",
"main": "./index",
"name": "remedial",
"version": "1.0.6"
"version": "1.0.7"
}