updated to 'use strict'; properly
This commit is contained in:
parent
85e8e0d5ac
commit
5f6087d65d
|
@ -1,4 +1,6 @@
|
||||||
/*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";
|
||||||
|
|
||||||
|
@ -97,9 +99,7 @@
|
||||||
typeOf: typeOf,
|
typeOf: typeOf,
|
||||||
isEmpty: isEmpty
|
isEmpty: isEmpty
|
||||||
};
|
};
|
||||||
if ('undefined' === typeof global) { global = window; }
|
|
||||||
global.typeOf = global.typeOf || typeOf;
|
global.typeOf = global.typeOf || typeOf;
|
||||||
global.isEmpty = global.isEmpty || isEmpty;
|
global.isEmpty = global.isEmpty || isEmpty;
|
||||||
if ('undefined' === typeof provide) { provide = function () {}; }
|
|
||||||
provide('remedial');
|
provide('remedial');
|
||||||
}());
|
}());
|
||||||
|
|
|
@ -8,5 +8,5 @@
|
||||||
"dependencies" : [],
|
"dependencies" : [],
|
||||||
"lib" : "lib",
|
"lib" : "lib",
|
||||||
"main" : "./lib/remedial",
|
"main" : "./lib/remedial",
|
||||||
"version" : "1.0.4"
|
"version" : "1.0.5"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue