v1.0.5
This commit is contained in:
parent
da308e71ef
commit
3e66d00607
|
@ -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');
|
||||
}());
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue