updated to 'use strict'; properly

This commit is contained in:
AJ ONeal 2011-02-27 12:35:11 -07:00
parent 85e8e0d5ac
commit 5f6087d65d
2 changed files with 3 additions and 3 deletions

View File

@ -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');
}()); }());

View File

@ -8,5 +8,5 @@
"dependencies" : [], "dependencies" : [],
"lib" : "lib", "lib" : "lib",
"main" : "./lib/remedial", "main" : "./lib/remedial",
"version" : "1.0.4" "version" : "1.0.5"
} }