diff --git a/F__Git_wildstring_wildstring.js.html b/F__Git_wildstring_wildstring.js.html index 7b4ffad..7a0b6c4 100644 --- a/F__Git_wildstring_wildstring.js.html +++ b/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/wildstring.html b/wildstring.html
index 8bf67b6..ae81a11 100644
--- a/wildstring.html
+++ b/wildstring.html
@@ -176,7 +176,7 @@
 		
 	
@@ -339,7 +339,7 @@
 		
 	
@@ -498,7 +498,7 @@
 		
 	
@@ -662,7 +662,7 @@