Commit Graph

1530 Commits

Author SHA1 Message Date
Jeremy Ashkenas
362b91c8e4 Fixes #1456. Enhances Backbone.Events to support jQuery-style event maps, in 'on' and 'off'. 2012-12-06 16:12:19 -05:00
Jeremy Ashkenas
8711f3c781 Fixes #1870 -- allow empty bodies for difficult endpoints. 2012-12-06 15:43:25 -05:00
Jeremy Ashkenas
193ba773ba Fixes #1871 -- move the Catalog of Events to the top of the docs. 2012-12-06 15:36:19 -05:00
Jeremy Ashkenas
828f15acc3 our noglobals flag to QUnit breaks the test suite in Safari (for whatever reason) ... removing it. 2012-12-04 17:58:01 -05:00
Jeremy Ashkenas
6d19aba9ee remove the Ender test suite. We never update it -- and I can't remember ever hearing about anyone actually using Ender w/ Backbone. 2012-12-04 17:57:08 -05:00
Jeremy Ashkenas
a7be84ef37 merged. 2012-12-04 17:41:57 -05:00
Jeremy Ashkenas
f918d9d015 Adding Jolicloud as an example app 2012-12-03 14:18:49 -05:00
Brad Dunbar
0b2225655b Tweak sort test a bit. 2012-12-01 07:46:01 -05:00
Casey Foster
59850645e6 Only sort on add when it make sense 2012-11-30 15:40:01 -08:00
Tim Griesser
e5a3b0bba0 consistent 'parse' option on collection constructor & reset 2012-11-30 11:47:01 -05:00
brad dunbar
d0bed60f84 Merge pull request #1853 from tgriesser/qunit
noglobals check mandatory for browser qunit and npm runner
2012-11-29 14:20:11 -08:00
Tim Griesser
a2a32cde62 Merge pull request #1 from braddunbar/noglobals
Force noglobals.
2012-11-29 11:54:23 -08:00
Brad Dunbar
f668e842aa Force noglobals. 2012-11-29 14:17:28 -05:00
Tim Griesser
f2c6412f4c noglobals check mandatory for browser qunit and node runner 2012-11-29 13:33:49 -05:00
Jeremy Ashkenas
1b2a286471 Merge pull request #1852 from braddunbar/noglobals
Use noglobals in `npm test`.
2012-11-29 08:47:55 -08:00
Brad Dunbar
41c6b58563 Use noglobals in npm test. 2012-11-29 11:16:53 -05:00
brad dunbar
7d3f13d54c Merge pull request #1851 from caseywebdev/global-leak
Fix global `i` leak in `change`
2012-11-29 08:10:28 -08:00
Casey Foster
e841851d56 Fix global i leak in change 2012-11-28 23:21:51 -08:00
Jeremy Ashkenas
29dc8fc2bc initial merge of tgriesser's change cleanup 2012-11-28 17:04:27 -05:00
Jeremy Ashkenas
e27c86e8f7 indentation 2012-11-28 15:08:56 -05:00
Jeremy Ashkenas
942c19926d Merge pull request #1717 from davidgtonge/master
Stop Backbone throwing an error when an invalid model is added
2012-11-28 12:07:59 -08:00
Jeremy Ashkenas
2274b31ada emphasizing the nature of silent 2012-11-28 15:04:25 -05:00
Jeremy Ashkenas
9fa8a0a2be disabling travis email notifications 2012-11-28 14:46:37 -05:00
Jeremy Ashkenas
2da7c73901 fixing the parse inconsistency in the original mmanner. 2012-11-28 14:39:59 -05:00
Jeremy Ashkenas
a0aabb405b Revert "Fixes #1843 -- reworks parsing behavior. It now always applies if you define it, and no longer passes xhr. (parsing should be a pure function of the data)"
This reverts commit fbbb2e675e.
2012-11-28 14:39:01 -05:00
Jeremy Ashkenas
b17a37b4f2 Merge pull request #1835 from braddunbar/travis
Fix gh-1201 - Simple TravisCI support.
2012-11-28 11:31:22 -08:00
Jeremy Ashkenas
fbbb2e675e Fixes #1843 -- reworks parsing behavior. It now always applies if you define it, and no longer passes xhr. (parsing should be a pure function of the data) 2012-11-28 14:26:49 -05:00
Jeremy Ashkenas
3de9f3504e Revert "tiny tweak"
This reverts commit e7d85efa9c.
2012-11-28 14:14:21 -05:00
Jeremy Ashkenas
e7d85efa9c tiny tweak 2012-11-28 14:00:06 -05:00
Jeremy Ashkenas
182804b448 Merge pull request #1846 from akre54/extendable-options
Allow View.options to be provided as a function
2012-11-28 10:59:39 -08:00
Jeremy Ashkenas
4ac21c0a23 Merge branch 'master' of github.com:documentcloud/backbone 2012-11-28 13:53:59 -05:00
Jeremy Ashkenas
46f2823107 Fixes #1849 -- adding a .npmignore 2012-11-28 13:53:57 -05:00
Adam Krebs
bc87c3fa46 add options function test 2012-11-27 11:22:19 -05:00
Adam Krebs
b34f4f38c7 use _.result for this.options 2012-11-27 10:44:01 -05:00
Jeremy Ashkenas
5ebd1fdb15 Merge pull request #1838 from asgeo1/add_options_for_tojson
Pass options through to toJSON
2012-11-26 07:15:32 -08:00
Adam George
be209e623d Pass options through to toJSON
This is useful if you have overriden toJSON with own implemention and
need to pass some options through
2012-11-21 14:34:15 +11:00
brad dunbar
900c4fec97 Merge pull request #1837 from j0nx/master
Minor clean up
2012-11-20 12:51:23 -08:00
Al Urim
70ff93bdfc Update backbone.js
Remove unnecessary argument.
2012-11-20 12:47:53 -08:00
Jeremy Ashkenas
7b51c224bc Merge pull request #1836 from Ore4444/patch-1
Removed a redundant sentence.
2012-11-20 06:02:11 -08:00
Ore Landau
8898fbfdc5 Removed a redundant sentence. 2012-11-20 14:57:54 +02:00
Brad Dunbar
94b86bf902 Fix gh-1201 - Simple TravisCI support. 2012-11-19 17:29:37 -05:00
Jeremy Ashkenas
ef8bb66839 Asserting that cloning a model and passing it in as attributes doesn't share object identity. 2012-11-19 17:00:47 -05:00
Jeremy Ashkenas
6f95a9b6f5 Fixes #1750 -- better document View#options 2012-11-19 16:47:38 -05:00
Jeremy Ashkenas
0b27091e5a fixes previous commit 2012-11-19 15:30:51 -05:00
Jeremy Ashkenas
c746c3c5c2 Fixes #1806, model.save(null, {wait: true}) with validation 2012-11-19 15:29:41 -05:00
Jeremy Ashkenas
dd59ae6185 Merge pull request #1826 from tgriesser/events-options
Allowing events to be passed in view's options
2012-11-19 12:06:26 -08:00
Jeremy Ashkenas
e1a29bd5ff Fixes #1832 -- stretched images on retina mobile 2012-11-19 15:00:41 -05:00
Jeremy Ashkenas
bec41307d3 rewording hashChange: false docs 2012-11-16 16:59:44 -05:00
Jeremy Ashkenas
626f3d7f0e Merge pull request #1803 from braddunbar/hashchange-false
Fix #1801 - Add documentation for disabling hash based routing.
2012-11-16 13:58:09 -08:00
Jeremy Ashkenas
bf82159ad7 capitalization typo 2012-11-16 15:41:17 -05:00