Merge lp:~bjornt/lazr-js/prefetch-yui-3.5 into lp:lazr-js
Proposed by
Björn Tillenius
Status: | Merged |
---|---|
Merged at revision: | 215 |
Proposed branch: | lp:~bjornt/lazr-js/prefetch-yui-3.5 |
Merge into: | lp:lazr-js |
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 |
---|---|---|---|
Sidnei da Silva (community) | Approve | ||
Björn Tillenius (community) | Abstain | ||
LAZR Developers | Pending | ||
Review via email: mp+102350@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.