Merge lp:~bjornt/lazr-js/prefetch-yui-3.5 into lp:~bjornt/lazr-js/trunk
Proposed by
Björn Tillenius
Status: | Superseded |
---|---|
Proposed branch: | lp:~bjornt/lazr-js/prefetch-yui-3.5 |
Merge into: | lp:~bjornt/lazr-js/trunk |
Diff against target: |
23 lines (+4/-2) 1 file modified
src-js/lazrjs/loader/prefetch.js (+4/-2) |
To merge this branch: | bzr merge lp:~bjornt/lazr-js/prefetch-yui-3.5 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Björn Tillenius | Pending | ||
Review via email: mp+102346@code.launchpad.net |
Description of the change
Don't reference the script function directly, so that it can access the
YUI object as 'this'.
In YUI 3.5 the script function is changed, so that it calls
this._load(). If we assign the script function to a variable, this won't
get bound to the YUI object.
This change is backward-
versions of YUI as well.
To post a comment you must log in.
Unmerged revisions
- 215. By Björn Tillenius
-
Don't reference the script function directly, so that it can access the YUI object as 'this'.