Skip to content
This repository
  • 211 commits
  • 42 files changed
  • 36 comments
  • 31 contributors
Dec 02, 2010
Jeremy Ashkenas Fixing Issue #109 -- ignore 'add' and 'remove' events that originate …
…from models shared with other collections.
6a0ac93
Jeremy Ashkenas adding a bit more of a test for changedattributes. d4dc736
Jeremy Ashkenas Events#trigger ... making it safe to unbind your own event within a t…
…rigger() call.
b085fa0
Matt Kelly Add urlBase option to model to allow specifying restful url without u…
…sing a collection
5249010
Dec 03, 2010
Jeremy Ashkenas A silent change to a model will now make hasChanged() return true ...…
… Issue #105
bbcf196
Chris Korhonen Added append option when fetching a collection. Useful when lazy load…
…ing data sets.
3623916
Dec 06, 2010
Jeremy Ashkenas Adding an FAQ section to the backbone docs. 3246463
Jeremy Ashkenas adding an FAQ section. f194f2d
Dec 07, 2010
Matt Todd Implement model.is() for attr test, with docs, tests 21a3675
Dec 08, 2010
Jeremy Ashkenas Adding FAQ section for bootstrapping 9f842bd
Jeremy Ashkenas Adding FAQ section for bootstrapping 06a1506
Jeremy Ashkenas Merge branch 'Model-is' of https://github.com/mtodd/backbone b73fc46
Jeremy Ashkenas Adding Model#has to Backbone... 0c1bbbc
Jeremy Ashkenas Adding Collection#fetch with add: true 784adc6
Jeremy Ashkenas Fixing un-released models from refresh'd collections. Issue #128 6ea500b
Dec 10, 2010
Jeremy Ashkenas Make Backbone View's delegateEvents only ever unbind the events that …
…it adds itself.
17602c3
Jeremy Ashkenas Merge branch 'master' of https://github.com/mkelly12/backbone 03aa12a
Jeremy Ashkenas merge mkelley's urlBase, renamed to urlRoot. e8be47f
Jeremy Ashkenas documenting urlRoot ... making collection.url take precedence over ur…
…lRoot, if defined.
81cd0cf
Jeremy Ashkenas Issue #132 ... initial _changed after new with attributes. 53ae5b5
Dec 11, 2010
Sam Stephenson Multiple views may listen for events on the same element 34d1d0a
Dec 13, 2010
Jeremy Ashkenas Issue #134. json2.js source link. 5886fe4
Jeremy Ashkenas Merge branch 'multiple-views-per-element' of https://github.com/sstep… aec3f47
Jeremy Ashkenas Merging Issue #135. Multiple views per DOM element. d01b136
Jeremy Ashkenas Issue #78. Changes the Backbone.sync API to enable passing through of…
… options ... like {data} in fetch()
3d8fe92
Dec 16, 2010
Joshua Peek Pass Collection#fetch options along to refresh
Matches the behavior of Model#fetch
ad2ae8e
Dec 17, 2010
Jeremy Ashkenas Expanding View#el documentation. 43176d9
Sam Stephenson If Backbone.View#el is a string, pass it through $(...).get(0) in _en…
…sureElement
71c9838
Sam Stephenson Pass along the current value of `this` to Backbone's closure wrapper 2c29387
Jeremy Ashkenas Merging Issue #149. View#el can be a string. 12f7ae9
Jeremy Ashkenas Merge branch 'closure-scope' of https://github.com/sstephenson/backbone 714a521
Sam Stephenson Update test-zepto.html for Zepto 0.3 8c5cd17
Jeremy Ashkenas Merge branch 'zepto' of https://github.com/sstephenson/backbone c644866
Jeremy Ashkenas Making the collection-proxies-model-events a bit more clear 2610593
Dec 20, 2010
Jeremy Ashkenas Issue #143, properly escaping regex characters in literal routes. 3098321
Jeremy Ashkenas adding options to the onError direct callback. 4d6d494
Jeremy Ashkenas adding a bit more explanation to Model#save onError e3aa575
Jeremy Ashkenas Revising controller test as per dvv's suggestion. c0c8cb2
Jeremy Ashkenas Allowing Model#defaults to be a function as well as a hash. 331cb8b
Dec 21, 2010
Jeremy Ashkenas prefer single quotes. 67dd2ee
Jeremy Ashkenas Taking some of dvv's suggestions. a0ace0d
Dec 22, 2010
Jeremy Ashkenas Updating Model-save documentation. 65e4340
Dec 30, 2010
Jeremy Ashkenas Updating to latest QUnit, fixing Issue #153 ... overly aggressive url…
…Error.
1c30828
Jeremy Ashkenas Issue #154. Make options.data possible for creates and updates with t…
…he default sync.
4c1bdb4
Jeremy Ashkenas removing broken History-saveLocation link. 178887e
Jan 03, 2011
Jeremy Ashkenas Adding QuietWrite.com as a Backbone example. c933262
delete this.id when unsetting the id attribute 2fd11a8
Jan 05, 2011
Samuel Clay Fixing a small bug in model inheritance: Class properties need to be …
…inherited (along with the instance properties). See test.
440d141
Jan 10, 2011
Pavel Karoukin Add attributes parameter to Backbone.View. All attributes are being a…
…pplied to view's this.el during element creation.
c3da552
Jan 11, 2011
Jeremy Ashkenas Model::escape() now coerces non-string (non-falsy) values to strings …
…before escaping them.
289d4e0
Jeremy Ashkenas Merge branch 'master' of github.com:documentcloud/backbone 39cabb8
Pavel Karoukin Merge branch 'master' of https://github.com/documentcloud/backbone ece686d
Jan 19, 2011
Jeremy Ashkenas Pushing the QuietWrite.com example. 0c03331
Jeremy Ashkenas Adding Tzigla to the examples. d4a091b
Jeremy Ashkenas merging in tzigla example. 65f6830
Jan 22, 2011
Joshua Peek Improve multiple collection support
Preserve original model collection when adding/removing from another collection
Destroying a model removes it from all collections
14000a8
Jeremy Ashkenas merging in fixes for models in multiple collections ... a2f0468
Feb 01, 2011
Jeremy Ashkenas Adding CloudEdit as an example. 3619844
Jeremy Ashkenas Merge branch 'gh-pages' 79b33ae
Feb 03, 2011
Jed Schmidt keep custom `sync` methods for a given model/collection scoped to `th…
…is`.
e398583
Feb 06, 2011
Kris Jordan Forcing Collection.create to run through validation before saving. 7442f82
Jeremy Ashkenas Merging issue #216 (+ others) validation on Collection#create. 4c41ea7
Jeremy Ashkenas Adding an index.js for npm, Issue #207 51f9ce6
Feb 07, 2011
Jeremy Ashkenas Merge branch 'master' of https://github.com/jed/backbone 1944234
Jeremy Ashkenas Throw an error if Backbone.history.start is called twice. f1e0f6b
Jeremy Ashkenas No periods on errors. 7d4d527
Jeremy Ashkenas Merge branch 'unset_id' of https://github.com/reverie/backbone 0383ef7
Jeremy Ashkenas Merging in #167, unsetting 'id' ec68420
Jeremy Ashkenas Changing route order behavior. Issue #189. Declarative route maps are…
… the same, procedural route() calls can now override previously-defined routes.
ac8c3dd
Jeremy Ashkenas Upgrading Backbone.js (test) dependencies to latest jQuery, Zepto, an…
…d Underscore.
164ad72
Jeremy Ashkenas Fixing test-zepto.html HTML. d04bf67
Jeremy Ashkenas Initial support for models with non-default id attribute names (Mongo…
…DB, CouchDB). Various tickets.
1a9404c
Jeremy Ashkenas Issue #209 ... unsetting a missing attribute should not fire a change…
… event.
b86d3f6
Jeremy Ashkenas fixing lingering idAttribute spot -- thanks, jdknezek c5160fc
Jeremy Ashkenas ditto c6d2c69
Johannes Jörg Schmidt encodeURIComponent this.id
in Backbone.Model.prototype.url
aab49eb
Jeremy Ashkenas Merging in a test for Issue #204 4489d7f
Jeremy Ashkenas Merge branch 'master' of https://github.com/hippich/backbone 512ff7e
Jeremy Ashkenas merging #179 + refactor, view 'attributes' for this.el a5079ab
Feb 14, 2011
Jeremy Ashkenas .get -> .escape in the docs ce05957
Jeremy Ashkenas linking to the documentcloud workspace 02c40e5
Jeremy Ashkenas adding basecamp mobile, instagreat, and tilemill 0ca0481
Jeremy Ashkenas Issue #223 ... fixing json2.js link. f4a394b
Jeremy Ashkenas Issue #224 ... underlining links, updating docs. 6c968b6
Feb 15, 2011
Raimonds Simanovskis destroy of non-persisted model should not call sync 5a89ed3
Feb 28, 2011
Jeremy Ashkenas Adding mql's Substance.io 52953c1
Jeremy Ashkenas merged gh-pages in. 7216d99
Mar 02, 2011
Dmitry Baranovskiy Fixed escapeHTML function
to skip not only &***;, but also &#***; and &x***;
0cdc525
Mar 09, 2011
Jason Davies Only set request content type for create/update 83250a5
Jason Davies Fix typo ee2ec92
Mar 10, 2011
Jeremy Ashkenas Adding Mobile SoundCloud as an example. e2a5c18
Mar 17, 2011
Fix incorrect prototype.constructor comment
prototype.constructor does not affect instanceof
7ceab2c
Mar 20, 2011
Jeremy Ashkenas Upgrading Backbone.js tests to Underscore 1.1.5 d97d8bf
Mar 21, 2011
Jeremy Ashkenas Issue #278. Allow 'extend' to be overrideable+inheritable. d149451
Jeremy Ashkenas Upgrade tests to Zepto 0.5 c9a6349
Jeremy Ashkenas Merge branch 'fix-comment' of https://github.com/jimmydo/backbone da52ae1
Mar 22, 2011
Paul Uithol Make it possible to take advantage of jQuery.Deferred with Backbone, …
…without breaking compatibility by changing return values.

