Jeremy Ashkenas
04a778c747
Merge pull request #1239 from philfreo/master
...
Collection.clone()
2012-04-23 12:48:38 -07:00
Brad Dunbar
fd25368994
Correct minor mistake in todo example.
2012-04-23 13:25:15 -04:00
Jeremy Ashkenas
c986ae233a
adding KANO/GAMES as an example app
2012-04-23 12:19:00 -04:00
Phil Freo
3d6772a2f8
Adding Collection's clone() to docs
2012-04-19 11:20:42 -07:00
Phil Freo
7eca8c78b6
Giving Collections a clone() method.
2012-04-19 11:17:41 -07:00
Jeremy Ashkenas
b536b137b8
Merge branch 'master' of github.com:documentcloud/backbone
2012-04-18 14:56:36 -04:00
Jeremy Ashkenas
e2042c309f
Fixes #1225 -- old documentation for urlRoot vs collection.url()
2012-04-18 14:56:02 -04:00
Brad Dunbar
35bb2c0fdc
Use raises correctly.
2012-04-18 11:03:40 -04:00
Jeremy Ashkenas
9c0814133b
Merge pull request #1234 from braddunbar/tagname
...
Fix #1228 - tagName can be provided as a function.
2012-04-17 08:48:00 -07:00
Jeremy Ashkenas
dddd001d3e
pitchfork ain't https
2012-04-17 10:20:36 -04:00
Brad Dunbar
5fc8005c83
Fix #1228 - tagName can be provided as a function.
2012-04-17 10:17:37 -04:00
Jeremy Ashkenas
b1441b23ab
adding pitchfork as an example app.
2012-04-17 10:16:11 -04:00
Jeremy Ashkenas
e1e42571a7
reverting master backbone-min.js to 0.9.2
2012-04-16 14:48:01 -04:00
Jeremy Ashkenas
bdfcd5ef0e
Adding Rdio as an example app.
2012-04-16 13:24:19 -04:00
Jeremy Ashkenas
a88efef3cd
Merge pull request #1213 from braddunbar/backbone-ajax
...
Fix #474 - Backbone.ajax
2012-04-11 07:37:24 -07:00
Brad Dunbar
87c9b17aa7
Fix #474 - Backbone.ajax
2012-04-11 08:33:20 -04:00
Jeremy Ashkenas
67c3ea86c1
simple refactor for #1206
2012-04-10 10:27:22 -04:00
Jeremy Ashkenas
656f59e018
Merge pull request #1206 from aterris/frag
...
Normalize fragment when hashChange: false in navigate
2012-04-10 07:24:09 -07:00
Andrew Terris
35f11ba5c5
remove unneeded line and return on window.location.assign
2012-04-09 23:20:05 -05:00
Andrew Terris
b9021b64be
normalize fragment when hashChange: false in navigate
2012-04-09 21:14:02 -05:00
Jeremy Ashkenas
2cab3a346c
Fixes #1134 -- better document that model attributes are 'plain' data, not often arbitrary JS objects.
2012-04-09 17:07:06 -04:00
Jeremy Ashkenas
db4f66ba52
Fixes #1151
2012-04-09 16:16:34 -04:00
Jeremy Ashkenas
8bb15b9ee5
tweaking wording
2012-04-09 16:13:24 -04:00
Jeremy Ashkenas
2e652e4d1b
Merge pull request #1187 from Benjen/master
...
Issue #1145 : Changed documentation to elaborate when to use a function to define model defaults.
2012-04-09 13:09:19 -07:00
brad dunbar
0b270ccee7
Merge pull request #1204 from paulmillr/patch-2
...
Update salon.io example.
2012-04-09 11:49:31 -07:00
Paul Miller
8455b5007a
Update salon.io example.
...
You can see they're using brunch in index.html source code (~L35).
Oh, and their dev (Jan) is on our core team.
2012-04-09 21:47:19 +03:00
Jeremy Ashkenas
951f1db12d
Merge pull request #1203 from paulmillr/patch-1
...
Slightly update blossom example.
2012-04-09 11:00:07 -07:00
Paul Miller
c8030ce3c7
Slightly update blossom example.
2012-04-09 20:59:02 +03:00
Jeremy Ashkenas
e2c5ce850e
Merge pull request #1200 from ymichael/master
...
Issue 1173: (todo example) model ids are not properly indexed by collections on creation
2012-04-06 08:58:19 -07:00
Michael Yong
f71bc0d53b
fix setting of id for todo model
2012-04-06 23:43:31 +08:00
Jeremy Ashkenas
1bd9b7cb62
adding art.sy as an example app
2012-04-06 10:55:06 -04:00
Jeremy Ashkenas
fb49233436
Merge pull request #1185 from aterris/fragment
...
Use window.location.pathname as the fragment when _wantsHashChange == false
2012-04-06 07:39:24 -07:00
Jeremy Ashkenas
f60e4854e0
Merge pull request #1199 from mostly-magic/master
...
Fix continuous reload loop when { hashChange: false } in IE <= 7
2012-04-06 07:13:39 -07:00
Mitchell Cowie
74dec4d956
Bypass iframe for old IE when hash change disabled
2012-04-05 23:03:14 -06:00
Benjen
1b8ed46f2b
Added additional information to warning text in model-defaults section, to explain when to use a function to define model default values. See Issue #1145
2012-04-06 00:02:54 +08:00
Andrew Terris
7596947b06
use pathname as fragment when hashChange: false
2012-04-04 21:44:18 -05:00
Jeremy Ashkenas
091b3e5a80
Merge pull request #1181 from braddunbar/isvalid
...
Fix #1179 - isValid returns true in the absence of validate.
2012-04-04 07:08:33 -07:00
Brad Dunbar
af30bcf3ca
off is chainable when there are no events.
2012-04-04 05:52:54 -07:00
Brad Dunbar
137b7fd670
Fix #1179 - isValid returns true in the absence of validate.
2012-04-04 05:28:40 -07:00
Jeremy Ashkenas
a2ed079af8
removing reg exp test.
2012-04-02 17:35:26 -04:00
Jeremy Ashkenas
e5aabc6003
Merge branch 'master' of github.com:documentcloud/backbone
2012-04-02 17:25:11 -04:00
Jeremy Ashkenas
34c058e756
Fixes #1155 -- remove erroneous documentation about create() returning an XHR
2012-04-02 17:25:08 -04:00
Jeremy Ashkenas
948d41c290
Merge pull request #1156 from VIISON/master
...
Router test for urls with encoded characters
2012-04-02 14:22:16 -07:00
Jeremy Ashkenas
d7b8c8cdc4
reworking docs for model.collection
2012-04-02 17:16:46 -04:00
Jeremy Ashkenas
fad38af936
Merge pull request #1163 from aterris/model-collection-docs
...
Fix #1161 : Documentation for model.collection property
2012-04-02 14:11:46 -07:00
Jeremy Ashkenas
da97490f0b
Optimizing #1172
2012-04-02 10:13:50 -04:00
Jeremy Ashkenas
bc922ab134
Merge pull request #1172 from wrapp/master
...
This fixes as bug when have an attribute in a view and specify an ID to the constructor
2012-04-02 07:12:15 -07:00
Nicklas Ansman Giertz
2a1d06353f
Make sure the attribute object is clone before extending it
2012-04-02 12:38:27 +02:00
Nicklas Ansman Giertz
d852c729df
Add a test case for cloning the attribute object
...
The problem is that the attribute object isn't cloned so when an ID is
set through the constructor attributes[id] will get set on all
subsequent objects as well.
2012-04-02 12:37:25 +02:00
Andrew Terris
42bb5406e1
fix comment to more accurately reflect its true usage
2012-04-02 00:26:44 -05:00