Skip to content

Commit

Permalink
don't overwrite other jQuery things
Browse files Browse the repository at this point in the history
  • Loading branch information
ptarjan committed Apr 22, 2009
1 parent 3965ef6 commit d776665
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ns.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@ paulisageek.ns.addLibs = function () {
return;
}

if (typeof($) != "undefined") {
paulisageek.ns.nodeSelector();
return;
}

var node = document.createElement("script");
node.src = "http://jqueryjs.googlecode.com/files/jquery-1.3.2.min.js";
document.body.appendChild(node);
Expand Down

0 comments on commit d776665

Please sign in to comment.