This commit is contained in:
AJ ONeal 2018-05-09 18:19:19 -06:00
parent da308e71ef
commit 3e66d00607
2 changed files with 5 additions and 4 deletions

View File

@ -1,6 +1,9 @@
/*jslint onevar: true, undef: true, nomen: true, eqeqeq: true, plusplus: true, bitwise: true, regexp: true, newcap: true, immed: true */
"use strict";
var provide = provide || function () {},
global = (function () {return this; }());
(function () {
"use strict";
var classes = "Boolean Number String Function Array Date RegExp Object".split(" "),
i,
name,
@ -96,9 +99,7 @@
typeOf: typeOf,
isEmpty: isEmpty
};
if ('undefined' === typeof global) { global = window; }
global.typeOf = global.typeOf || typeOf;
global.isEmpty = global.isEmpty || isEmpty;
if ('undefined' === typeof provide) { provide = function () {}; }
provide('remedial');
}());

View File

@ -19,5 +19,5 @@
"main": "./lib/remedial",
"name": "remedial",
"homepage": "https://git.coolaj86.com/coolaj86/remedial.js",
"version": "1.0.3"
"version": "1.0.5"
}