Implemented by adding a "promise" attribute to Backbone.Model and Backbone.Collection, set by Backbone.Model's "fetch", "save", "destroy" and Backbone.Collectin's "fetch" and "create".
ed5a88d
Paul Uithol A somewhat smarter approach (more DRY). 8f80fb1
Samuel Clay Adding MetaLab's Flow to the examples. fd35fcb
Paul Uithol Even simpler; merely expose the (jq)XHR object, enabling the use of j…
…Query.Deferred.
7d88162
Mar 23, 2011
Samuel Clay Adding Backbone.noConflict() and keeping track of the original root.B…
…ackbone.
67d61fc
Samuel Clay Adding Flow to sidebar under Examples. 35ba4a9
Samuel Clay Merge branch 'gh-pages'
Conflicts:
	index.html
1028e63
Samuel Clay Documenting the new Backbone.noConflict() method. f4cfbd6
Apr 11, 2011
Brandon Leonardo change hashStrip regex to strip bang as well, so hash-bang urls will …
…work transparently
21fa0aa
Brandon Leonardo rebuild to include previous change 914ff9d
Apr 15, 2011
Jacek Becela Add failing test for #319 223c4fb
Jacek Becela Check for model before accessing its properties, fixes #319 1499d75
Vladimir Dronnikov ender.js support 94edc63
Apr 18, 2011
Jeremy Ashkenas Upgrading to Underscore 1.1.6 for test deps. 7b494c1
Jeremy Ashkenas Merge branch 'master' of github.com:documentcloud/backbone 12661ff
Jeremy Ashkenas Merge branch 'master' of https://github.com/dvv/backbone 5f3135f
Jeremy Ashkenas merging in Ender.js support 4070364
Jeremy Ashkenas Merge branch 'fix_custom_events_on_models_inside_collections' of http… 76b3ed1
Jeremy Ashkenas removing backbone-min from master ... it'll only live on the gh-pages…
… branch now.
857f756
Jeremy Ashkenas clarifying that jQuery or Zepto is required for History support (for …
…the moment)
9159ed3
Jeremy Ashkenas Issue #309, more sophisticated event handling, for unbinding events i…
…n the midst of them firing.
37ddad5
Jeremy Ashkenas Issue #289. Enable the use of jQuery.Deferred by returning Deferred o…
…bjects from save() and fetch() calls.
222d673
Apr 19, 2011
Paul Uithol Merge remote branch 'remotes/upstream/master'
Conflicts:
	backbone.js
