| Page 1 of 1 | [ 2 posts ] |
|
I have to do this to get "this" set to "this", without bind() it is the global object:
Code: Y.on("unload", Y.bind(this._unLoad, this), this); ??? |
|
That doesn't seem right, since 'unload' is a DOM event, and missing third arg to Y.on() for DOM events defaults to Y.config.win.
If the repro is as simple as that, please file a bug. |
| Page 1 of 1 | [ 2 posts ] |
| You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum |
© 2006-2013 Yahoo! Inc. All rights reserved.
All code on this site is licensed under the BSD License unless stated otherwise.
About This Site · Security Contact Info
Powered by phpBB® Forum Software © phpBB Group