Commit Graph

  • e58e6f0e41 Fix issue with atRoot matching. Justin Ridgewell 2015-01-12 18:38:20 -05:00
  • de657282f5 Simplify root normalization Justin Ridgewell 2015-01-12 17:29:04 -05:00
  • 50f364c111 Add test case for root with mandatory trailing slash Justin Ridgewell 2015-01-12 16:50:54 -05:00
  • 077dbf0a5e Use _usePushState to determine "wants" and "has" Justin Ridgewell 2015-01-12 15:30:19 -05:00
  • ab304871d7 Simplify History.root Justin Ridgewell 2015-01-12 15:22:32 -05:00
  • 918ceaf514 Update documentation for Backbone.Router Paulus Schoutsen 2015-01-07 14:56:26 -08:00
  • faea842b89 Elaborate on History#decodeFragment. Brad Dunbar 2015-01-05 11:24:24 -05:00
  • d52ed125a8 Merge pull request #3435 from braddunbar/search-test Adam Krebs 2015-01-04 23:22:02 -05:00
  • 7af3329175 Ensure a search test fails when appropriate. Brad Dunbar 2015-01-04 11:38:35 -05:00
  • 7ed58e4d39 Decode unicode escapes without decoding %25. Brad Dunbar 2015-01-04 10:52:58 -05:00
  • f752362cfb Merge pull request #3431 from yokangy/patch-1 Jeremy Ashkenas 2015-01-01 15:56:33 -05:00
  • 585e2441f6 Add missing articles ('a', 'the') Y Kang 2015-01-01 11:11:54 -08:00
  • c2b2a71c29 Call the success callback with context Justin Ridgewell 2014-12-22 11:34:55 -05:00
  • 91522b7ed9 Updated View and Routing summaries. Greg MacWilliam 2014-12-22 00:45:16 -05:00
  • 6b4606eeae Adding "Getting Started" documentation section. Greg MacWilliam 2014-12-19 09:00:44 -05:00
  • 29244e4175 Merge pull request #3307 from gf3/model-matches Adam Krebs 2014-12-15 12:15:33 -05:00
  • d04b0f793b Revert "Fix fetch success callback to not reset model/collection if HTTP "304 Not Modified" is received." Jeremy Ashkenas 2014-12-11 15:57:54 -05:00
  • 3c8da29e02 Merge pull request #3410 from kperry42/http304-fetch Jeremy Ashkenas 2014-12-11 15:53:17 -05:00
  • ea24e0a20d Fix fetch success callback to not reset model/collection if HTTP "304 Not Modified" is received. Kevin Perry 2014-12-11 14:33:42 -05:00
  • 54a4c17343 Merge pull request #3407 from brianjscoles/master Adam Krebs 2014-12-08 07:36:20 -05:00
  • 232fb0d40b change "overriden" to "overridden" in two places. Brian Scoles 2014-12-07 22:30:28 -08:00
  • 70636d6d85 Merge pull request #3401 from megawac/npm-files Jeremy Ashkenas 2014-12-01 12:09:32 -05:00
  • 151d252186 Merge pull request #3359 from braddunbar/transition-params Brad Dunbar 2014-11-30 08:40:17 -05:00
  • 85058d4824 Specify npm included files explictly in package.json Graeme 2014-11-28 22:01:32 -05:00
  • 7e67491049 Leave out unnecessary trailing slash. Brad Dunbar 2014-11-26 16:49:50 -05:00
  • 62b1f25aec Add a comment about iframe history. Brad Dunbar 2014-11-16 10:26:38 -05:00
  • efb60cc223 Ensure iframe hash is set. Brad Dunbar 2014-11-16 10:16:26 -05:00
  • 84db2ba31c Merge pull request #3383 from fastest963/addNegative Jeremy Ashkenas 2014-11-14 17:02:47 -05:00
  • c3b09ddb98 Collection.add accepts negative indexes for the at option James Hartig 2014-11-14 16:05:52 -05:00
  • 0519e7df6f Code style cleanup in collection tests and add an extra sort test Adam Krebs 2014-11-13 12:06:44 -05:00
  • 158334f002 Cleanup redundant variables in sort Adam Krebs 2014-11-13 12:06:07 -05:00
  • bc88f125f1 Merge pull request #3381 from fastest963/orderSort Adam Krebs 2014-11-13 11:43:29 -05:00
  • 787ee49d7e Order should trigger a sort iff order was changed James Hartig 2014-11-13 11:39:11 -05:00
  • 433219af8f Merge pull request #3378 from robrobbins/patch-collection-test Jeremy Ashkenas 2014-11-12 17:29:07 -05:00
  • f2fe23e339 use number of assertions, not another var robrobbins 2014-11-12 15:12:05 -07:00
  • 388d819a89 bump underscore dependency to 1.6.0 due to #3331 Adam Krebs 2014-11-12 15:21:31 -05:00
  • 819e174d03 Merge pull request #3331 from megawac/where Adam Krebs 2014-11-12 15:20:29 -05:00
  • 962a3ebc30 Fix unescaped script tag in backbone.localstorage. Closes #3379 Adam Krebs 2014-11-12 14:06:21 -05:00
  • b4df22e298 Merge pull request #3374 from romamatusevich/master Jeremy Ashkenas 2014-11-12 13:01:20 -05:00
  • 51d076c9be listen for invalid, not error robrobbins 2014-11-11 12:45:52 -07:00
  • fb55f3824f Make backbone-min.js available for bower Roma Matusevich 2014-11-08 12:54:37 +03:00
  • 40ea6f1526 Merge pull request #3368 from megawac/lto-ret Adam Krebs 2014-11-03 12:26:09 -05:00
  • acf52d0428 Return the result of listenTo in listenToOnce Graeme Yeates 2014-11-03 12:20:28 -05:00
  • bd2242994b Merge pull request #3366 from akre54/listentoonce-is-borked Jeremy Ashkenas 2014-11-03 12:01:47 -05:00
  • ac1de4deef Off wrapping callback, not the original Justin Ridgewell 2014-10-30 18:15:29 -04:00
  • 2450b70af8 Test that listenToOnce is only called once Justin Ridgewell 2014-10-30 15:15:58 -04:00
  • fab32cc93a Remove duplicated tests Justin Ridgewell 2014-10-30 15:14:58 -04:00
  • 3e567611b6 remove double event binding. Simply stashing the original callback works as intended Adam Krebs 2014-10-30 14:52:53 -04:00
  • 740946142e check for cleaned up references in listenToOnce with stopListening Adam Krebs 2014-10-29 15:46:26 -04:00
  • 3c0cafbf8c move listenTo and listenToOnce in with the rest of the Backbone Events code Adam Krebs 2014-10-29 15:46:00 -04:00
  • 711b658fe3 Invert the for loop Justin Ridgewell 2014-10-29 14:27:58 -04:00
  • e7126ec636 Clean up references on both listener and listened objects Justin Ridgewell 2014-10-29 13:10:51 -04:00
  • b3ab6117c0 Test both _listeningTo and _events are empty Justin Ridgewell 2014-10-29 13:10:28 -04:00
  • 55bdc3f1c0 Remove duplicated context Justin Ridgewell 2014-10-29 11:53:39 -04:00
  • 3461128256 Register stopListening once instead of wrapping Justin Ridgewell 2014-10-29 11:43:48 -04:00
  • 7bf1f2a51e Return this from #listenTo Justin Ridgewell 2014-10-29 11:42:36 -04:00
  • 83c0b38bc7 de-duplicate some of the listenToOnce wrapCallback logic Adam Krebs 2014-10-29 09:16:01 -04:00
  • c6a1df5084 use clearer event names Adam Krebs 2014-10-27 21:32:41 -04:00
  • caee4648b1 implement listenToOnce via listenTo Adam Krebs 2014-10-27 11:06:25 -04:00
  • 89995f079f use on in all cases of listenTo Adam Krebs 2014-10-27 11:02:45 -04:00
  • b12a310e3a fix listenToOnce with event maps Adam Krebs 2014-10-27 10:39:02 -04:00
  • d84e15b08c test for correct context in event maps Adam Krebs 2014-10-27 10:38:43 -04:00
  • 459dc24f80 Fixes listenToOnce memory leak. Jmeas 2014-10-20 12:03:49 -04:00
  • 71cecdc1e2 Failing spec for listenToOnce Jmeas 2014-10-14 18:41:38 -04:00
  • 854a2a4f99 Merge pull request #3362 from jmm/jmm/docs-trailing-whitespace Adam Krebs 2014-10-30 17:44:48 -04:00
  • 8997f6949d Remove trailing whitespace (line containing only space chars). Jesse McCarthy 2014-10-30 16:56:46 -04:00
  • 78b41d663e Don't check hash from iframe. Brad Dunbar 2014-10-30 07:07:59 -04:00
  • 5b97de0a3d Merge pull request #3360 from morganrallen/localStorageDoc Adam Krebs 2014-10-29 09:14:50 -04:00
  • 81eb7fd3cb fixed camel case filename for doc run script Morgan 'ARR\!' Allen 2014-10-27 18:52:45 -07:00
  • ea9f5b8c47 Transition with search params. Brad Dunbar 2014-10-24 11:42:19 -04:00
  • eda14bdfb9 Merge pull request #3357 from braddunbar/trailing-slash Jeremy Ashkenas 2014-10-23 18:25:02 -04:00
  • 23599e7472 Update trailing slash for search params. Brad Dunbar 2014-10-23 18:16:29 -04:00
  • 687ebf679f Merge pull request #3354 from janaspage/patch-3 Jeremy Ashkenas 2014-10-22 15:25:00 -04:00
  • c568fee881 Un-split infinitive [v 2]. Janas Page 2014-10-22 12:15:24 -07:00
  • 188bd820d5 Un-split an infinitive verb tense. Janas Page 2014-10-22 11:13:51 -07:00
  • f1a742d6f0 Merge pull request #3351 from janaspage/patch-2 Adam Krebs 2014-10-21 17:20:44 -04:00
  • 45c80b74dc Hyphenate compound modifier. Janas Page 2014-10-21 14:19:35 -07:00
  • ace13558ac Merge pull request #3326 from biversen21/master Adam Krebs 2014-10-20 14:52:02 -04:00
  • 3d2a8a2dfe Fix a bunch of accessibility issues. Daniel Nixon 2014-10-10 20:48:45 +11:00
  • 0a51e22c05 Merge pull request #3336 from admangum/issue_3306 Adam Krebs 2014-10-09 15:56:57 -04:00
  • dae5424bd5 clone options passed to reset admangum 2014-10-09 12:31:35 -07:00
  • 833ab6f327 don't just test for the presence of options, test that it points to the same object as passed in. Adam Krebs 2014-10-03 14:03:55 -04:00
  • 8a73ff87bc Merge pull request #3329 from hmil/fix-options-success Adam Krebs 2014-10-03 13:57:16 -04:00
  • cdce75ef76 fix wrong test: collection.model must be a function Hadrien Milano 2014-10-03 17:59:35 +02:00
  • 182185d6ac Use matches in .where Graeme Yeates 2014-10-03 00:21:05 -04:00
  • e10ab33e73 fix flawed test Hadrien Milano 2014-10-02 22:15:26 +02:00
  • dd00fd45a7 Update backbone.js comment for clarity Brian Iversen 2014-09-26 12:11:00 -07:00
  • 7554b2f01b draft changelog for backbone 1.2.0 Adam Krebs 2014-08-29 12:07:53 -04:00
  • 743ebb788d Merge pull request #3318 from NickStefan/patch-1 Jeremy Ashkenas 2014-09-25 12:59:35 -04:00
  • 56b66130f4 removed the strong tags, but kept the "with" on 14 Nick Stefan 2014-09-25 09:50:42 -07:00
  • 4927b6e3f0 Merge pull request #3281 from jisaacks/master Adam Krebs 2014-09-25 12:22:18 -04:00
  • 644c912b33 Update README to better match backbonejs.org Nick Stefan 2014-09-23 15:21:21 -07:00
  • c349965312 Merge pull request #3301 from AndrewEastwood/patch-1 Jeremy Ashkenas 2014-09-23 15:37:45 -04:00
  • b966584356 Merge pull request #3039 from fastest963/master Adam Krebs 2014-09-11 13:45:42 -04:00
  • f79885531a Add Model::matches as special-cased proxy to _.matches Gianni Chiappetta 2014-09-11 13:10:30 -04:00
  • 34e1a1e40c Send correct 'at' when firing 'add' event James Hartig 2014-03-31 22:09:05 -04:00
  • fa69c207cd Merge pull request #3265 from tomascasas/bb-col-doc-update Adam Krebs 2014-09-11 11:29:38 -04:00
  • a1b7ac32eb Adding the isEmpty function into the modelMethods Andrew Ivaskevych 2014-09-09 18:03:55 +03:00
  • e6fa0e2aaa Enhancing Model with isEmpty function Andrew Ivaskevych 2014-09-09 16:47:52 +03:00
  • bcd7549bc9 Set correct number of assertions JD Isaacks 2014-09-02 10:33:05 -04:00