0503b4d
Apr 21, 2011
Pablo Torres Pass the error and success callbacks when creating the model to add t…
…o a Collection
1598801
Pablo Torres Add a failing test for Collection.create not running callbacks 0f118ec
Apr 22, 2011
Samuel Clay Removing Ender.js support for the time being, as it needs to fix its …
…AJAX methods to corrospond with jQuery/Zepto success/error signatures.
1d4484d
Samuel Clay Adding XHR object to Model.parse and Collection.parse method signatur…
…es. jQuery and Zepto use the same callback signature: response, status, xhr.
4881621
Samuel Clay _ to status in Model.parse. No need to clobber Underscore.js just to …
…ignore a parameter.
399e745
Samuel Clay Adding XHR object to Collection.create (which comes from Model.save). 577758a
Samuel Clay Merge https://github.com/ptn/backbone 0cc8cb0
Samuel Clay Adding test for hashbang URLs. For pull request #312. ee215be
Apr 25, 2011
Samuel Clay Adding in a note about passing in an object literal or a model to Col…
…lection.create. Thanks to MattJ for the recommendation.
f44cfee
Samuel Clay Adding in a note about Backbone.history.start() returning a boolean f…
…or whether or not a match has been found in the current URL fragment. Thanks to XiXora for the recommendation.
a00b798
Samuel Clay Adding a note about using Collection.create on a model that has been …
…saved server-side.
089aeb8
Jeremy Ashkenas clarifying wording 58708b3
Apr 26, 2011
Paul Uithol Merge branch 'master' of git://github.com/documentcloud/backbone 9b40c7a
Paul Uithol Factor out model preparation to a separate function in Backbone.Colle…
…ction, so 'create' and 'add' behave the same.
965c299
Apr 27, 2011
Damien Holzapfel Reference calls variable in list variable definition in Backbone.Even…
…ts.bind
7afd43c
Jeremy Ashkenas Adding CloudApp to the list of examples. c9bf20e
Jeremy Ashkenas resolving merge db68321
Apr 28, 2011
Jeremy Ashkenas Adding the bittorrent example app. bbce120
Jeremy Ashkenas Merge branch 'gh-pages' 7489bf0
Jeremy Ashkenas expanding the FAQ for MVC with a direct Rails comparison. bbf28b8
Jeremy Ashkenas Merge branch 'gh-pages' d8edb5d
May 01, 2011
Jeremy Ashkenas Merge pull request #267 from jasondavies/master.
Don't set content type header for GET requests
82e0b34
May 05, 2011
Corban Brook Pass options to the coll.add call in Collection::create so that it ca…
…n work silently.
9d5308b
May 07, 2011
Francis Gulotta Following recommendations from the OWASP 82c288c
May 23, 2011
Jeremy Ashkenas fixing tests for IE / Webkit ... regex, not string match. a5d01f9
Jeremy Ashkenas Merge branch 'master' of github.com:documentcloud/backbone a251810
Jeremy Ashkenas Issue #228 ... IE7 hash should look correct after initial load. 489ebb7
May 24, 2011
Jeremy Ashkenas Issue #366, support for namespaced events. e8476af
May 26, 2011
Jeremy Ashkenas initial draft of a 0.5.0 branch cf32151
Jeremy Ashkenas fix the zepto test suite. 300c7f0
Jeremy Ashkenas remove an extraneous this.options 636e7b0
Jeremy Ashkenas Adding Backbone.Router.setLocation, alongside saveLocation, to both s…
…ave and route at once.
e5ee550
Jeremy Ashkenas Backbone.Router formatting, tweaks. e9b38de
Jeremy Ashkenas fixing IE support for 0.5.0 f742bbe
Jeremy Ashkenas normalizing for the Safari window.location bug. e56346c
Jeremy Ashkenas Controller -> Router in the docs, and adding docco for setLocation(). 46fbd4c
Jeremy Ashkenas mention that Backbone require's jQuery > 1.4.2, if using jQuery. Issue 9a1deb6
Jeremy Ashkenas Issue #365. delete options.comparator. 2b1eae4
Jeremy Ashkenas documenting that fetch options can also be jquery options. 9503627
Jeremy Ashkenas Issue #359 -- removing duplicate model.escape documentation. 78212c2
Jeremy Ashkenas fixing refresh -> reset documentation. 2f04473
Jeremy Ashkenas add a warning about pass by reference. Issue #356 d8d94f1
Jeremy Ashkenas document collection.reset() with no args. 5f7b01d
Jeremy Ashkenas Merge branch 'master' of https://github.com/reconbot/backbone into 0.5.0 082cb28
Jeremy Ashkenas Merge branch 'master' of https://github.com/corbanbrook/backbone into…
… 0.5.0
c66650a
Jeremy Ashkenas Merge branch 'patch-1' of https://github.com/damienholzapfel/backbone
…into 0.5.0
f7602a3
Paul Uithol Merge remote branch 'remotes/upstream/master' 6b229ff
Paul Uithol Updated to apply on the 0.5.0 branch d7e3d5b
Paul Uithol Merge branch '0.5.0'
Conflicts:
	backbone.js
