Nikolay Bachiyski
75befbbbe3
Adding WordPress.com as an example app
2012-07-25 18:04:42 +03:00
Jeremy Ashkenas
b5e32d4c2c
Merge pull request #1498 from braddunbar/clarify-off
...
Fix #1494 - Clarify documentation for `off`.
2012-07-19 04:36:41 -07:00
Brad Dunbar
76bc9faf45
Fix #1494 - Clarify documentation for off.
2012-07-18 21:32:24 -04:00
Jeremy Ashkenas
6d880672d1
Merge pull request #1493 from braddunbar/consistency
...
Consistent use of `===` and `void 0`.
2012-07-18 11:15:37 -07:00
Brad Dunbar
ddefd21167
Consistent use of === and void 0.
2012-07-18 14:13:14 -04:00
Jeremy Ashkenas
9ef2b3cf5d
Merge pull request #1492 from gsamokovarov/patch-3
...
Put short if statements on one line and add some whitespace
2012-07-18 07:21:35 -07:00
Genadi Samokovarov
9b7dd43c8f
Put short if statements on one line and add some whitespace
2012-07-18 13:57:03 +03:00
Tim Branyen
9a12b7640f
Merge pull request #1488 from tbranyen/master
...
reduced the extend function to a single return
2012-07-16 18:58:42 -07:00
tbranyen
5f57f8cca4
reduced extends to single return
2012-07-16 21:57:40 -04:00
Jeremy Ashkenas
07f2a68ae5
Merge pull request #1486 from mitya777/remove-extend
...
removed redundant extend
2012-07-16 14:42:32 -07:00
Dmitriy Fabrikant
131e169c93
removed redundant extend
2012-07-16 16:10:27 -04:00
Jeremy Ashkenas
f663ba6dcd
updating airbnb example
2012-07-16 14:17:22 -04:00
brad dunbar
b6f1d5239a
Merge pull request #1484 from bukhamseen/master
...
Update todo example
2012-07-14 14:02:34 -07:00
Hossein Bukhamsin
639819c7ef
prefer on over bind
2012-07-14 12:29:54 +03:00
Brad Dunbar
d8477f4b45
Revert #1353 for further discussion.
...
This reverts commit 7054ca4a2a , reversing
changes made to 7828d6d22d .
2012-06-25 17:55:19 -04:00
Jeremy Ashkenas
d10b6ddcb7
adding Prose as a Backbone example.
2012-06-25 14:38:52 -04:00
Brad Dunbar
c18b7763f8
Add a test and tweak whitespace for #1448 .
2012-06-25 08:33:27 -04:00
Brad Dunbar
6a8232a36e
Merge pull request #1448 from ganmor/sortfix.
...
Move sort after merge.
2012-06-25 08:26:47 -04:00
Brad Dunbar
ff561ca206
Fix #1447 - model.save does not delete options.wait.
2012-06-25 07:39:48 -04:00
ganmor
6df4874f69
Move sort after merge
2012-06-25 10:37:46 +02:00
brad dunbar
cf805816e2
Merge pull request #1444 from christopherwright/master
...
Fix a few typos in documentation, and note that Rails >= 3.1 doesn't namespace to_json
2012-06-23 05:35:48 -07:00
Christopher Wright
17a373474a
Fix typo - "Backbones's" should be "Backbone's"
2012-06-23 20:53:51 +10:00
Christopher Wright
7f375d8ade
to_json doesn't include namespace by default for Rails>=3.1
2012-06-23 20:52:45 +10:00
Christopher Wright
a9e42aaf70
Fix typo, "models state" should be "model's state"
2012-06-23 16:19:12 +10:00
Jeremy Ashkenas
17189f3149
Merge pull request #1440 from braddunbar/save-invalid
...
Fix #1433 - Do not save invalid models.
2012-06-22 07:31:42 -07:00
Brad Dunbar
af5e8f5c72
Fix #1433 - Do not save invalid models.
2012-06-22 08:02:00 -04:00
Brad Dunbar
10b3b38654
Remove accidental inclusion.
2012-06-21 14:21:59 -04:00
Brad Dunbar
5d3e441b82
Document test source.
2012-06-21 14:20:37 -04:00
Jeremy Ashkenas
2d7aa99061
Adding Disqus as an example app.
2012-06-21 11:14:06 -04:00
Brad Dunbar
f3039b695b
Fix #1420 - Lazy load example images.
2012-06-21 08:43:32 -04:00
Jeremy Ashkenas
ef1900b3ed
Merge pull request #1432 from brettgoulder/master
...
Just do the media query on the docs for the iPhone 4, not retina macbook pro
2012-06-20 20:55:43 -07:00
Brett Goulder
c709104418
Just do the media query for the iPhone 4, not retina macbook
2012-06-20 19:16:30 -06:00
Jeremy Ashkenas
352d486ba1
adding spin as an example site.
2012-06-19 16:08:11 -04:00
Jeremy Ashkenas
9ee453f451
updating tests
2012-06-18 10:21:25 -04:00
Jeremy Ashkenas
bc931c31e4
Fixing Routing.
2012-06-18 10:14:46 -04:00
Jeremy Ashkenas
2eeaa4a716
merged
2012-06-18 09:50:12 -04:00
Jeremy Ashkenas
76de397c64
Merge pull request #1414 from braddunbar/root-trailing-slash
...
Fix #1387 - getFragment trims trailing slash before removing root.
2012-06-18 06:49:15 -07:00
Brad Dunbar
966bb3dbdb
Update event args for "destroy" and "sync".
2012-06-18 09:14:57 -04:00
brad dunbar
af31b4eb29
Merge pull request #1422 from rhencke/patch-1
...
Note options parameter for add/remove/reset in Catalog of Events.
2012-06-18 06:10:07 -07:00
Robert Hencke
faeca244a2
Note options parameter for add/remove/reset in Catalog of Events.
2012-06-18 07:57:36 -05:00
Brad Dunbar
be5d4fd769
Fix #1366 - Root should not be prepended to history.fragment.
2012-06-16 12:45:08 -04:00
Brad Dunbar
9f9028bfab
Add documentation for Model#sync, Collection#sync.
2012-06-16 11:53:21 -04:00
Brad Dunbar
b6b9ec72ff
Fix #1365 - Destroy: new models execute success callback.
2012-06-16 11:33:05 -04:00
Brad Dunbar
54ec530eea
Provide a default implementation of sync.
2012-06-16 10:55:03 -04:00
Brad Dunbar
4286e0c5ec
Fix #1403 - Trigger "sync" unconditionally.
2012-06-16 10:45:01 -04:00
Jeremy Ashkenas
2b5af42bfb
Merge branch 'master' of github.com:documentcloud/backbone
2012-06-15 13:11:37 -04:00
Jeremy Ashkenas
45afea1160
adding Easel.io as an example site.
2012-06-15 13:11:03 -04:00
Brad Dunbar
4ecc161ecf
Tweak tests a bit.
2012-06-15 11:30:49 -04:00
Casey Foster
f24ca5a0ed
#1412 - Trigger "sync" event for fetch also
2012-06-15 07:33:38 -07:00
Brad Dunbar
27e9e4743c
Fix #1387 - getFragment trims trailing slash before removing root.
...
* The root should not be stripped when dealing with hashes.
* The trailing slash can be removed since the fragment is
stripped anyway. This could probably be done only once
in `start`, but is saved for a later patch.
* The mock pathname needs to prepend a slash in IE since
anchor.pathname does not contain it.
2012-06-15 00:05:03 -04:00