Commit Graph

  • e6fc18f299 A facelift for Events#off. Brad Dunbar 2014-02-26 16:31:11 -05:00
  • 0a5ffe817a Merge pull request #3025 from braddunbar/loops Jeremy Ashkenas 2014-02-26 15:08:47 -05:00
  • 64ff32f492 More consistency in loops. Brad Dunbar 2014-02-26 14:51:35 -05:00
  • 261b94aa4c Merge pull request #3023 from braddunbar/set-cleanup Jeremy Ashkenas 2014-02-26 08:19:36 -05:00
  • 2e82a1e638 A little cleanup of Collection#set. Brad Dunbar 2014-02-25 22:20:38 -05:00
  • f7c71996de Tweak and merge. Brad Dunbar 2014-02-25 11:22:33 -05:00
  • a31d86390b Check that model exists before trying to verify uniqueness Ville Lautanala 2014-02-25 01:04:11 +02:00
  • e88d34dd18 Tweak a bit. Brad Dunbar 2014-02-22 13:30:21 -05:00
  • 674f101ad8 Create iframe conditional on options and hashchange and pushstate support Jimmy Yuen Ho Wong 2014-02-22 03:13:27 +08:00
  • 520218769b Do not trigger router/history events if Router#execute returns false Maksim Horbachevsky 2014-02-22 17:46:02 +03:00
  • 557edc7fc0 return this from delegate Adam Krebs 2014-02-22 09:44:47 -05:00
  • c80be41dac Merge pull request #8 from wyuenho/view-native-hooks Adam Krebs 2014-02-21 14:41:26 -05:00
  • 2b19b00d7d Call _createContext only once during new View Jimmy Yuen Ho Wong 2014-02-22 01:13:53 +08:00
  • dc6a697779 Merge pull request #9 from braddunbar/history Adam Krebs 2014-02-21 11:30:24 -05:00
  • f9f7131a06 Add documentation to the iframe approach. Brad Dunbar 2014-02-21 11:23:49 -05:00
  • 3cef7fa7b6 Fix test for fc95eae Jimmy Yuen Ho Wong 2014-02-22 00:02:37 +08:00
  • fc95eaefd2 Revert "Speed up method calls in delegateEvents and delegate" Adam Krebs 2014-02-21 10:00:48 -05:00
  • bde634fd6d Merge pull request #5 from wyuenho/view-native-hooks Adam Krebs 2014-02-21 01:13:40 -05:00
  • a717a71a0f Merge pull request #3011 from braddunbar/clear-interval Jeremy Ashkenas 2014-02-20 17:59:35 -05:00
  • 8dc036c324 Add a comment about clearInterval. Brad Dunbar 2014-02-20 17:35:38 -05:00
  • 53f77901a4 Backbone 1.1.2 1.1.2 Jeremy Ashkenas 2014-02-20 16:34:01 -05:00
  • 01f7f9b4c7 fixes #3004, edge case for titanium Jeremy Ashkenas 2014-02-20 16:26:27 -05:00
  • be3a35428a Comment for 2 arg form inside _delegate Jimmy Yuen Ho Wong 2014-02-21 03:31:08 +08:00
  • e14a903020 Fix typo Jimmy Yuen Ho Wong 2014-02-21 03:19:38 +08:00
  • aca58b7659 No reason jQuery can't be a little faster too Jimmy Yuen Ho Wong 2014-02-21 03:13:17 +08:00
  • 7c46856158 Fix comment Jimmy Yuen Ho Wong 2014-02-21 02:46:20 +08:00
  • a91f6ac900 Merge pull request #6 from braddunbar/history Adam Krebs 2014-02-20 08:10:04 -05:00
  • 07f60793c6 Merge pull request #3010 from braddunbar/newline Jeremy Ashkenas 2014-02-20 07:40:03 -05:00
  • b1bcf0a9c0 Remove onpopstate check. Brad Dunbar 2014-02-20 06:17:30 -05:00
  • 5b49aae75f Handle newlines in route params. Brad Dunbar 2014-02-20 05:53:34 -05:00
  • f872032b52 Disallow chaining in hook calls Jimmy Yuen Ho Wong 2014-02-20 15:22:38 +08:00
  • 09d376237b _createContext is side-effect only Jimmy Yuen Ho Wong 2014-02-20 14:18:21 +08:00
  • 15cb64ec8b Shortened _createContext Jimmy Yuen Ho Wong 2014-02-20 13:05:03 +08:00
  • feeab3faa6 Merge pull request #4 from braddunbar/history Adam Krebs 2014-02-19 23:59:11 -05:00
  • 91ef885137 improve inline comments Adam Krebs 2014-02-19 23:54:50 -05:00
  • 31bb4289b0 Revert introduction of _undelegate Jimmy Yuen Ho Wong 2014-02-20 05:53:13 +08:00
  • 8ab8646361 Prefix all hooks with _ and introduce _undelegate Jimmy Yuen Ho Wong 2014-02-20 05:31:36 +08:00
  • 33e23df577 Rename make to _createContext and have _ensureElement and setElement delegate to it Jimmy Yuen Ho Wong 2014-02-20 05:11:11 +08:00
  • 54252e618e Further isolate $.remove by exposing removeElement in case subclasses forgot to clean up Jimmy Yuen Ho Wong 2014-02-20 02:11:57 +08:00
  • 846de91c88 Speed up method calls in delegateEvents and delegate Jimmy Yuen Ho Wong 2014-02-20 01:23:30 +08:00
  • 19d82b8338 Move delegate up and move check into undelegateEvents Jimmy Yuen Ho Wong 2014-02-20 01:21:39 +08:00
  • 2c50dc52e8 Check documentMode and combine checks. Brad Dunbar 2014-02-19 10:50:46 -05:00
  • e5eeea4a0c Merge pull request #3 from braddunbar/history Adam Krebs 2014-02-19 10:49:20 -05:00
  • 18e15e2a9a Remove isExplorer RegEx. Brad Dunbar 2014-02-19 10:43:15 -05:00
  • 501d7bf67b Merge pull request #2 from braddunbar/history Adam Krebs 2014-02-19 10:30:32 -05:00
  • 87dce15d3c Pass useCapture to removeEventListener. Brad Dunbar 2014-02-19 10:28:26 -05:00
  • 573070fde9 Remove _oldIE variable. Brad Dunbar 2014-02-19 10:19:42 -05:00
  • 4ab05ad5ff check for onpopstate in window instead of window.onpopstate Adam Krebs 2014-02-19 09:04:14 -05:00
  • 5d305bf72b remove first window argument from add/removeEventListener Adam Krebs 2014-02-19 08:54:45 -05:00
  • 0101416800 cleanup oldIE sniff code and iframe creation per @jdalton Adam Krebs 2014-02-19 02:03:33 -05:00
  • aacd0e1603 save two lines in View#make: jquery handles nulls nicely Adam Krebs 2014-02-19 01:07:25 -05:00
  • 111599736a add window.popstate checks for IE7 backwards compat Adam Krebs 2014-02-19 01:12:35 -05:00
  • 6ed0cdd8d2 add in addEventListener shim from @wyuenho (0844b00c) to remove jQuery dependency in History Adam Krebs 2014-02-18 17:55:00 -05:00
  • e9543ee591 add View#delegate as a single event listener version of delegateEvents for easier overriding Adam Krebs 2014-02-18 17:34:54 -05:00
  • 02d270f455 revert c1e62cda: add View#make back in for overriding Adam Krebs 2014-02-18 17:09:01 -05:00
  • e4890b8b83 Merge pull request #3000 from sunkibaek/patch-1 Adam Krebs 2014-02-16 16:42:36 -05:00
  • ae288fad83 Update index.html Sunki Baek 2014-02-16 13:38:55 -08:00
  • 494e021a65 bump test underscore to 1.6.0 and remove shim config from test-amd.html. closes #2999 Adam Krebs 2014-02-16 02:35:42 -05:00
  • f1479e62eb Fixes #2997 — don't bother trying to load jQuery on the server-side. Jeremy Ashkenas 2014-02-14 17:39:07 -05:00
  • 05f12d9572 merged Jeremy Ashkenas 2014-02-13 14:58:47 -05:00
  • 6ccc1583e7 Backbone.js 1.1.1 1.1.1 Jeremy Ashkenas 2014-02-13 14:57:41 -05:00
  • 4d4bf14364 Merge pull request #2995 from somethingkindawierd/master Jeremy Ashkenas 2014-02-13 14:16:20 -05:00
  • c0fa269116 Fixed link to the Walmart mobile app Jon Beebe 2014-02-13 13:10:04 -06:00
  • 722bee4684 Merge pull request #2986 from caseywebdev/gh-2976 Adam Krebs 2014-02-03 13:38:45 -08:00
  • 990ab04a45 Fix #2976 Do not add multiple models with same id Casey Foster 2014-02-03 13:19:27 -06:00
  • 8d4b1967fe Merge pull request #2983 from gdi2290/patch-1 Adam Krebs 2014-02-03 02:19:10 -08:00
  • edb539a353 update copyright year range PatrickJS 2014-02-03 02:01:10 -08:00
  • 8429118984 ignore favicon.ico in bower package Adam Krebs 2014-01-28 17:34:57 +02:00
  • 4755dabb7b menu link Jeremy Ashkenas 2014-01-16 10:45:14 -05:00
  • e6f8f7ea69 menu link Jeremy Ashkenas 2014-01-16 10:45:14 -05:00
  • 3be62f1ea5 Earth. Merge. Jeremy Ashkenas 2014-01-16 10:43:22 -05:00
  • b76d3916c2 Adding Earth as an example app. Jeremy Ashkenas 2014-01-16 10:43:22 -05:00
  • b5b72bafc7 Merge pull request #2957 from braddunbar/unicode-path Jeremy Ashkenas 2014-01-14 14:22:55 -08:00
  • 12fe2d0208 Add a route test for unicode paths. Brad Dunbar 2014-01-14 16:37:57 -05:00
  • 1f5340b36a Merge branch 'branch-1.1.0' of https://github.com/skyhood/backbone Brad Dunbar 2014-01-14 16:30:15 -05:00
  • 2e3eed8d95 decode location.pathname Elisa Oinonen 2014-01-09 15:47:39 +02:00
  • 237486b0cb Merge pull request #2946 from akre54/url-opts-docs Jeremy Ashkenas 2014-01-07 13:37:59 -08:00
  • 1b030f3849 document url and urlRoot options removal Adam Krebs 2014-01-07 16:33:00 -05:00
  • d6ac995c9f Merge pull request #2890 from braddunbar/search-params brad dunbar 2014-01-06 14:21:47 -08:00
  • 934160b707 Merge pull request #2942 from tgriesser/master brad dunbar 2014-01-05 09:28:02 -08:00
  • 8c10b4cedb Minor code tweaks to pass linting Tim Griesser 2014-01-05 09:53:23 -05:00
  • f3290aa5d2 Merge pull request #2938 from nwwells/patch-1 Jeremy Ashkenas 2013-12-31 10:15:13 -08:00
  • 74cf53d533 Added documentation for Backbone.(H|h)istory Nathan Wells 2013-12-31 09:39:59 -07:00
  • c6279669f2 Merge pull request #2934 from watilde/develop Adam Krebs 2013-12-22 18:27:31 -08:00
  • 4f2c63cfa2 gitignore bower_components Daijiro Wachi 2013-12-23 10:10:14 +09:00
  • 172daed1b1 Merge pull request #2930 from tgriesser/remove-reference-patch brad dunbar 2013-12-19 08:49:49 -08:00
  • d381ee92fd Move delete back to model.remove Tim Griesser 2013-12-18 12:06:36 -05:00
  • 405efc72c0 Merge pull request #2912 from braddunbar/url Adam Krebs 2013-12-11 10:28:35 -08:00
  • 2599c52e71 Simplify Model#url, split long line. Brad Dunbar 2013-12-10 17:45:28 -05:00
  • dc779e2182 Tweaking #2905 -- long line styles. Jeremy Ashkenas 2013-12-03 08:22:18 -08:00
  • a6d400baaa Merge pull request #2905 from braddunbar/line-length Jeremy Ashkenas 2013-12-03 08:19:58 -08:00
  • b966c94a38 Split up long lines for style and readability. Brad Dunbar 2013-12-03 11:06:00 -05:00
  • 79b4b4f68e Merge pull request #2903 from clayzermk1/master brad dunbar 2013-12-02 14:08:38 -08:00
  • 8412c34692 Fixed typo with model.isValid() in docs. Clay Walker 2013-12-02 14:06:50 -08:00
  • aa8d245669 Merge pull request #2897 from braddunbar/faq Jeremy Ashkenas 2013-11-27 08:58:45 -08:00
  • a2a1bf99f9 Move the faq above the examples. Brad Dunbar 2013-11-27 11:41:29 -05:00
  • 791033dc1a Add Router#execute hook. Brad Dunbar 2013-11-25 12:48:22 -05:00
  • 066acdc7ed Search params. Brad Dunbar 2013-11-23 13:11:27 -05:00
  • 9ac7e38db8 Merge pull request #2889 from kalafut/master Ted Han 2013-11-22 17:27:44 -08:00
  • b6d874746c Fix broken link kalafut 2013-11-22 17:21:43 -08:00