Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Upgrade to jQuery 1.9

Test Plan:
Browsed around lots of things with the console open, no migration warnings appeared except $.browser which I'm too lazy to fix for now.
  • Loading branch information...
commit 56c4b61442c18575108132a3c101cfdf13cd2396 1 parent 178bbbd
@spicyj spicyj authored
Showing with 5,320 additions and 4,989 deletions.
  1. +5,317 −4,986 jquery.js
  2. +1 −1  utils/factoring-expressions.js
  3. +1 −1  utils/graphie.js
  4. +1 −1  utils/tmpl.js
View
10,303 jquery.js
5,317 additions, 4,986 deletions not shown
View
2  utils/factoring-expressions.js
@@ -521,7 +521,7 @@
});
$.fn["factoring-expressions"] = function(problem) {
- return this.find(".factoring-expressions").andSelf().filter(".factoring-expressions").each(function() {
+ return this.find(".factoring-expressions").addBack().filter(".factoring-expressions").each(function() {
$(".orig-hint").hide();
$(".new-hint").show();
});
View
2  utils/graphie.js
@@ -790,7 +790,7 @@
};
$.fn.graphie = function(problem) {
- return this.find(".graphie, script[type='text/graphie']").andSelf().filter(".graphie, script[type='text/graphie']").each(function() {
+ return this.find(".graphie, script[type='text/graphie']").addBack().filter(".graphie, script[type='text/graphie']").each(function() {
// Grab code for later execution
var code = $(this).text(), graphie;
View
2  utils/tmpl.js
@@ -460,7 +460,7 @@ $.fn.tmpl = function() {
}
// Do the same for graphie code
- $(clone).find(".graphie").andSelf().filter(".graphie").each(function() {
+ $(clone).find(".graphie").addBack().filter(".graphie").each(function() {
var code = $(this).text();
$(this).text(declarations + code);
});
Please sign in to comment.
Something went wrong with that request. Please try again.