Commit Graph

2810 Commits

Author SHA1 Message Date
Graeme
8eb8407db5 Test IE7 & IE8 2015-02-20 18:02:06 -05:00
Graeme
6934dafa56 Set up sauce test runner 2015-02-20 15:50:52 -05:00
Graeme
f02ba1f47b Run test suite using karma 2015-02-20 15:12:09 -05:00
Jeremy Ashkenas
89b1c58b4e Merge pull request #3504 from jridgewell/history-use
Use _use* properties to determine "wants" and "has"
2015-02-19 14:20:06 -05:00
Adam Krebs
bc014663f2 Remove AMD test. We know it works, no need to keep an extra file around. 2015-02-19 00:06:50 -05:00
Justin Ridgewell
6d4a32856d Use _useHashChange to determine "wants" and "has" 2015-02-18 21:27:28 -05:00
Justin Ridgewell
0f25d20938 Use _usePushState to determine "wants" and "has" 2015-02-18 18:27:02 -05:00
Adam Krebs
e09fa7f45a minor grammar cleanup in Collection-remove docs 2015-02-18 10:57:41 -05:00
Adam Krebs
9b70a2812a Merge pull request #3495 from jmm/jmm/collection-remove
Add documentation about collection.remove `models` arg.
2015-02-18 10:53:57 -05:00
Adam Krebs
4fd9da4f81 style tweaks 2015-02-17 19:24:35 -05:00
Adam Krebs
0df246e1f6 Merge pull request #3488 from platinumazure/include-updated-options-in-sync-callback
Include updated options in sync callbacks
2015-02-17 19:20:02 -05:00
Kevin Partington
b331afede1 Small style tweaks per akre54's comments on the pull request. 2015-02-17 19:13:19 -05:00
Adam Krebs
ebed63ad90 Merge pull request #3500 from jashkenas/revert-3443-history-root
Revert "History's root"
2015-02-17 17:41:47 -05:00
Adam Krebs
d52b5f92ae Revert "History's root" 2015-02-17 17:41:06 -05:00
Adam Krebs
074544afe8 Merge pull request #3443 from jridgewell/history-root
History's root
2015-02-17 17:27:25 -05:00
Adam Krebs
6da5d85fec Merge pull request #3499 from jridgewell/trigger-objects
Remvoe trigger with object's value prepending
2015-02-17 17:15:11 -05:00
Justin Ridgewell
22387234de Remove trigger with object's value prepend
Backbone still supports triggering with an object, but the args passed
to `#trigger` will not be prepended with the object's value.
2015-02-17 17:08:02 -05:00
Justin Ridgewell
6aed2485ae Revert "Merge pull request #3465 from jridgewell/trigger-objects"
This reverts commit 760004faa7, reversing
changes made to 7315c56d2e.
2015-02-17 17:06:21 -05:00
Jesse McCarthy
7370162938 Add documentation about models arg.
Fix #3494.
2015-02-16 09:44:51 -05:00
Adam Krebs
0b2835f7fc Merge pull request #3490 from yousefcisco/master
Customise model cid prefix
2015-02-12 12:23:12 -05:00
Yousef Cisco
2d041d799d Updated Model to allow configuration of the cid prefix 2015-02-12 17:16:55 +00:00
Kevin Partington
1088d18a21 Collection#fetch, Model#save, Model#fetch, and Model#destroy should all pass extra sync options to success callbacks. 2015-02-10 20:28:20 -06:00
Kevin Partington
780c84744a Collection#create passes extra options added by model sync to success callback 2015-02-10 19:59:22 -06:00
Jeremy Ashkenas
377b9c89e4 Merge pull request #3485 from megawac/qunit-update
[minor] Update QUnit to v1.7.1
2015-02-10 10:47:20 -05:00
Graeme
1577524edd Update QUnit to v1.7.1 2015-02-10 00:31:04 -05:00
Adam Krebs
87a4af8f3b fetch docs cleanup 2015-02-09 12:04:38 -05:00
Adam Krebs
956138fe5f Merge pull request #3480 from wettowelreactor/patch-1
Fix #3477. Clarify Model.fetch docs
2015-02-09 12:00:19 -05:00
Camille Roussel
389ca5400d Fix #3477. Clarify Model.fetch docs 2015-02-08 18:56:07 -08:00
Adam Krebs
d8645e61d3 Merge pull request #3482 from arianf/master
Fixed copyright range to be updated to 2015
2015-02-08 16:02:10 -08:00
Arian Faurtosh
e48212d73e Fixed copyright range to be updated to 2015 2015-02-08 10:50:59 -08:00
Brad Dunbar
9f81d980f0 Model#url id falls back to #get(this.idAttribute). 2015-02-05 07:37:30 -05:00
Stephen Thomas
0f2e968913 Add failing test for save and wait. 2015-02-05 07:33:25 -05:00
Jeremy Ashkenas
713c288475 Merge pull request #3455 from jridgewell/listenTo-memory-leak
Fix listenTo memory leak
2015-02-03 14:16:15 -05:00
Jeremy Ashkenas
9d8339905b Merge branch 'master' of https://github.com/jashkenas/backbone 2015-02-03 11:33:26 -05:00
Jeremy Ashkenas
98b6be8852 redoc 2015-02-03 11:33:25 -05:00
Jeremy Ashkenas
c1ce7a7484 Merge pull request #3423 from jridgewell/ajax_context
Call the success callback with context
2015-02-02 13:48:49 -05:00
Jeremy Ashkenas
68220af813 Tweak View#el docs further. 2015-01-30 12:49:46 -05:00
Jeremy Ashkenas
61a5eaf2e1 Merge pull request #3456 from akre54/el-docs
Clarify docs around View#el. Fixes #3454
2015-01-30 12:48:19 -05:00
Justin Ridgewell
3aac74d121 Undo concat #on tests 2015-01-29 23:23:22 -05:00
Justin Ridgewell
4018a5683f Rearrange and comment Events 2015-01-29 23:20:58 -05:00
Justin Ridgewell
826b110b45 Create internal use stopListening
This is to prevent an infinite off -> stopListening -> off ->
stopListening.
2015-01-29 11:28:38 -05:00
Jeremy Ashkenas
760004faa7 Merge pull request #3465 from jridgewell/trigger-objects
Test trigger arguments behavior
2015-01-28 15:42:50 -05:00
Justin Ridgewell
b49f17c2ad off cleans up listenTo 2015-01-27 21:33:12 -05:00
Justin Ridgewell
778d447922 Address listenTo and off memory leak
https://github.com/jashkenas/backbone/pull/3455#issuecomment-71677970
2015-01-27 20:55:54 -05:00
Justin Ridgewell
e01869d4b0 Break instead of continuing 2015-01-27 17:21:30 -05:00
Justin Ridgewell
6796ca06c5 Comment eventsApi refactor 2015-01-27 00:43:13 -05:00
Justin Ridgewell
c73a3c33b2 Inline onceWrapper 2015-01-26 23:28:10 -05:00
Justin Ridgewell
59c3704955 Test trigger arguments behavior
To be clear, I think the trigger with object behavior is silly. But I
needed tests to ensure that my [`eventsApi` refactor]
(https://github.com/jridgewell/backbone/tree/eventsApi-refactor) kept
the current functionality.
2015-01-26 16:54:54 -05:00
Justin Ridgewell
7ecf183dce Test trigger arguments behavior
To be clear, I think the trigger with object behavior is silly. But I
needed tests to ensure that my [`eventsApi` refactor]
(https://github.com/jridgewell/backbone/tree/eventsApi-refactor) kept
the current functionality.
2015-01-25 13:49:19 -05:00
Justin Ridgewell
9abb4ab700 Trigger with object behaves dumbly
If you trigger with an object, it's prop value is prepended onto the
listener's arguments.
2015-01-25 13:31:48 -05:00