1. 08 Mar, 2015 1 commit
    • Sam Saccone's avatar
      Remove use of deprecated AppRegions. · 4ae8c9f6
      Sam Saccone authored
      Marionette has marked `appRegions` as a deprecated feature because it is a
      leaky abstraction for the Application to know so much about the DOM and
      the structure of your actual page.
      Instead of using `appRegions`, Marionette encourages you to setup a
      RootLayout whose concern is setting up render targets.
      
      In the near future we are introducing the concept of a "root" to the
      application object
      https://github.com/marionettejs/backbone.marionette/issues/2279
      
      So that uses will have an idiomatic way of using this pattern. The goal
      here is not to conflate the concerns of splitting up render targets
      with your application, rather the goal is to give users a pattern to follow when
      setting up a single or multiple application objects.
      
      Fixes #1171
      Fixes #1184
      4ae8c9f6
  2. 07 Mar, 2015 1 commit
  3. 02 Mar, 2015 2 commits
  4. 28 Feb, 2015 2 commits
  5. 22 Feb, 2015 1 commit
  6. 21 Feb, 2015 8 commits
  7. 20 Feb, 2015 3 commits
  8. 19 Feb, 2015 4 commits
  9. 17 Feb, 2015 4 commits
    • Sindre Sorhus's avatar
      Merge pull request #1168 from samccone/sjs/fix-escape-behavior · 5ff915aa
      Sindre Sorhus authored
      Fix spec compliance for Marionette.
      5ff915aa
    • Sam Saccone's avatar
      Fix spec compliance for Marionette. · ca2b6620
      Sam Saccone authored
      What:
      
      In issue #789 @ColinEberhardt pointed out that many of the examples do
      not respect the rule that when a user hits the esc key on an input that
      the input should be cleared and the input state should be left.
      
      Upon investigation I found the Marionette example to have never followed
      this directive.
      
      How:
      
      Due the how the escape key works and the keypress event binding from
      jQuery one must use the keyup event to register for the escape key
      keycode.
      
      Once I intercept the event I instruct the input area to simply rerender.
      This has the desired effect in that it clears the transient input state
      and also due to it rendering new childnodes clears the focus from the
      user.
      ca2b6620
    • Sindre Sorhus's avatar
      Merge pull request #1167 from samccone/sjs/update-marionette · f7ece0f5
      Sindre Sorhus authored
      Update use of initializers
      f7ece0f5
    • Sam Saccone's avatar
      Update use of initializers · 88416c1d
      Sam Saccone authored
      Marionette as of v2.3.0 has marked initializers as a deprecated feature.
      https://github.com/marionettejs/backbone.marionette/commit/1717c71af306be28cafebcdafda86ba218df0caa
      
      Why is this?
      
      Back when Marionette was built (late 2011), module patterns were still
      emerging, it was the wild west in many ways. @derickbailey came up with
      the idea of marionette modules. Modules were built for managing "components" and nested
      components. They could be stopped and started at will and were also
      started and stopped with their parents (since modules are nestable).
      
      Initializers and Finalizers (pieces of the Marionette.Callbacks helper
      class) are a great idea, and are a very powerful one at that, allowing people to specifiy actions to take onStart or
      onEnd.
      
      That said, the year is 2015 and much has changed about the landscape of
      modules and javascript. Heck @derickbailey even wrote a post about why you
      should not use them anymore.
      http://derickbailey.com/2014/06/10/browserify-my-new-choice-for-modules-in-a-browser-backbone-app/
      
      Marionette is moving away from modules, and is moving into the land of
      applications and sub applications to help people better handle complex
      applications.
      
      -------
      
      fixes #1105
      88416c1d
  10. 16 Feb, 2015 4 commits
  11. 14 Feb, 2015 3 commits
  12. 12 Feb, 2015 4 commits
  13. 11 Feb, 2015 3 commits