This change set should fix issue #257.
merge template html
handle blur event
fix pluralizer bug
attach dblclick handler on .view not label
update the view when the item status changes.
pluralizer: count - completedCount === 1 ? '' : 's',
4Uncaught TypeError: undefined is not a function app.js:153
Uncaught TypeError: undefined is not a function
cleaner pluralizer condition
bugfix: avoid using undefined filter
Merge branch 'master' into agilityjs
Just reviewed. You're close :)
The only issue remaining that I see is when you edit an existing item and blur out, there are errors logged to the console. http://cl.ly/image/3B0t0K0P1F0H. If you can file a fix for this, I'll merge.
Edit: and the pluralizer issue mentioned below.
The pluralizer is still not correct, please follow my comment: pluralizer: count - completedCount === 1 ? '' : 's',.
fix the pluralizer bug
Sorry about the defects.
I addressed the pluralizer issue, but cannot reproduce the console logs.
I tested with google chrome 21.0.1180.89 and Firefox 15.0 (with FireBug) with
opening index.html via file protocol and http served by node.js web server.
Could you describe how I can reproduce the console issue?
Thank you very much for your help.
Closes #275: Update Agility.js app. Fixes #257
@tshm Landed. Thanks :)
@addyosmani I couldn't reproduce either. Both Chrome 21 and Canary. Might be a temp issue or an extension or something.