Skip to content

improvements!

Compare
Choose a tag to compare
@samccone samccone released this 01 Mar 04:47
· 1570 commits to master since this release
  • Improvements
    • Enable more direct module instantiation on Marionette.App.

        var ItemModule = Marionette.Module.extend({
          startWithParent: false,
          initialize: function(options) {},  
          onStart: function() {}
        });
      
        // ...
      
        this.app.module('Items', ItemModule);
    • ui hash interpolation now supports a functional ui hash.

        ui: function() {
          return {
            "click @ui.foo": "attack"
          }
        }
  • Fixes
    • Fix @ui interpolation for handling complex selectors.

        {
          "click div:not(@ui.bar)": "tapper"
        }
    • Bump backbone.babysitter and backbone.wreqr versions.

  • General
    • Improve readme docs for CollectionView, AppRouter and ItemView.
    • Handle THE npm self sign cert problem
    • Replace unneeded argument slicing.
    • Normalize error throwing to use internal throwError helper method.
    • Use _ type checks for non performant code to improve readability and consistency.