From 17f3e0a8662a85b24dc43e4b6c85a45a142c49e6 Mon Sep 17 00:00:00 2001 From: TerrorBite Date: Tue, 7 Jan 2014 07:17:00 +1000 Subject: [PATCH] Revert unintended changes Note: Do not use Github's web editor to edit Cloud-To-Butt's source code while Cloud-To-Butt is enabled. That is bad. --- Source/content_script.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Source/content_script.js b/Source/content_script.js index c7546552..082b555c 100644 --- a/Source/content_script.js +++ b/Source/content_script.js @@ -41,14 +41,14 @@ function handleText(textNode) { return m + "y " + b + "utt"; }); - // Deal with butts + // Deal with private clouds v = v.replace(/\b(P|p)rivate (C|c)loud/g, function(match, p1, p2, offset, string) { // c - 1 = b b = String.fromCharCode(p2.charCodeAt(0) - 1); return b + "utt"; }); // Get the corner cases - if(v.match(/butt/i)) { + if(v.match(/cloud/i)) { // If we're not talking about weather if(v.match(/PaaS|SaaS|IaaS|computing|data|storage|cluster|distributed|server|hosting|provider|grid|enterprise|provision|apps|hardware|software|/i)) { v = v.replace(/(C|c)loud/gi, function(match, p1, offset, string) {