dae2527
Jeremy Ashkenas merging in #336. fb8da91
May 27, 2011
Jeremy Ashkenas Issue #250 -- duplicated QUnit. ed63632
Jeremy Ashkenas Issue #246 -- never fire nested change events for the same model. The…
… top-level one will do.
9accf97
Jeremy Ashkenas better document that hasChanged, previous, etc are only valid during …
…a change event. Issue #240
482a115
Jeremy Ashkenas partial issue #239, always pass options to error callbacks / events. 87a81e4
Jeremy Ashkenas Merging in #232. Allow destroy() to be called on non-persisted object…
…s ... just in case.
e01ad9d
Jeremy Ashkenas Adding the Unofficial google group to the documentation. 93c82aa
Jeremy Ashkenas ouch, leaking global attrs. (shakes fist) ff57b65
Jeremy Ashkenas adding headers for all Backbone.js example apps d568305
Jeremy Ashkenas Adding Chop as a Backbone example. 2620c6a
Jun 04, 2011
Loren Sands-Ramshaw clarified example; fixed typo b28bb50
Jun 13, 2011
Niall Smart Collection.add should fail if duplicate id/cid exists 0853866
Jun 14, 2011
Jeremy Ashkenas Adding Chop, Fluxiom, And Menagerie Vet 4057591
Jeremy Ashkenas merged in gh-pages 9bdbdd8
Jeremy Ashkenas adding quoteroller 6ca2dc6
Jeremy Ashkenas Merge branch 'gh-pages' 32deec5
Jun 15, 2011
Artur Adib Minor doc typo 3e4f628
Jun 16, 2011
Samuel Clay Merge pull request #422 from arturadib/master
Minor doc typo
e1167d7
Jun 17, 2011
Test complex query strings. Fails in some browsers. 621c9ed
Jun 18, 2011
Loren Sands-Ramshaw removed unused var 245acb0
Loren Sands-Ramshaw expanded Model.save example 2ed2af6
Jun 20, 2011
Jeremy Ashkenas Adding Decide.com as an example. 61c4874
Jeremy Ashkenas Merge branch 'gh-pages' d2a7309
Jonathan Roes Minor doc typos 16eb3f3
Samuel Clay Merge pull request #432 from jroes/master
Couple of doc typo fixes
7ed20d7
Jun 21, 2011
Sunil Pai Allow initialize on any class to pass on original arguments. 3eb075a
Jun 23, 2011
Fix unit test for model.isNew() 573c347
Model is no longer considered to be new if its id is a falsey value 4e9037b
Jun 29, 2011
Jeremy Ashkenas Merge pull request #438 from gravof/master
Model is no longer considered to be new if its id is a falsey value
0b74a24
Jeremy Ashkenas fixing comment. fa6092b
Jeremy Ashkenas Merge pull request #435 from threepointone/patch-1
Allow initialize on any class to pass on original arguments.
07f753b
Jeremy Ashkenas Merge pull request #430 from reconbot/master
Add complex query string router test
4138b58
Jeremy Ashkenas removing complex router text (unfixable) ba1d9a1
Jeremy Ashkenas #426, better error message when events are missing. 77caaed
Jeremy Ashkenas Issue #417. Word choice for the literal minded. cc46300
Jeremy Ashkenas Merge pull request #414 from niallsmart/master
Fix for issue #413 - collection.add should fail for duplicates
b5112b4
Jul 01, 2011
Jeremy Ashkenas Merge pull request #395 from lorensr/master
Clarified/expanded examples; fixed typos.
1491d29
Jeremy Ashkenas restoring some examples. e67422a
Jeremy Ashkenas slightly saner validation on initialize. ddf1a83
Jeremy Ashkenas almost to 0.5.0... af674c9
Jeremy Ashkenas link to association extensions. 8f07f96
Jeremy Ashkenas replacing setLocation and saveLocation with navigate, after Spine's API. 2e1f85d
Jeremy Ashkenas tweaking transparent URL upgrades. 0798d97