Permalink
Browse files

Fixed issue with deleting callbacks

  • Loading branch information...
1 parent b7d1b20 commit 2e6ab476fa46e435cbe41f376add7f28bf72f233 @davglass committed Aug 18, 2009
Showing with 3 additions and 2 deletions.
  1. +1 −1 yql-min.js
  2. +2 −1 yql.js
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
3 yql.js
@@ -1,3 +1,4 @@
+/*jslint predef: YUI */
YUI.add('yql', function(Y) {
//Global storage for the callbacks
if (!YUI.yql) {
@@ -51,7 +52,7 @@ YUI.add('yql', function(Y) {
if (this._cb) {
this._cb(q);
}
- delete YUI.yql[st];
+ delete YUI.yql[this._stamp];
},
/**
* @private

0 comments on commit 2e6ab47

Please sign in to comment.