Skip to content

Commit

Permalink
max jquery upgraded to 1.6.1; attr selector upgraded for new Sizzle, …
Browse files Browse the repository at this point in the history
…to select JavaScript script elements
  • Loading branch information
premasagar committed Jun 9, 2011
1 parent 2ad19c2 commit a6a9e58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions sqwidget.js
Expand Up @@ -517,7 +517,7 @@ var Sqwidget;
settings: { // TODO: Some props (e.g. "lightbox") would be better as props on Sqwidget.prototype, so they can be modified as instance properties. Perhaps we need global settings and instance settings.
jQuery: {
minVersion: "1.4.2", // minimum version of jQuery to allow, if already in DOM
src: "http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js",
src: "http://ajax.googleapis.com/ajax/libs/jquery/1.6.1s/jquery.min.js",
// Set noConflict properties to true to avoid global "$" and/or "jQuery" variables in the global namespace. If "$" is false, then "jQuery" is assumed to be false.
noConflict: {
$: true,
Expand Down Expand Up @@ -1293,9 +1293,9 @@ var Sqwidget;
});

//
// grab javascripts from head and execute in order
// grab javascripts from head and execute in order - we want to find scripts that either have no `type` attribute, or that specify javascript
//
j.filter("script:not([type]), script[type=text/javascript]")
j.filter("script:not([type]), script[type='text/javascript'], script[type='application/javascript']")
.each(function (i, t) {
t = jQuery(t);
scripts.push(t.html());
Expand Down

0 comments on commit a6a9e58

Please sign in to comment.