Justin Ridgewell
4c98b02b40
Give a nested route example
2015-12-07 11:27:12 -05:00
Graeme Yeates
194c1ce821
Merge pull request #3870 from cherouvim/master
...
#3831 documentation improvement for the "all" event
2015-12-06 02:07:37 -05:00
Justin Ridgewell
bb550baf7e
Merge pull request #3875 from Flamefork/3871-set-parse-undefined
...
Fixed Collection#set regression when parse returns falsy value
2015-12-01 10:25:23 -05:00
Ilia Ablamonov
19b88d2c2d
Fixed Collection#set regression when parse returns falsy value
...
Fixes #3871
2015-12-01 10:00:36 +04:00
Graeme Yeates
d202999c92
Merge pull request #3867 from jdalton/coerce
...
Ensure `attr` is a string when passed to `this.map`.
2015-11-26 15:08:24 -05:00
Ioannis Cherouvim
1a654581fb
#3831
2015-11-26 16:02:06 +02:00
John-David Dalton
24ac0661bc
Ensure attr is a string when passed to this.map.
2015-11-24 09:11:00 -08:00
Graeme Yeates
a5adc1dadd
Merge pull request #3866 from jdalton/invoke-map
...
Simplify `pluck`
2015-11-24 01:38:34 -05:00
John-David Dalton
c23fb5dc4d
Simplify pluck, thanks @jridgewell.
2015-11-23 22:28:37 -08:00
Justin Ridgewell
8109b8745b
Merge pull request #3864 from jdalton/invoke
...
Change `_.invoke` to `_.map`.
2015-11-23 20:12:05 -05:00
John-David Dalton
1be3730cef
Change _.invoke use to _.map.
2015-11-23 16:37:14 -08:00
Adam Krebs
33c7e18069
Merge pull request #3859 from mieszko4/patch-1
...
Make item arrayizing consistent through the file
2015-11-17 10:50:32 -05:00
mieszko4
681dea993d
Make item arrayizing consistent through the file
2015-11-17 05:44:44 +01:00
Adam Krebs
8011b5c75b
fix modelId example
2015-11-12 14:42:11 -05:00
Justin Ridgewell
a6a926d1aa
Merge pull request #3855 from akre54/noglobals
...
Enable QUnit.config.noglobals in tests
2015-11-12 14:32:45 -05:00
Adam Krebs
029e0f7839
Fix anchor tags in ModelId docs
2015-11-12 14:29:12 -05:00
Adam Krebs
15ac7503b2
enable QUnit.config.noglobals in tests
2015-11-12 14:26:19 -05:00
Justin Ridgewell
c55989491e
Whitespace
2015-11-12 11:27:26 -05:00
Vladislav Botvin
74355ab1f4
typo fix
2015-11-12 11:26:06 -05:00
Justin Ridgewell
8db96d22bc
Merge pull request #3850 from adictovirtual/master
...
fixed typo
2015-11-05 10:39:49 -05:00
juan gabriel ramirez
1562e5f5ac
fixed typo
2015-11-05 10:27:44 -05:00
Graeme Yeates
4fb790021f
Merge pull request #3845 from jridgewell/model-id-test
...
Test case for model.id
2015-11-02 11:08:46 -05:00
Justin Ridgewell
7fb6f48966
Test case for model.id
2015-11-02 10:50:59 -05:00
Justin Ridgewell
569f07e6a6
Merge pull request #3820 from jridgewell/reduce-deopt
...
Deopt Underscore methods that change on arguments
2015-10-28 09:36:49 -05:00
Justin Ridgewell
7ed8582d19
Deopt Underscore methods that change on arguments
...
All of our currently deoptimized Underscore methods (`pick`, `omit`,
`invoke`, `without`, and `difference`) change behavior based on the
number of arguments pass to the call. This both adds `reduce` (and
friends).
Supersedes (and incorporates) #3810 .
2015-10-28 10:22:11 -04:00
Graeme Yeates
d1880dda6c
Merge pull request #3834 from jridgewell/model-change-id-regression
...
Fix _onModelEvent regression
2015-10-26 15:18:41 -04:00
Justin Ridgewell
67667c5b8f
Fix _onModelEvent regression
...
Fixes #3662 .
2015-10-26 15:13:17 -04:00
Adam Krebs
8949f7c3f1
Merge pull request #3837 from jridgewell/remove-fix
...
Always return removed array from #_removeModels
2015-10-26 13:42:51 -04:00
Graeme Yeates
a02e733206
Merge pull request #3832 from jashkenas/karma-sauce
...
Use karma concurrency for initiating parallel sauce tests
2015-10-26 11:50:41 -04:00
Justin Ridgewell
7bbbcc8c51
Always return removed array from #_removeModels
...
Fixes #3835 .
2015-10-26 11:19:26 -04:00
Graeme Yeates
1274cc2f2d
Bump karma requirement to 0.13.13 karma-runner/karma#1653
2015-10-23 13:31:14 -04:00
Graeme Yeates
b3d206756a
Update sauce browser matrix
2015-10-22 11:36:39 -04:00
Justin Ridgewell
5b430a9905
Merge pull request #3833 from jridgewell/id-regression
...
Fix 1.2.2 Model#id regression
2015-10-22 10:08:04 -05:00
Justin Ridgewell
fda02db428
Fix 1.2.2 Model#id regression
...
Fixes #3778 .
2015-10-22 11:04:25 -04:00
Graeme Yeates
02548a4bee
Use karma concurrency for initiating parallel sauce tests
2015-10-22 10:01:28 -04:00
Adam Krebs
fee53ab464
Merge pull request #3822 from captbaritone/indent-fix
...
Fix indentation in models test
2015-10-07 12:40:07 -04:00
Jordan Eldredge
95512b0692
Fix indentation in models test
2015-10-07 09:08:48 -07:00
Justin Ridgewell
2e60498b3d
Merge pull request #3821 from captbaritone/indent-fix
...
Fix indention in tests
2015-10-07 11:04:18 -05:00
Jordan Eldredge
2984d95a85
Fix indention in tests
2015-10-07 08:57:41 -07:00
Adam Krebs
bb2c1b9618
make empty collection arguments consistent
2015-10-07 11:56:01 -04:00
Adam Krebs
e08e195830
Merge pull request #3818 from captbaritone/collection-initialize-null-models
...
Document using [] for Collections with zero models
2015-10-07 11:54:38 -04:00
Jordan Eldredge
4b6ad311bd
Document using [] for empty Collections with options
...
The documented example shows passing `[]` to instantiate an empty collection
while still supplying an options object. This change makes the preceding
documentation consistent with that example.
I also noticed that we don't have any tests covering the previously recommended
approach of passing `null` (or any falsey value) for models. I've added a test
to ensure we continue to support that usage.
2015-10-07 08:49:52 -07:00
just-boris
345dd7b128
Allow to make reduce without initial value
2015-10-07 10:59:00 -04:00
Justin Ridgewell
4104cada66
Merge pull request #3819 from captbaritone/semicolons
...
Make implicit ;s in tests explicit
2015-10-07 09:55:11 -05:00
Jordan Eldredge
9fb2f19764
Make implicit ;s in tests explicit
2015-10-07 07:52:35 -07:00
Adam Krebs
c931208a51
Merge pull request #3816 from platinumazure/qunit2
...
Migrated tests to QUnit 2.0 syntax.
2015-10-07 08:48:22 -04:00
Kevin Partington
9c681906a4
Tests: Migrated unit tests to QUnit 2.0 syntax. ( fixes #3813 )
2015-10-06 23:35:30 -05:00
Adam Krebs
190b295c18
Merge pull request #3817 from jashkenas/revert-3765-patch-2
...
Revert "Remove LICENSE from package.json files array."
2015-10-05 10:26:41 -04:00
Adam Krebs
f7e73b6e44
Revert "Remove LICENSE from package.json files array."
2015-10-05 10:25:45 -04:00
Graeme Yeates
7f757696cc
Merge pull request #3811 from jacobbuck/moreunderscore
...
Add `findIndex` and `findLastIndex` underscore methods to Collection.
2015-09-29 19:34:15 -04:00