Merge lp:~twom/loggerhead/animation-binding into lp:loggerhead
Proposed by
Tom Wardill
Status: | Merged |
---|---|
Approved by: | Tom Wardill |
Approved revision: | 507 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | lp:~twom/loggerhead/animation-binding |
Merge into: | lp:loggerhead |
Diff against target: |
52 lines (+5/-5) 2 files modified
loggerhead/static/javascript/custom.js (+4/-4) loggerhead/static/javascript/diff.js (+1/-1) |
To merge this branch: | bzr merge lp:~twom/loggerhead/animation-binding |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+390489@code.launchpad.net |
Commit message
Fix animation binding and item iteration
Description of the change
The move to jQuery needs some adjustment in how animation callbacks work.
The callback is handed the DOM object, not the javascript object, so `this` refers to the wrong object. Use `.bind(this)` to ensure we have the correct object.
Also fix the arguments for iteration.
To post a comment you must log in.