this is not defined in angular

This commit is contained in:
deltreey
2015-08-09 18:58:53 -04:00
parent 278989231d
commit 31bc54a4e6

View File

@@ -1,14 +1,17 @@
'use strict'; 'use strict';
(function (root, definition) { var wildstring = (function (name, definition) {
if (typeof(module) !== 'undefined') { if (typeof(module) !== 'undefined') {
module.exports = definition(); module.exports = definition();
} }
else if (typeof(define) === 'function' && typeof(define.amd) === 'object') { else if (typeof(define) === 'function' && typeof(define.amd) === 'object') {
define(definition); define(definition);
} }
else if (typeof(this) !== 'undefined') {
this[name] = definition();
}
else { else {
this['wildstring'] = definition(); return definition();
} }
}('wildstring', function () { }('wildstring', function () {