Re: com web/php: Dun't recoorse-a intu iffremes. Bork Bork Bork!: js/common.js

From: Date: Mon, 08 Sep 2014 07:48:38 +0000
Subject: Re: com web/php: Dun't recoorse-a intu iffremes. Bork Bork Bork!: js/common.js
References: 1  Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-19904@lists.php.net to get a copy of this message
On 8 September 2014 06:36, Adam Harvey <aharvey@php.net> wrote: > Commit: a8b4d0768d0c4eafb4a4b79c97ca7bed15727d06 > Author: Adam Harvey <aharvey@php.net> Sun, 7 Sep 2014 22:36:59 > -0700 > Parents: a1e82fb9b90de941199326928782599c8f321671 > Branches: master > > Link: > > http://git.php.net/?p=web/php.git;a=commitdiff;h=a8b4d0768d0c4eafb4a4b79c97ca7bed15727d06 > > Log: > Dun't recoorse-a intu iffremes. Bork Bork Bork! > Thoonk yooo Adam! Silly Chrome-a ixtensions. Bork Bork Bork!.. > > Sume-a Chrume-a ixtenseeuns ooperete-a by injecteeng iffremes intu zee > coorrent > ducooment. Seence-a zeese-a cume-a frum deefffferent ooreegins, > ettempteeng tu > iterete-a oofer zeem in jQooery cooses a seme-a ooreegin ixcepshun tu be-a > throon. Bork Bork Bork! > > Ve-a'll joost ixcloode-a iffremes, seence-a ve-a dun't use-a zeem oon zee > seete-a. Bork Bork Bork! > > Changed paths: > M js/common.js > > > Diff: > diff --git a/js/common.js b/js/common.js > index 5e038d4..84f739b 100755 > --- a/js/common.js > +++ b/js/common.js > @@ -107,7 +107,7 @@ Mousetrap.bind("b o r k", function() { > } > return text; > }; > - $('*').contents().filter(function() { > + $('*:not(iframe)').contents().filter(function() { > return this.nodeType === 3 && /[^\t\n\r > ]/.test(this.textContent); > }).each(function(_, el) { > el.textContent = bork(el.textContent); > > > -- > PHP Webmaster List Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.webmaster (#19904) next »