juan gabriel ramirez
1562e5f5ac
fixed typo
2015-11-05 10:27:44 -05:00
Adam Krebs
fc19ee38e3
fix localStorage link
2015-08-17 00:12:55 -04:00
Alexandru Bucur
bec0e4a1a9
updated TodoMVC link
2015-05-29 12:07:26 +03:00
Adam Krebs
4f58c5b5f1
move backbone.localstorage.html -> backbone.localStorage.html. Fixes #3545
2015-03-23 10:40:20 -04:00
Jeremy Ashkenas
787f3bc364
Revert "Fix a bunch of accessibility issues."
2015-02-23 10:44:46 -05:00
Adam Krebs
ab9c5716b6
Merge pull request #3338 from danielnixon/master
...
Fix a bunch of accessibility issues.
2015-02-20 18:01:39 -05:00
Adam Krebs
962a3ebc30
Fix unescaped script tag in backbone.localstorage. Closes #3379
2014-11-12 14:06:31 -05:00
Daniel Nixon
3d2a8a2dfe
Fix a bunch of accessibility issues.
2014-10-10 20:48:45 +11:00
Patrick Kettner
43bfaf0400
Update images to retina versions, remove images no longer used, minify everything else
2013-10-15 02:53:15 -04:00
Genadi Samokovarov
55388e169d
Use Collection#where for TodoList#remaining
...
Using `Collection#where` for both speed and symmetry.
2013-06-13 18:47:50 +03:00
Tim Griesser
429277bf90
Removing duplicate error and more version checks for localstorage
2013-03-19 11:05:54 -04:00
Jeremy Ashkenas
8bf56c6676
fixing bizzare version string test in Backbone.localstorage
2013-03-19 19:10:50 +08:00
Jeremy Ashkenas
0a8509d1eb
Merge pull request #2204 from jeromegn/master
...
Update Backbone.localStorage
2013-03-19 04:07:51 -07:00
Adam Krebs
88eb4aab44
update comparator and filter fns to showcase the latest and greatest
2013-03-11 19:06:55 -04:00
Adam Krebs
170e1f9094
remove initialize defaults logic; defaults handles this for us
2013-03-11 19:06:08 -04:00
Jerome Gravel-Niquet
974deb8991
updated backbone.localStorage with latest version
2013-02-16 11:12:08 -05:00
Jerome Gravel-Niquet
7f682a5685
Put localStorage up to date
2013-02-16 11:11:11 -05:00
Casey Foster
c530b49370
Fix error callback in localStorage sync
2013-02-14 06:58:29 -08:00
Dmytro Nemoga
2849d9e31e
Fixed edge-version incompatibility
2013-02-14 11:53:18 +02:00
Cole
07b8f0c321
Fixed minor bug in examples/todos/todos.js
...
AppView.addOne was being called with incorrect context from addAll.
The method still worked, since window.$("#todo-list") returns the correct element,
but it may be confusing for people learning backbone.js.
2013-01-14 15:39:57 -08:00
Casey Foster
6198ee8bda
Fix #2094 - Update TODO example with new success callback signature
2013-01-08 16:09:32 -08:00
Brad Dunbar
a24544bdc4
jquery-* -> jquery.js
2012-12-23 11:11:15 -05:00
Yuku Takahashi
bb0d351950
using 'listenTo' instead of 'on' in todos example app
2012-12-14 22:40:27 +09:00
Brad Dunbar
e7e689a280
Fix #1677 - Escape title attribute.
2012-09-25 12:22:38 -04:00
Attila Györffy
9fd48f1d00
Fix namespace reference in the todos example app docs.
2012-09-23 21:25:38 +02:00
Brad Dunbar
b785a593eb
Remove shadowed clear function from todo models.
2012-09-22 11:35:03 -04:00
Brad Dunbar
6d0a7fd45b
Merge pull request #1596 from fancyoung/patch-1.
2012-09-22 11:28:36 -04:00
Brad Dunbar
00a69ccab3
Fix #1615 - Update localstorage code.
2012-09-04 18:15:39 -04:00
fancyoung
74ec1e5086
Update examples/todos/todos.js
...
fix js bug: Uncaught TypeError: Cannot read property 'localStorage' of undefined
2012-08-29 16:04:54 +08:00
Ted Han
71d0fe3dcc
escape todo items.
2012-08-14 00:31:41 -05:00
Hossein Bukhamsin
639819c7ef
prefer on over bind
2012-07-14 12:29:54 +03:00
Luke Lee
1abfefd16b
Fix broken reference to missing underscore.js file in todos example.
2012-06-13 16:04:12 -05:00
Brad Dunbar
fd25368994
Correct minor mistake in todo example.
2012-04-23 13:25:15 -04:00
Michael Yong
f71bc0d53b
fix setting of id for todo model
2012-04-06 23:43:31 +08:00
Cole Krumbholz
2d9d77cf2f
Corrected link to address issue #1132 (Broken link in annotated source)
2012-03-25 15:02:45 -07:00
Jeremy Ashkenas
9899a81775
tweaking addy's todo changes.
2012-03-21 11:40:26 -04:00
addyosmani
3cf1bb4ed5
Updating with latest version from TodoMVC
...
As requested in #1044 , here's the latest version of the Backbone.js
Todo app as rewritten by our project.
We started out with the 0.5 base and re-wrote it to cover some subtle
best practices we thought were important. Ours, like the current one
also uses the latest Backbone and jQuery 1.7.1. As part of the changes,
we also introduced two differences in the UX:
* When in edit mode, if a todo item is emptied and then blurred, the
item is removed. This contrasts with the current behaviour of the app
in the official repo at the moment which maintains the empty item in
place (albeit looking a little broken
http://addyosmani.com/gyazo/bbd4cd.png )
* We removed the tooltip occasionally seen when a user was trying to
add a new item. Having discussed this with developers frequently using
the Todo app as an initial point of reference, it was a consensus that
the notification didn't really offer that much value nor did it really
show anything that Backbone-specific worth keeping it in for.
We usually enforce examples separate concerns (Models, Views etc.) into
their own directories pre-build, but I've reformatted it to match the
structure your current app takes so that it can be more easily diffed.
I hope it's worth considering our version for a merge. We're happy to
take on any feedback needed to update it to address concerns you might
have.
2012-02-27 21:41:27 +00:00
Jeremy Ashkenas
ab164c450d
Overhauling 'validate' -- Receives the computed new state of the attrs, not just the delta. Now runs on model create, raising an exception if you try to 'new' and invalid model ... also runs even if changed silently.
2012-01-23 18:16:20 -05:00
Jeremy Ashkenas
4719659298
Fixes #841 , adding upgrading jquery, classname --> class in the docs.
2012-01-12 15:26:46 -05:00
Jeremy Ashkenas
6b3ff7b035
Fixes #9 , Backbone comparators can now be either sort() or sortBy() iterators.
2012-01-06 14:53:43 -05:00
Jeremy Ashkenas
1626fa7447
Fixes #734
2011-12-06 16:21:20 -05:00
Jeremy Ashkenas
66800f5c8e
Upgrading our Underscore.js test dep to 1.2.2
2011-11-23 13:30:07 -05:00
Kyle Chaplin
0cd5b938d3
Fix Todos example by importing the currently shipped version of jQuery that is located in /test/vendor.
2011-10-30 14:18:42 -05:00
Jeremy Ashkenas
32ae113298
upgrading to the latest version of Underscore.
2011-10-29 11:24:36 -04:00
Jeremy Ashkenas
cfc98b0f18
Tiny tweaks to the todo app demo.
2011-08-18 21:10:21 -04:00
Jeremy Ashkenas
89bdddde9c
merging the jcoglan's patch
2011-07-29 10:31:10 -04:00
Jeremy Ashkenas
9d2811a639
Backbone.js 0.5.2
2011-07-26 13:31:51 -04:00
James Coglan
f77033d3c0
Remove coupling from model to view in example app by listening to model's 'destroy' event to remove the view.
2011-07-22 14:40:11 +01:00
Loren Sands-Ramshaw
245acb0821
removed unused var
2011-06-18 17:07:37 -04:00
Jeremy Ashkenas
cf3215139a
initial draft of a 0.5.0 branch
2011-05-26 10:54:28 -04:00