Skip to content

Commit

Permalink
Revert unintended changes
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
TerrorBite committed Jan 6, 2014
1 parent 13b6a4d commit 17f3e0a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/content_script.js
Expand Up @@ -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) {
Expand Down

0 comments on commit 17f3e0a

Please sign in to comment.