diff --git a/documentation/F__Git_wildstring_wildstring.js.html b/documentation/F__Git_wildstring_wildstring.js.html index 7b4ffad..7a0b6c4 100644 --- a/documentation/F__Git_wildstring_wildstring.js.html +++ b/documentation/F__Git_wildstring_wildstring.js.html @@ -54,15 +54,18 @@
'use strict';
-(function (root, definition) {
+var wildstring = (function (name, definition) {
if (typeof(module) !== 'undefined') {
module.exports = definition();
}
else if (typeof(define) === 'function' && typeof(define.amd) === 'object') {
define(definition);
}
+ else if (typeof(this) !== 'undefined') {
+ this[name] = definition();
+ }
else {
- this['wildstring'] = definition();
+ return definition();
}
}('wildstring', function () {
diff --git a/documentation/wildstring.html b/documentation/wildstring.html
index 8bf67b6..ae81a11 100644
--- a/documentation/wildstring.html
+++ b/documentation/wildstring.html
@@ -176,7 +176,7 @@
@@ -339,7 +339,7 @@
@@ -498,7 +498,7 @@
@@ -662,7 +662,7 @@
diff --git a/package.json b/package.json
index 48ce5dc..734dc8e 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "wildstring",
- "version": "1.0.3",
+ "version": "1.0.4",
"description": "Simple String Wildcard Handling",
"main": "wildstring.js",
"scripts": {