Jeremy Ashkenas
9f161aeb26
Merge pull request #1317 from lennym/master
...
Allow Backbone.ajax to reflect changes made to $.ajax or Backbone.setDomLibrary()
2012-05-15 14:31:47 -07:00
lennym
ba249903e6
Copied Backbone.ajax from global DOM lib at runtime to allow calls to Backbone.setDomLibrary to take effect and improve compatibility with test frameworks that mock $.ajax
2012-05-15 17:40:19 +02:00
Jeremy Ashkenas
f141984333
Merge branch 'master' of github.com:documentcloud/backbone
2012-05-14 14:42:58 -04:00
Jeremy Ashkenas
080241a492
changing links to underscorejs.org
2012-05-14 14:42:23 -04:00
Jeremy Ashkenas
291bfadef6
Merge pull request #1307 from wookiehangover/issue1306
...
additional documentation for Model.clear
2012-05-14 09:18:35 -07:00
Brad Dunbar
192b1c0673
Events.off uses reverse iteration to avoid altering indicies.
...
See comments on 83a24bb2d5 .
2012-05-14 11:57:57 -04:00
Jeremy Ashkenas
cb50c10b47
adding scrollkit as an example site
2012-05-14 11:41:05 -04:00
Brad Dunbar
83a24bb2d5
Fix #1310 - off does not skip consecutive events.
2012-05-14 07:53:01 -04:00
Sam Breed
99072115ac
documenting model.clear's new behavior in the 0.9.0 changelog
2012-05-13 18:25:04 -06:00
Sam Breed
d14e8cf0d9
additional documentation for Model.clear
...
* specifies that the `id` attribute is removed
2012-05-12 00:37:42 -06:00
Jeremy Ashkenas
7d8c51a3c3
Merge pull request #1293 from wookiehangover/issue1292
...
Fix #1292 - unexpected results when passing undefined to Model.hasChanged
2012-05-10 14:55:01 -07:00
Jeremy Ashkenas
52c54d4c3e
adding a rel=canonical
2012-05-10 17:38:33 -04:00
vlad
d862436d2e
fixed broken fragment links to underscore proxy methods
2012-05-08 11:57:02 -04:00
Jeremy Ashkenas
c919568286
Merge pull request #1295 from braddunbar/refactor-preparemodel
...
Refactor _prepareModel.
2012-05-08 08:27:04 -07:00
Brad Dunbar
0ea9f47b35
Refactor _prepareModel.
2012-05-08 06:54:14 -04:00
Sam Breed
638af0f68e
updating model.previous arguments check to match hasChanged
2012-05-07 20:29:24 -06:00
Sam Breed
c3aed6f713
simplifying hasChanged if statement
2012-05-07 19:58:52 -06:00
Sam Breed
cacd01d530
Fix #1292 - unexpected results when passing undefined to Model.hasChanged()
...
* additional check in hashChanged for when `attr` is present but undefined
* adds tests for expected results when passing undefined
2012-05-07 19:45:03 -06:00
Jeremy Ashkenas
36dfdab567
Merge pull request #1285 from braddunbar/ajax
...
Avoid throwing when $ is not defined.
2012-05-05 15:33:55 -07:00
Brad Dunbar
22606f9b25
Tweak events implementation.
2012-05-05 18:11:38 -04:00
brad dunbar
7fcba24db8
Merge pull request #1284 from lifesinger/master
...
Improve performance using array instead of linked-list to implement Backbone.Events
2012-05-05 13:18:09 -07:00
Brad Dunbar
4dcf4bde7e
Avoid throwing when $ is not defined.
2012-05-05 15:26:42 -04:00
lifesinger
15a61c08ee
refactor events using array instead of linked-list to improve performance
2012-05-05 17:30:25 +08:00
Jeremy Ashkenas
6c3d3838e1
Merge pull request #1283 from braddunbar/retrieve-all
...
Fix #1282 - "all" callback list is retrieved for each event.
2012-05-04 13:41:37 -07:00
Brad Dunbar
c4297e5e2e
Fix #1282 - "all" callback list is retrieved for each event.
2012-05-04 13:28:17 -04:00
Jeremy Ashkenas
c7a7584fca
Merge pull request #1275 from braddunbar/qunit-1.5.0
...
Update QUnit.
2012-05-03 07:33:12 -07:00
Jeremy Ashkenas
fdc12d1608
Merge pull request #1274 from braddunbar/null-id
...
null and undefined are invalid ids.
2012-05-02 20:52:20 -07:00
Brad Dunbar
70005fdd04
Update QUnit.
...
* Use `deepEqual` in place of `same`.
* Expect 0 tests where appropriate.
* Update view test to use #qunit-fixture.
* Remove `QUnit.config.reorder = false;`.
2012-05-02 20:54:27 -04:00
Brad Dunbar
46d43ae5bf
null and undefined are invalid ids.
2012-05-02 17:34:59 -04:00
Jeremy Ashkenas
e0d349a548
Merge branch 'master' of github.com:documentcloud/backbone
2012-05-02 11:33:42 -04:00
Jeremy Ashkenas
d49c4da2cf
updating linkedin example app
2012-05-02 11:32:56 -04:00
Jeremy Ashkenas
26a3e2b632
Merge pull request #1264 from gsamokovarov/patch-1
...
Whitespace cleanup for extend and Collection.prototype.chain
2012-05-01 10:13:43 -07:00
Genadi Samokovarov
c4f55849b4
Whitespace cleanup for extend Collection.prototype.chain function definitions.
2012-05-01 19:54:33 +03:00
Jeremy Ashkenas
67dc8b96ec
Merge pull request #1257 from benatkin/patch-1
...
Use the same type of URL for installation instructions.
2012-04-30 10:38:49 -07:00
Ben Atkin
b6ab27adc8
point to CoffeeScript.org for installation instructions
2012-04-30 11:29:01 -06:00
Jeremy Ashkenas
06338a7add
shifting the Walmart mobile down a teense.
2012-04-30 10:19:31 -04:00
Jeremy Ashkenas
7de0b2630f
Merge pull request #1258 from syntacticx/master
...
Adding Walmart Mobile as an example
2012-04-30 07:16:37 -07:00
Jeremy Ashkenas
ff8f9d4d92
Merge pull request #1260 from zamiang/push_state_unsupported
...
Fix #1252 - Backbone history with pushState enabled incorrectly handles urls with query params in browsers that do not support pushState
2012-04-30 07:03:28 -07:00
Ryan Eastridge
4ed60168ef
add link to Walmart Mobile
2012-04-28 13:23:42 -07:00
Brennan Moore
0c4bea53ff
removing ds_store -- should be added to .gitignore...
2012-04-28 15:26:43 -04:00
Brennan Moore
f878b7cfc2
supporting url params in browsers without pushState support when pushState is enabled
2012-04-28 15:25:37 -04:00
Benjamin Atkin
7958956e84
Use the same type of URL for installation instructions.
...
Currently docco points to the github web page, while
coffee-script points directly to the HTTP git URL.
2012-04-27 22:35:44 -06:00
Brad Dunbar
64205fbd1f
Add tests for #1122 .
2012-04-24 11:33:15 -04:00
Jeremy Ashkenas
bf9e4f6335
adding a test for the previous commit -- failed save with wait:true
2012-04-23 17:58:10 -04:00
Jeremy Ashkenas
8aee79ae41
Fixes #1223 -- new attributes left behind after a failed wait:true
2012-04-23 17:56:23 -04:00
Jeremy Ashkenas
07a00ba45d
adding tests for merge:true
2012-04-23 17:15:58 -04:00
Jeremy Ashkenas
b42cc64878
tweaking duplicate model merge:true
2012-04-23 17:09:57 -04:00
Jeremy Ashkenas
9ee0358cd6
Merge pull request #1220 from folded/master
...
Optionally merging updated model state on collection add.
2012-04-23 13:58:03 -07:00
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