diff --git a/F__Git_wildstring_wildstring.js.html b/F__Git_wildstring_wildstring.js.html index 8de8c48..31c3500 100644 --- a/F__Git_wildstring_wildstring.js.html +++ b/F__Git_wildstring_wildstring.js.html @@ -54,14 +54,24 @@
'use strict';
 
-var wildstring = (function(module) {
+(function (root, definition) {
+	if (typeof(module) !== 'undefined') {
+		module.exports = definition();
+	}
+	else if (typeof(define) === 'function' && typeof(define.amd) === 'object') {
+		define(definition);
+	}
+	else {
+		this['wildstring'] = definition();
+	}
+}('wildstring', function () {
 
 /**
 * @namespace wildstring
 * @property {string} wildcard the wildcard to use in your strings, defaults to '*'
 * @property {boolean} caseSensitive whether matches should care about case, defaults to true
 */
-wildstring = {
+var wildstring = {
 	wildcard: '*',
 	caseSensitive: true
 };
@@ -230,7 +240,7 @@ wildstring.replace = function (pattern, strings) {
 
 module.exports = wildstring;
 return wildstring;
-}(module || {}));
+}));
 
@@ -260,7 +270,7 @@ return wildstring; Documentation generated by JSDoc 3.3.2 - on Wed Aug 5th 2015 using the DocStrap template. diff --git a/index.html b/index.html index 1b7676a..801f8bd 100644 --- a/index.html +++ b/index.html @@ -138,7 +138,7 @@ grunt

grunt will run all the tests and jshint, so just make sure Documentation generated by JSDoc 3.3.2 - on Wed Aug 5th 2015 using the DocStrap template. diff --git a/namespaces.list.html b/namespaces.list.html index 7609ab3..8a785ca 100644 --- a/namespaces.list.html +++ b/namespaces.list.html @@ -165,7 +165,7 @@ Documentation generated by JSDoc 3.3.2 - on Wed Aug 5th 2015 using the DocStrap template. diff --git a/wildstring.html b/wildstring.html index d385787..8bf67b6 100644 --- a/wildstring.html +++ b/wildstring.html @@ -176,7 +176,7 @@

@@ -339,7 +339,7 @@ @@ -498,7 +498,7 @@ @@ -662,7 +662,7 @@ @@ -761,7 +761,7 @@ Documentation generated by JSDoc 3.3.2 - on Wed Aug 5th 2015 using the DocStrap template.