From 54d1a9e1809487971954c12294a049b20a77f4dd Mon Sep 17 00:00:00 2001 From: deltreey Date: Sun, 9 Aug 2015 18:59:11 -0400 Subject: [PATCH] Release: 1.0.4 --- documentation/F__Git_wildstring_wildstring.js.html | 7 +++++-- documentation/wildstring.html | 8 ++++---- package.json | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) 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": {