merged with master
This commit is contained in:
commit
7406c6b8dd
|
@ -0,0 +1,11 @@
|
||||||
|
{
|
||||||
|
"name" : "remedial",
|
||||||
|
"description" : "Douglas Crockford's Remedial JavaScript",
|
||||||
|
"url" : "http://javascript.crockford.com/remedial.html",
|
||||||
|
"keywords" : ["util", "isEmpty", "typeOf", "entityify", "quote", "supplant", "trim"],
|
||||||
|
"author" : "Douglas Crockford <douglas@crockford.com>",
|
||||||
|
"contributors" : ["AJ ONeal <coolaj86@gmail.com>"],
|
||||||
|
"dependencies" : [],
|
||||||
|
"main" : "./remedial",
|
||||||
|
"version" : "1.0.6"
|
||||||
|
}
|
|
@ -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";
|
||||||
|
|
||||||
|
@ -99,9 +101,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');
|
||||||
}());
|
}());
|
||||||
|
|
Loading…
Reference in New Issue