Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

backbone.babysitter

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

backbone.babysitter - npm Package Compare versions

Comparing version 0.1.9 to 0.1.10

4

bower.json
{
"name": "backbone.babysitter",
"version": "0.1.9",
"version": "0.1.10",
"homepage": "https://github.com/marionettejs/backbone.babysitter",

@@ -20,3 +20,3 @@ "authors": [

"dependencies": {
"backbone": ">=0.9.9 <=1.2.2",
"backbone": ">=0.9.9 <=1.2.3",
"underscore": ">=1.4.0 <=1.8.3"

@@ -23,0 +23,0 @@ },

# Change log
### v0.1.10
* Bump version range of backbone support.
### v0.1.9

@@ -4,0 +8,0 @@

{
"name": "backbone.babysitter",
"description": "Manage child views in a Backbone.View",
"version": "0.1.9",
"version": "0.1.10",
"repo": "marionettejs/backbone.babysitter",

@@ -32,5 +32,5 @@ "main": "lib/backbone.babysitter.js",

"dependencies": {
"jashkenas/backbone": ">=0.9.9 <=1.2.2",
"jashkenas/backbone": ">=0.9.9 <=1.2.3",
"jashkenas/underscore": ">=1.4.0 <=1.8.3"
}
}
// Backbone.BabySitter
// -------------------
// v0.1.8
// v0.1.10
//

@@ -181,3 +181,3 @@ // Copyright (c)2015 Derick Bailey, Muted Solutions, LLC.

Backbone.ChildViewContainer.VERSION = '0.1.8';
Backbone.ChildViewContainer.VERSION = '0.1.10';

@@ -184,0 +184,0 @@ Backbone.ChildViewContainer.noConflict = function () {

// Backbone.BabySitter
// -------------------
// v0.1.8
// v0.1.10
//

@@ -10,3 +10,3 @@ // Copyright (c)2015 Derick Bailey, Muted Solutions, LLC.

(function(i,e){if("function"==typeof define&&define.amd)define(["backbone","underscore"],function(i,t){return e(i,t)});else if("undefined"!=typeof exports){var t=require("backbone"),n=require("underscore");module.exports=e(t,n)}else e(i.Backbone,i._)})(this,function(i,e){"use strict";var t=i.ChildViewContainer;return i.ChildViewContainer=function(i,e){var t=function(i){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),e.each(i,this.add,this)};e.extend(t.prototype,{add:function(i,e){var t=i.cid;return this._views[t]=i,i.model&&(this._indexByModel[i.model.cid]=t),e&&(this._indexByCustom[e]=t),this._updateLength(),this},findByModel:function(i){return this.findByModelCid(i.cid)},findByModelCid:function(i){var e=this._indexByModel[i];return this.findByCid(e)},findByCustom:function(i){var e=this._indexByCustom[i];return this.findByCid(e)},findByIndex:function(i){return e.values(this._views)[i]},findByCid:function(i){return this._views[i]},remove:function(i){var t=i.cid;return i.model&&delete this._indexByModel[i.model.cid],e.any(this._indexByCustom,function(i,e){return i===t?(delete this._indexByCustom[e],!0):void 0},this),delete this._views[t],this._updateLength(),this},call:function(i){this.apply(i,e.tail(arguments))},apply:function(i,t){e.each(this._views,function(n){e.isFunction(n[i])&&n[i].apply(n,t||[])})},_updateLength:function(){this.length=e.size(this._views)}});var n=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce"];return e.each(n,function(i){t.prototype[i]=function(){var t=e.values(this._views),n=[t].concat(e.toArray(arguments));return e[i].apply(e,n)}}),t}(i,e),i.ChildViewContainer.VERSION="0.1.8",i.ChildViewContainer.noConflict=function(){return i.ChildViewContainer=t,this},i.ChildViewContainer});
(function(i,e){if("function"==typeof define&&define.amd)define(["backbone","underscore"],function(i,t){return e(i,t)});else if("undefined"!=typeof exports){var t=require("backbone"),n=require("underscore");module.exports=e(t,n)}else e(i.Backbone,i._)})(this,function(i,e){"use strict";var t=i.ChildViewContainer;return i.ChildViewContainer=function(i,e){var t=function(i){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),e.each(i,this.add,this)};e.extend(t.prototype,{add:function(i,e){var t=i.cid;return this._views[t]=i,i.model&&(this._indexByModel[i.model.cid]=t),e&&(this._indexByCustom[e]=t),this._updateLength(),this},findByModel:function(i){return this.findByModelCid(i.cid)},findByModelCid:function(i){var e=this._indexByModel[i];return this.findByCid(e)},findByCustom:function(i){var e=this._indexByCustom[i];return this.findByCid(e)},findByIndex:function(i){return e.values(this._views)[i]},findByCid:function(i){return this._views[i]},remove:function(i){var t=i.cid;return i.model&&delete this._indexByModel[i.model.cid],e.any(this._indexByCustom,function(i,e){return i===t?(delete this._indexByCustom[e],!0):void 0},this),delete this._views[t],this._updateLength(),this},call:function(i){this.apply(i,e.tail(arguments))},apply:function(i,t){e.each(this._views,function(n){e.isFunction(n[i])&&n[i].apply(n,t||[])})},_updateLength:function(){this.length=e.size(this._views)}});var n=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce"];return e.each(n,function(i){t.prototype[i]=function(){var t=e.values(this._views),n=[t].concat(e.toArray(arguments));return e[i].apply(e,n)}}),t}(i,e),i.ChildViewContainer.VERSION="0.1.10",i.ChildViewContainer.noConflict=function(){return i.ChildViewContainer=t,this},i.ChildViewContainer});
//@ sourceMappingURL=backbone.babysitter.map
{
"name": "backbone.babysitter",
"description": "Manage child views in a Backbone.View",
"version": "0.1.9",
"version": "0.1.10",
"homepage": "https://github.com/marionettejs/backbone.babysitter",

@@ -41,3 +41,3 @@ "main": "lib/backbone.babysitter.js",

"dependencies": {
"backbone": ">=0.9.9 <=1.2.2",
"backbone": ">=0.9.9 <=1.2.3",
"underscore": ">=1.4.0 <=1.8.3"

@@ -44,0 +44,0 @@ },

Sorry, the diff of this file is not supported yet

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