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
8

2.1.0

Diff

Changelog

Source

v2.1.0 view commit logs

  • Features

    • Marionette.Object

      • A base class which other classes can extend from. Marionette.Object incorporates many Backbone conventions and utilities like initialize and Backbone.Events. It is a user friendly class to base your classes on to get Backbone conventions on any generic class.
    • Add a el reference to the views el from within a behavior instance.

    • ItemViews can now have no template by setting template: false

    • Application objects can now configure their default message channel.

      • This will allow you to configure multiple applications to exist at the same time within an app without their event bus colliding.
    • Application objects now have the getOption method.

    • Regions now have a hasView method to determine if there is a view within a given region.

    • Views no longer use toJSON directly on models. Instead they call into the new overridable methods serializeModel and serializeCollection via serializeData

    • Return chainable objects from more methods to be consistent

      • Application: emptyRegions

      • Application: removeRegion

      • CollectionView renderChildView

      • Controller new

      • LayoutView destroy

      • Region reset

      • Region attachView

      • Region empty

      • RegionManager destroy

      • RegionManager emptyRegions (now returns regions)

      • RegionManager removeRegions (now returns regions)

      • RegionManager removeRegion (now returns region)

      • View destroy

      • View undelegateEvents

      • View delegateEvents

    • RegionManager addRegions now accepts a function that returns a region definition in addition to a region definition object

      • This extends to Marionette.Application’s and CompositeView’s regions properties
    • Added CollectionView resortView

      • Override this method on a subclass of CollectionView to provide custom logic for rendering after sorting the collection.
    • View instance is now passed as a third argument to Marionette.Renderer.render

    • Add getRegionManager to Application

  • Fixes

    • CollectionView now maintains proper order when adding a mode
    • Fix component.js path
    • Prevent AppRouter from erroring when appRoutes are passed into the router constructor as an option.
    • UI hash keys now only allow documented syntax, enforcing @ui.stuff instead of @ui<ANY_CHAR>stuff
samccone
published 2.1.0-pre •

Changelog

Source

v2.1.0-pre view commit logs

samccone
published 2.0.3 •

Changelog

Source

v2.0.3 view commit logs

  • Bug Fixes

    • Fixed an issue where before:show was not triggered on a view's behavior when shown within a region.

    • Destroying a view outside of its region will now cause the region to remove its reference to that view.

samccone
published 2.0.2 •

Changelog

Source

v2.0.2 view commit logs

  • Bug Fixes
    • Fixed issue where render:collection called before the entire collection and children had been rendered.

    • General

      • Remove bundled main entry point for bower.
samccone
published 2.0.1 •

Changelog

Source

v2.0.1 view commit logs

  • Fix missing Wreqr and Babysitter in Core AMD definition.
samccone
published 2.0.0 •

Changelog

Source

v2.0.0 view commit logs

  • This is a breaking release and contains many API updates and changes, thus changelog is quite large for this release, please refer to the google doc for the full details of what is new and what has changed.
samccone
published 1.8.8 •

Changelog

Source

v1.8.8 view commit logs

  • Fixes
    • Fixed the case where onShow was not called on child view behaviors when inside a Collection or Composite view.
samccone
published 1.8.7 •

Changelog

Source

v1.8.7 view commit logs

  • Fixes
    • Fixed nasty ui interpolation bug with behaviors.

    • General

      • Minor Doc cleanup
samccone
published 1.8.6 •

Changelog

Source

v1.8.6 view commit logs

  • Regions
    • Region.show now returns the region instance to allow for region operation chaining.

    • Region.show triggers the view's native triggerMethod if it exists. This is to handle the case that triggerMethod is wrapped by a Marionette.Behavior.

    • General

      • Update jquery 2.x upper bound dependency restrictions.
      • The grunt test command will now complain if you do not have bower components installed.
      • Readme cleanups.
samccone
published 2.0.0-pre.1 •

Changelog

Source

v2.0.0-pre.1 view commit logs

  • The changelog is quite large for this release, please refer to the google doc
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