bugfix: create angular module correctly
This commit is contained in:
1 parent
118e9b9c4c
commit
b5539d5c59
1 file changed
+1
-1
+1
-1
@@ -173,5 +173,5 @@ var wildstring = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
if (typeof(module) !== 'undefined') { module.exports = wildstring; }
|
if (typeof(module) !== 'undefined') { module.exports = wildstring; }
|
||||||
if (typeof(angular) !== 'undefined') { angular.module('wildstring').factory = wildstring; }
|
if (typeof(angular) !== 'undefined') { angular.module('wildstring', []).factory = wildstring; }
|
||||||
if (typeof(define) !== 'undefined') { define([], wildstring); }
|
if (typeof(define) !== 'undefined') { define([], wildstring); }
|
||||||
Reference in new issue
Block a user