diff --git a/transformers/engine.io/library.js b/transformers/engine.io/library.js
index 4533d10..51582e6 100644
--- a/transformers/engine.io/library.js
+++ b/transformers/engine.io/library.js
@@ -4119,17 +4119,7 @@ module.exports = function parseuri(str) {
 		'decode': wtf8decode
 	};
 
-	// Some AMD build optimizers, like r.js, check for specific condition patterns
-	// like the following:
-	if (
-		typeof define == 'function' &&
-		typeof define.amd == 'object' &&
-		define.amd
-	) {
-		define(function() {
-			return wtf8;
-		});
-	}	else if (freeExports && !freeExports.nodeType) {
+	if (freeExports && !freeExports.nodeType) {
 		if (freeModule) { // in Node.js or RingoJS v0.8.0+
 			freeModule.exports = wtf8;
 		} else { // in Narwhal or RingoJS v0.7.0-

diff --git a/transformers/engine.io/library.js b/transformers/engine.io/library.js
index 17f8826..8b1af93 100644
--- a/transformers/engine.io/library.js
+++ b/transformers/engine.io/library.js
@@ -3440,17 +3440,7 @@ module.exports = Object.keys || function keys (obj){
 		'decode': utf8decode
 	};
 
-	// Some AMD build optimizers, like r.js, check for specific condition patterns
-	// like the following:
-	if (
-		typeof define == 'function' &&
-		typeof define.amd == 'object' &&
-		define.amd
-	) {
-		define(function() {
-			return utf8;
-		});
-	}	else if (freeExports && !freeExports.nodeType) {
+	if (freeExports && !freeExports.nodeType) {
 		if (freeModule) { // in Node.js or RingoJS v0.8.0+
 			freeModule.exports = utf8;
 		} else { // in Narwhal or RingoJS v0.7.0-

Update patch for Engine.IO client to make it apply cleanly
[patch] Update patch for Engine.IO client to make it apply cleanly
