backbone.babysitter
Advanced tools
Comparing version 0.1.10 to 0.1.11
{ | ||
"name": "backbone.babysitter", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"homepage": "https://github.com/marionettejs/backbone.babysitter", | ||
@@ -5,0 +5,0 @@ "authors": [ |
# Change log | ||
### v0.1.11 | ||
* Bump version range of backbone support. | ||
### v0.1.10 | ||
@@ -4,0 +8,0 @@ |
{ | ||
"name": "backbone.babysitter", | ||
"description": "Manage child views in a Backbone.View", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"repo": "marionettejs/backbone.babysitter", | ||
@@ -6,0 +6,0 @@ "main": "lib/backbone.babysitter.js", |
// Backbone.BabySitter | ||
// ------------------- | ||
// v0.1.10 | ||
// v0.1.11 | ||
// | ||
// Copyright (c)2015 Derick Bailey, Muted Solutions, LLC. | ||
// Copyright (c)2016 Derick Bailey, Muted Solutions, LLC. | ||
// Distributed under MIT license | ||
@@ -181,3 +181,3 @@ // | ||
Backbone.ChildViewContainer.VERSION = '0.1.10'; | ||
Backbone.ChildViewContainer.VERSION = '0.1.11'; | ||
@@ -184,0 +184,0 @@ Backbone.ChildViewContainer.noConflict = function () { |
// Backbone.BabySitter | ||
// ------------------- | ||
// v0.1.10 | ||
// v0.1.11 | ||
// | ||
// Copyright (c)2015 Derick Bailey, Muted Solutions, LLC. | ||
// Copyright (c)2016 Derick Bailey, Muted Solutions, LLC. | ||
// Distributed under MIT license | ||
@@ -10,3 +10,4 @@ // | ||
(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 | ||
!function(a,b){if("function"==typeof define&&define.amd)define(["backbone","underscore"],function(a,c){return b(a,c)});else if("undefined"!=typeof exports){var c=require("backbone"),d=require("underscore");module.exports=b(c,d)}else b(a.Backbone,a._)}(this,function(a,b){"use strict";var c=a.ChildViewContainer;return a.ChildViewContainer=function(a,b){var c=function(a){this._views={},this._indexByModel={},this._indexByCustom={},this._updateLength(),b.each(a,this.add,this)};b.extend(c.prototype,{add:function(a,b){var c=a.cid;return this._views[c]=a,a.model&&(this._indexByModel[a.model.cid]=c),b&&(this._indexByCustom[b]=c),this._updateLength(),this},findByModel:function(a){return this.findByModelCid(a.cid)},findByModelCid:function(a){var b=this._indexByModel[a];return this.findByCid(b)},findByCustom:function(a){var b=this._indexByCustom[a];return this.findByCid(b)},findByIndex:function(a){return b.values(this._views)[a]},findByCid:function(a){return this._views[a]},remove:function(a){var c=a.cid;return a.model&&delete this._indexByModel[a.model.cid],b.any(this._indexByCustom,function(a,b){return a===c?(delete this._indexByCustom[b],!0):void 0},this),delete this._views[c],this._updateLength(),this},call:function(a){this.apply(a,b.tail(arguments))},apply:function(a,c){b.each(this._views,function(d){b.isFunction(d[a])&&d[a].apply(d,c||[])})},_updateLength:function(){this.length=b.size(this._views)}});var d=["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 b.each(d,function(a){c.prototype[a]=function(){var c=b.values(this._views),d=[c].concat(b.toArray(arguments));return b[a].apply(b,d)}}),c}(a,b),a.ChildViewContainer.VERSION="0.1.11",a.ChildViewContainer.noConflict=function(){return a.ChildViewContainer=c,this},a.ChildViewContainer}); | ||
//# sourceMappingURL=backbone.babysitter.min.js.map |
{ | ||
"name": "backbone.babysitter", | ||
"description": "Manage child views in a Backbone.View", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"homepage": "https://github.com/marionettejs/backbone.babysitter", | ||
@@ -41,3 +41,3 @@ "main": "lib/backbone.babysitter.js", | ||
"dependencies": { | ||
"backbone": ">=0.9.9 <=1.2.3", | ||
"backbone": ">=0.9.9 <=1.3.2", | ||
"underscore": ">=1.4.0 <=1.8.3" | ||
@@ -50,5 +50,5 @@ }, | ||
"grunt-contrib-connect": "0.1.2", | ||
"grunt-contrib-jasmine": "0.6.4", | ||
"grunt-contrib-jasmine": "^0.9.2", | ||
"grunt-contrib-jshint": "0.1.1", | ||
"grunt-contrib-uglify": "0.1.1", | ||
"grunt-contrib-uglify": "1.0.1", | ||
"grunt-contrib-watch": "0.2.0", | ||
@@ -55,0 +55,0 @@ "grunt-preprocess": "4.0.0", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
424857
22
+ Addedbackbone@1.3.2(transitive)
- Removedbackbone@1.2.3(transitive)
Updatedbackbone@>=0.9.9 <=1.3.2