New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

backbone.marionette

Package Overview
Dependencies
Maintainers
7
Versions
73
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone.marionette - npm Package Versions

1
68

1.7.0

Diff

Changelog

Source

v1.7.0 view commit logs

Version 1.7 represents a significant step in formalizing the ways to improve your view code though reusable behaviors. Say goodbye to custom mixin strategies and welcome behaviors into town.

  • Behaviors

    A Behavior is an isolated set of DOM / user interactions that can be mixed into any View. Behaviors allow you to blackbox View specific interactions into portable logical chunks, keeping your views simple and your code DRY. Read the docs here.

  • Modules

    • Call stop listening on module stop.
  • Events

    • add a before:show event for views and regions
  • Docs

    • Entire refactor of application docs.
  • Tests

    • Rework the module tests to improve readability and consistency.
  • General

    • switch from ~ to ^ for trusted dependencies.
samccone
published 1.6.4 •

Changelog

Source

v1.6.4 view commit logs

  • Fixes
    • Patches a bug that would cause modules to be initialized twice when a custom module class is passed
samccone
published 1.6.3 •

Changelog

Source

v1.6.3 view commit logs

  • 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 {
            "foo": ".foo"
          }
        }
      
    • 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.
samccone
published 1.6.2 •

Changelog

Source

v1.6.2 view commit logs

  • CollectionView/CompositeView
    • allow itemEvents to use string based method names PR 875
    • Modules
      • update module initialize to include moduleName and app PR 898
    • General
      • significantly improve module documentation PR 897
samccone
published 1.6.1 •

Changelog

Source

v1.6.1 view commit logs

  • Modules
    • Fix a bug where a module would not start by default when defined as an object literal
derickbailey
published 1.2.3 •

Changelog

Source

v1.2.3 view commit logs

  • CompositeView
    • Fixed bug where child views were being added before the initial render, thus raising errors.
derickbailey
published 1.1.0 •

Changelog

Source

v1.2.0 view commit logs

  • Update Backbone to 1.1.0

  • Views

    • added the ability to customize the behavior of triggers preventDefault and stopPropagation
  • Collection View / CompositeView

    • added the ability to specifiy getEmptyView for dynamic emptyView lookups
derickbailey
published 1.0.4 •

Changelog

Source

v1.0.4 view commit logs

  • ItemView

    • Added needed constructor function back - it added lots of things and needed to be there
  • CompositeView

    • Added explicit call to CollectionView constructor to allow for inheritance overriding
  • Layout

    • Small clarification for consistency on call to ItemView constructor
derickbailey
published 1.0.3 •

Changelog

Source

v1.0.3 view commit logs

  • ItemView

    • Deleted unneeded constructor function - it added nothing and didn't need to be there
  • CompositeView

    • Added index parameter to method signature, to show that it is available
    • Deleted unneeded constructor function and removed call to getItemView as it was causing problems and was not needed in the constructor.
  • All Views

    • Fixed a bug in the entity and collection event bindings, where stopListening would not unbind the event handlers
  • Renderer / All Views

    • The Renderer.render method will throw a more meaningful error if the supplied template is falsey
  • Region

    • Re-showing a closed view now works by re-rendering and re-inserting the view in to the DOM
    • Region will trigger a show event when showing a view (updated the code to work like the docs already said)
    • Set the currentView before triggering the show events from the region / view
  • RegionManager

    • Fixed a bug to decrement the .length when a region is removed
derickbailey
published 1.0.2 •

Changelog

Source

v1.0.2 view commit logs

  • UI Elements

    • Fix bug to unbind them after the "close" event / onClose method, so the ui elements are available during these
  • AppRouter

    • Fix bug that was reversing the order of routes, causing the wrong route to be fired in many cases
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc