Skip to content

Commit

Permalink
remove a jquery double check
Browse files Browse the repository at this point in the history
  • Loading branch information
beebole committed May 29, 2009
1 parent 5be2a8d commit e83e1ab
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions js/pure.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
Copyright (c) 2008 Michael Cvilic - BeeBole.com
revision: 1.30
revision: 1.31
* * * * * * * * * * * * * * * * * * * * * * * * * */
var $p, pure;
Expand Down Expand Up @@ -524,7 +524,7 @@ $p = pure = {
parent.removeChild(div);
return newThis.length > 1 ? newThis:newThis[0];}}};

if(typeof jQuery !== 'undefined' && $ == jQuery){
if(typeof jQuery !== 'undefined'){
//patch jQuery to read namespaced attributes see Ticket #3023
if(jQuery.parse) {jQuery.parse[0] = /^(\[) *@?([\w:\-]+) *([!*$\^~=]*) *('?"?)(.*?)\4 *\]/;}
$p.utils.domCleaningRules.push({ what: /\s?jQuery[^\s]+\=\"null\"/gi, by: ''});
Expand Down

0 comments on commit e83e1ab

Please sign in to comment.