Adam Krebs
614f0b8311
fix two parse tests to actually have something to parse
2013-02-13 00:39:04 -05:00
Adam Krebs
0b5774b311
initial attempt at moving add logic to update
2013-02-13 00:38:41 -05:00
Casey Foster
6352331643
Merge pull request #2261 from caseywebdev/update
...
Refactor `update` to reduce wasted lookups
2013-02-12 10:29:15 -08:00
Casey Foster
5cf670139c
Refactor update to reduce wasted lookups
2013-02-11 09:52:05 -08:00
Casey Foster
3ce8ff8e00
Merge pull request #2219 from tgriesser/docs-updates
...
Lowercase books in docs
2013-02-11 07:25:22 -08:00
Casey Foster
93967561d9
Refactor, account for double-parse bug in update
2013-02-10 10:03:34 -08:00
Casey Foster
86451644f0
Fix possible memory leak in stopListening, refactor
2013-02-08 23:17:26 -08:00
Casey Foster
ee350e156e
Update parses at model level, simpler get
2013-02-07 18:07:52 -08:00
brad dunbar
e4c046cd4d
Merge pull request #2221 from tgriesser/sync-revert2
...
Making error/success handlers promise compatible
2013-02-05 08:01:34 -08:00
Tim Griesser
5e27cc124f
Merge pull request #3 from braddunbar/patch-1
...
Semicolon.
2013-02-04 08:32:52 -08:00
brad dunbar
0a70b3953c
Semicolon.
2013-02-04 11:29:45 -05:00
Tim Griesser
093c97401d
Add link to MDN for Array#slice
2013-02-04 10:05:23 -05:00
Tim Griesser
b085103a1b
Merge branch 'document_collection_slice' of git://github.com/lukeasrodgers/backbone
...
Documentation for Collection#slice
2013-02-04 10:02:34 -05:00
Luke Rodgers
b05df0ffb2
Documentation for Collection#slice
2013-02-03 11:19:17 -05:00
Luke Rodgers
05339d7a13
Bugfix to tests for Backbone.Collection underscore methods.
...
`_.include` was not being called correctly.
2013-02-02 11:11:10 -05:00
Casey Foster
0631d158ed
Fix #2228 - Add findWhere for parity with underscore
2013-01-31 15:45:59 -08:00
Tim Griesser
bccce455fc
lowercasing all of the instances
2013-01-31 15:04:25 -05:00
Tim Griesser
b1575f72a6
adding tests for error event on all sync methods
2013-01-31 13:34:35 -05:00
Tim Griesser
ebd85e8c15
Merge pull request #2 from caseywebdev/sync-revert2
...
One simplification step further...
2013-01-31 07:02:16 -08:00
Casey Foster
50201bea86
One simplification step further...
2013-01-31 06:47:11 -08:00
Tim Griesser
a60a96168a
Merge pull request #1 from braddunbar/sync
...
Add missing wrapError and simplify a bit.
2013-01-31 04:45:14 -08:00
Brad Dunbar
5a72cac5db
Add missing wrapError and simplify a bit.
2013-01-31 01:56:12 -05:00
Tim Griesser
6e646f1ba7
making error/success handlers promise compatible
2013-01-30 23:41:05 -05:00
Tim Griesser
7b627d2d78
lowercase books in docs
2013-01-30 08:14:32 -05:00
Casey Foster
103c9e87e4
triggerEvents now under the 80 char line and even faster!
2013-01-29 10:15:46 -08:00
Tim Griesser
a5ddc18f37
fixing incorrect save documentation
2013-01-28 20:08:03 -05:00
Casey Foster
1dfebab17e
Tweak chainable events tests
2013-01-27 07:02:02 -08:00
KungD
78b55f7e0f
also tested noevents and eventsAPI code branches
2013-01-27 15:30:02 +01:00
KungD
770883fd25
added event functions chaining tests
2013-01-27 15:04:18 +01:00
Krawaller
a4929aad47
Update backbone.js
...
In `Events.once` we can streamline the final statements `this.on(...); return this;` into `return this.on(...)`, as `Events.on` also returns `this`. Saves a row for a very slight loss of readability.
Same thing applies in the `_.each` loop where we set up the IoC versions of `on` and `once`.
2013-01-27 10:19:56 +01:00
Jeremy Ashkenas
4be1288923
tweaking variable name
2013-01-25 20:42:14 +10:00
Jeremy Ashkenas
4d6b813fad
Merge pull request #2049 from gsamokovarov/listen-to-once
...
Add Events#listenToOnce
2013-01-25 02:40:29 -08:00
Tim Griesser
11a45e6959
Merge pull request #2187 from DreamTheater/patch-3
...
Return "this" reference
2013-01-24 11:24:37 -08:00
Dmytro Nemoga
f5d703b1c8
Return "this" reference
...
Forgot one more return statement.
2013-01-24 21:15:18 +02:00
Tim Griesser
5f657b976c
Merge pull request #2186 from DreamTheater/patch-2
...
Return "this" reference
2013-01-24 11:04:37 -08:00
Dmytro Nemoga
fee896725e
Return "this" reference
...
Return "this" is a good convention that allow to use chains.
2013-01-24 18:40:58 +02:00
Brad Dunbar
be45a320e5
Tweak changed documentation.
2013-01-23 07:56:11 -05:00
Ore Landau
160b27fcdd
Updated documentation for model.changed
...
* Removed a reference to the obsolete model.change.
* Added (IMHO) missing info about model.hasChanged.
2013-01-23 11:50:38 +02:00
Casey Foster
9f546ec8a7
Merge pull request #2178 from diegotres/master
...
Changed the year from 2012 to 2013.
2013-01-22 09:32:58 -08:00
Diego Tres
9def62d2de
Changed the year from 2012 to 2013.
2013-01-22 15:25:13 -02:00
Diego Tres
1c0a7255d3
Changed the year from 2012 to 2013.
2013-01-22 15:24:33 -02:00
Casey Foster
fbcfea4c5f
Refactor var name list -> events for clarity, uniformity
2013-01-22 09:21:48 -08:00
Casey Foster
5cef5703ac
Merge pull request #2176 from diegotres/patch-1
...
Changed the year from 2012 to 2013.
2013-01-22 07:04:40 -08:00
Diego Tres
beea398c8f
Changed the year from 2012 to 2013.
2013-01-22 07:36:38 -02:00
brad dunbar
9e2cf0849e
Merge pull request #2172 from tgriesser/validationError
...
Documenting validationError
2013-01-21 11:30:10 -08:00
Tim Griesser
e716b86ac9
documenting validationError
2013-01-21 14:17:23 -05:00
Jeremy Ashkenas
dbb7e9ead6
Merge pull request #2166 from hokaccha/fix_validate_doc
...
Fix document for `Model#validate`
2013-01-21 00:49:00 -08:00
Kazuhito Hokamura
062f0209ae
Fix document for Model#validate
2013-01-20 18:27:21 +09:00
Genadi Samokovarov
3caee55366
Rename Events#oneTimeListenTo to Events#listenToOnce
2013-01-17 23:20:18 +02:00
Genadi Samokovarov
1f6ed0679f
Add tests for Events#oneTimeListenTo
2013-01-17 23:08:19 +02:00