Commit Graph

1364 Commits

Author SHA1 Message Date
Brad Dunbar
b785a593eb Remove shadowed clear function from todo models. 2012-09-22 11:35:03 -04:00
Brad Dunbar
6d0a7fd45b Merge pull request #1596 from fancyoung/patch-1. 2012-09-22 11:28:36 -04:00
Jeremy Ashkenas
7bfce6fe53 Merge pull request #1658 from braddunbar/history-window
Fix #1653 - Ensure that `History` can be used outside of the browser.
2012-09-17 11:46:59 -07:00
Brad Dunbar
a424341355 Fix #1653 - Ensure that History can be used outside of the browser.
* Dispense with options argument.
* Use `window` to retrieve location/history by default.
* Don't throw outside of the browser, allowing location and
  history to be replaced appropriately.
2012-09-17 14:38:48 -04:00
Jeremy Ashkenas
da18e00211 Merge branch 'master' of github.com:documentcloud/backbone 2012-09-17 13:11:20 -04:00
Jeremy Ashkenas
74ba05c8da adding CONTRIBUTING to backbone 2012-09-17 13:10:58 -04:00
Jeremy Ashkenas
161c3a21d7 Merge pull request #1656 from braddunbar/sortby-groupby
Fix #1655 - sortBy & groupBy use attributes.
2012-09-17 08:35:18 -07:00
Brad Dunbar
c344201f6e Fix #1655 - sortBy & groupBy use attributes. 2012-09-17 11:31:46 -04:00
Jeremy Ashkenas
ff0ddbcee2 Merge pull request #1650 from braddunbar/#
Fix #1649 - Set location.hash with a leading #.
2012-09-17 08:26:34 -07:00
Brad Dunbar
07b88efadd Revert "TravisCI integration."
This reverts commit fcd3898e24.

As described in cowboy/grunt#219, grunt's phantomjs bootstrap often causes a
timeout (in v0.3.x).  This is fixed in the development branch of grunt so we
can revisit travis integration after the next release.
2012-09-17 10:47:15 -04:00
Jeremy Ashkenas
8ea7d9a01d Merge pull request #1644 from braddunbar/default-options
Refactor reset/sort.
2012-09-14 10:49:57 -07:00
Jeremy Ashkenas
5b19d8acce tweaking edge link 2012-09-14 13:11:08 -04:00
Jeremy Ashkenas
5eb4c7ba0d Merge branch 'master' of github.com:documentcloud/backbone 2012-09-14 13:08:16 -04:00
Jeremy Ashkenas
e736811fd1 Adding an Edge Version link 2012-09-14 13:07:56 -04:00
Brad Dunbar
07b6760a87 Style - Split long line into two. 2012-09-14 11:02:30 -04:00
Brad Dunbar
7c993bd3fd Fix #1649 - Set location.hash with a leading #. 2012-09-14 10:56:50 -04:00
Brad Dunbar
85fca58bb9 Refactor reset/sort.
* Avoid creating unnecessary objects/arrays.
* Add test for sort-style comparator context.
2012-09-14 08:13:33 -04:00
Brad Dunbar
36a733a8bc Tweak string comparator implementation. 2012-09-14 08:05:41 -04:00
Brad Dunbar
8fdcaf207a Merge pull request #1587 from krawaller/master.
Conflicts:
	test/collection.js
2012-09-14 07:19:57 -04:00
KungD
8f29954011 removed prefix logic 2012-09-14 07:22:22 +02:00
KungD
4707b02056 removed automatic sorting in anticipation of sort option to .set 2012-09-12 18:27:10 +02:00
KungD
d2b4c1e55e test update 2012-09-12 07:06:54 +02:00
KungD
72c460753f updated docs to reflect automatic resorting 2012-09-12 06:51:20 +02:00
KungD
342a525e12 automatic resort when sorting attribute changes 2012-09-12 06:43:55 +02:00
KungD
43491f6f28 minor performance refactor 2012-09-12 06:09:48 +02:00
Jeremy Ashkenas
dc960f7933 Merge pull request #1637 from braddunbar/travis
TravisCI integration.
2012-09-10 09:03:34 -07:00
Brad Dunbar
fcd3898e24 TravisCI integration. 2012-09-10 09:29:24 -04:00
Brad Dunbar
3b08fb8c89 Remove dependencies on qunit html. 2012-09-07 08:00:04 -04:00
Brad Dunbar
68e4377d15 Merge pull request #1629 from gsamokovarov/view-test-refactoring. 2012-09-07 07:28:44 -04:00
Jeremy Ashkenas
e809bfbfbd Merge pull request #1628 from braddunbar/frag
Remove unnecessary `frag` variable.
2012-09-06 07:40:54 -07:00
Genadi Samokovarov
e413f63a4b Refactor test/view.js 2012-09-06 15:06:17 +03:00
Brad Dunbar
c19459a816 Remove unnecessary frag variable. 2012-09-05 16:06:05 -04:00
Jeremy Ashkenas
3fd842c6d3 Merge pull request #1626 from braddunbar/test-prefix
Drop doubled test prefixes.
2012-09-05 06:27:47 -07:00
Brad Dunbar
33cdab412e Drop doubled test prefixes. 2012-09-05 08:52:27 -04:00
Brad Dunbar
00a69ccab3 Fix #1615 - Update localstorage code. 2012-09-04 18:15:39 -04:00
Jeremy Ashkenas
f4937ebdbd Merge pull request #1623 from braddunbar/transition-to-hashchange
Add test for transition to hashChange.
2012-09-04 14:16:10 -07:00
Brad Dunbar
f3be02e1e0 Add test for transition to hashChange. 2012-09-04 17:05:34 -04:00
Brad Dunbar
8a7076acf8 Fix #1619 - Streamline rootStripper implementation. 2012-09-04 16:19:24 -04:00
Jerome Lecomte
1efeae70de fix #1619: fix navigation when root is empty
broken by commit d015ef1118
2012-09-04 14:31:30 -04:00
Jeremy Ashkenas
16001ca9a9 Merge pull request #1605 from braddunbar/relative-url
pushState/replaceState takes a relative url.
2012-09-04 07:02:53 -07:00
Brad Dunbar
d015ef1118 pushState/replaceState takes a relative url. 2012-09-04 09:53:46 -04:00
Jeremy Ashkenas
d52c612b07 Merge pull request #1611 from braddunbar/collection-proxy
Avoid creation of extra array in collection proxy.
2012-09-04 05:50:35 -07:00
Jeremy Ashkenas
4beaf2fdf0 Merge pull request #1610 from braddunbar/test-index
test/{test.html -> index.html}
2012-09-04 05:49:44 -07:00
brad dunbar
6f39005169 Merge pull request #1614 from aeosynth/master
update extend comment
2012-09-03 16:39:08 -07:00
James Campos
1206fbe513 update comment 2012-09-03 15:41:33 -07:00
Brad Dunbar
81669f51a1 test/{test.html -> index.html} 2012-09-02 14:37:52 -04:00
Brad Dunbar
f8b5f7fad0 Avoid creation of extra array in collection proxy. 2012-09-02 11:35:41 -04:00
Brad Dunbar
75216c068e Fix #1608 - Clarify render example with template definition. 2012-09-01 18:51:11 -04:00
Jeremy Ashkenas
b3b27367f2 Merge pull request #1607 from braddunbar/result
getValue -> _.result
2012-08-31 10:01:53 -07:00
Brad Dunbar
10db0ab258 getValue -> _.result 2012-08-31 12:44:01 -04:00