From 5d5a70509e0ffc9ec9309470dc2b9b115183b5f4 Mon Sep 17 00:00:00 2001 From: Paul Falgout Date: Mon, 11 Mar 2019 15:43:57 +0900 Subject: [PATCH] Release v1.0.0 Long time coming --- CHANGELOG.md | 4 ++++ bower.json | 6 +++--- lib/backbone.babysitter.js | 6 +++--- lib/backbone.babysitter.map | 1 - lib/backbone.babysitter.min.js | 6 +++--- lib/backbone.babysitter.min.js.map | 2 +- package.json | 6 +++--- 7 files changed, 17 insertions(+), 14 deletions(-) delete mode 100644 lib/backbone.babysitter.map diff --git a/CHANGELOG.md b/CHANGELOG.md index 761ea98..c1ff740 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change log +### v1.0.0 + +* Updated Backbone and Underscore version ranges again + ### v1.0.0-pre.2 * Updated Backbone and Underscore version ranges diff --git a/bower.json b/bower.json index 0d73887..52dd388 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "backbone.babysitter", - "version": "0.1.12", + "version": "1.0.0", "homepage": "https://github.com/marionettejs/backbone.babysitter", "authors": [ "Derick Bailey " @@ -17,8 +17,8 @@ "browser" ], "dependencies": { - "backbone": ">=0.9.9 <1.4", - "underscore": ">=1.4.0 <=1.8.3" + "backbone": ">=1.3.3", + "underscore": ">=1.8.3" }, "license": "MIT", "ignore": [ diff --git a/lib/backbone.babysitter.js b/lib/backbone.babysitter.js index fe857d8..fb0401d 100644 --- a/lib/backbone.babysitter.js +++ b/lib/backbone.babysitter.js @@ -1,8 +1,8 @@ // Backbone.BabySitter // ------------------- -// v1.0.0-pre.1 +// v1.0.0 // -// Copyright (c)2016 Derick Bailey, Muted Solutions, LLC. +// Copyright (c)2019 Derick Bailey, Muted Solutions, LLC. // Distributed under MIT license // // http://github.com/marionettejs/backbone.babysitter @@ -191,7 +191,7 @@ })(Backbone, _); - Backbone.ChildViewContainer.VERSION = '1.0.0-pre.1'; + Backbone.ChildViewContainer.VERSION = '1.0.0'; Backbone.ChildViewContainer.noConflict = function () { Backbone.ChildViewContainer = previousChildViewContainer; diff --git a/lib/backbone.babysitter.map b/lib/backbone.babysitter.map deleted file mode 100644 index cab6c38..0000000 --- a/lib/backbone.babysitter.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"sources":["?"],"names":["root","factory","define","amd","Backbone","_","exports","require","module","this","previousChildViewContainer","ChildViewContainer","Container","views","_views","_indexByModel","_indexByCustom","_updateLength","each","add","extend","prototype","view","customIndex","viewCid","cid","model","findByModel","findByModelCid","modelCid","findByCid","findByCustom","index","findByIndex","values","remove","any","key","call","method","apply","tail","arguments","args","isFunction","length","size","methods","concat","toArray","VERSION","noConflict"],"mappings":"CASC,SAASA,EAAMC,GAEd,GAAsB,kBAAXC,SAAyBA,OAAOC,IACzCD,QAAQ,WAAY,cAAe,SAASE,EAAUC,GACpD,MAAOJ,GAAQG,EAAUC,SAEtB,IAAuB,mBAAZC,SAAyB,CACzC,GAAIF,GAAWG,QAAQ,YACnBF,EAAIE,QAAQ,aAChBC,QAAOF,QAAUL,EAAQG,EAAUC,OAEnCJ,GAAQD,EAAKI,SAAUJ,EAAKK,KAG9BI,KAAM,SAASL,EAAUC,GACzB,YAEA,IAAIK,GAA6BN,EAASO,kBAiK1C,OAzJAP,GAASO,mBAAqB,SAAWP,EAAUC,GAKjD,GAAIO,GAAY,SAASC,GACvBJ,KAAKK,UACLL,KAAKM,iBACLN,KAAKO,kBACLP,KAAKQ,gBAELZ,EAAEa,KAAKL,EAAOJ,KAAKU,IAAKV,MAM1BJ,GAAEe,OAAOR,EAAUS,WAMjBF,IAAK,SAASG,EAAMC,GAClB,GAAIC,GAAUF,EAAKG,GAgBnB,OAbAhB,MAAKK,OAAOU,GAAWF,EAGnBA,EAAKI,QACPjB,KAAKM,cAAcO,EAAKI,MAAMD,KAAOD,GAInCD,IACFd,KAAKO,eAAeO,GAAeC,GAGrCf,KAAKQ,gBACER,MAKTkB,YAAa,SAASD,GACpB,MAAOjB,MAAKmB,eAAe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/B,GACNR,EAAUC,GAGbD,EAASO,mBAAmBuC,QAAU,SAEtC9C,EAASO,mBAAmBwC,WAAa,WAEvC,MADA/C,GAASO,mBAAqBD,EACvBD,MAGFL,EAASO","file":"lib/backbone.babysitter.min.js"} \ No newline at end of file diff --git a/lib/backbone.babysitter.min.js b/lib/backbone.babysitter.min.js index 28a82b0..b4ae39c 100644 --- a/lib/backbone.babysitter.min.js +++ b/lib/backbone.babysitter.min.js @@ -1,12 +1,12 @@ // Backbone.BabySitter // ------------------- -// v1.0.0-pre.1 +// v1.0.0 // -// Copyright (c)2016 Derick Bailey, Muted Solutions, LLC. +// Copyright (c)2019 Derick Bailey, Muted Solutions, LLC. // Distributed under MIT license // // http://github.com/marionettejs/backbone.babysitter -!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,b.bind(this.add,this))};b.extend(c.prototype,{add:function(a,b){return this._add(a,b)._updateLength()},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){return this._remove(a)._updateLength()},call:function(a){this.apply(a,b.toArray(arguments).slice(1))},apply:function(a,c){b.each(this._views,function(d){b.isFunction(d[a])&&d[a].apply(d,c||[])})},_updateLength:function(){return this.length=b.size(this._views),this},_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},_remove:function(a){var c=a.cid;return a.model&&delete this._indexByModel[a.model.cid],b.some(this._indexByCustom,b.bind(function(a,b){return a===c?(delete this._indexByCustom[b],!0):void 0},this)),delete this._views[c],this}});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="1.0.0-pre.1",a.ChildViewContainer.noConflict=function(){return a.ChildViewContainer=c,this},a.ChildViewContainer}); +!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,b.bind(this.add,this))};b.extend(c.prototype,{add:function(a,b){return this._add(a,b)._updateLength()},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){return this._remove(a)._updateLength()},call:function(a){this.apply(a,b.toArray(arguments).slice(1))},apply:function(a,c){b.each(this._views,function(d){b.isFunction(d[a])&&d[a].apply(d,c||[])})},_updateLength:function(){return this.length=b.size(this._views),this},_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},_remove:function(a){var c=a.cid;return a.model&&delete this._indexByModel[a.model.cid],b.some(this._indexByCustom,b.bind(function(a,b){if(a===c)return delete this._indexByCustom[b],!0},this)),delete this._views[c],this}});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="1.0.0",a.ChildViewContainer.noConflict=function(){return a.ChildViewContainer=c,this},a.ChildViewContainer}); //# sourceMappingURL=backbone.babysitter.min.js.map \ No newline at end of file diff --git a/lib/backbone.babysitter.min.js.map b/lib/backbone.babysitter.min.js.map index 3a85543..b680293 100644 --- a/lib/backbone.babysitter.min.js.map +++ b/lib/backbone.babysitter.min.js.map @@ -1 +1 @@ -{"version":3,"sources":["backbone.babysitter.js"],"names":["root","factory","define","amd","Backbone","_","exports","require","module","this","previousChildViewContainer","ChildViewContainer","Container","views","_views","_indexByModel","_indexByCustom","_updateLength","each","bind","add","extend","prototype","view","customIndex","_add","findByModel","model","findByModelCid","cid","modelCid","viewCid","findByCid","findByCustom","index","findByIndex","values","remove","_remove","call","method","apply","toArray","arguments","slice","args","isFunction","length","size","some","key","methods","concat","VERSION","noConflict"],"mappings":";;;;;;;;;;CASC,SAASA,EAAMC,GAEd,GAAsB,kBAAXC,SAAyBA,OAAOC,IACzCD,QAAQ,WAAY,cAAe,SAASE,EAAUC,GACpD,MAAOJ,GAAQG,EAAUC,SAEtB,IAAuB,mBAAZC,SAAyB,CACzC,GAAIF,GAAWG,QAAQ,YACnBF,EAAIE,QAAQ,aAChBC,QAAOF,QAAUL,EAAQG,EAAUC,OAEnCJ,GAAQD,EAAKI,SAAUJ,EAAKK,IAG9BI,KAAM,SAASL,EAAUC,GACzB,YAEA,IAAIK,GAA6BN,EAASO,kBA8K1C,OAtKAP,GAASO,mBAAqB,SAAWP,EAAUC,GAKjD,GAAIO,GAAY,SAASC,GACvBJ,KAAKK,UACLL,KAAKM,iBACLN,KAAKO,kBACLP,KAAKQ,gBAELZ,EAAEa,KAAKL,EAAOR,EAAEc,KAAKV,KAAKW,IAAKX,OAMjCJ,GAAEgB,OAAOT,EAAUU,WAMjBF,IAAK,SAASG,EAAMC,GAClB,MAA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AAW,OAAQ,MAAO,OAAQ,SAAU,SACzD,SAAU,SAAU,QAAS,MAAO,OAAQ,MAAO,UACnD,WAAY,SAAU,UAAW,QAAS,UAAW,OACrD,OAAQ,UAAW,UAAW,QAAS,SAWzC,OATA9C,GAAEa,KAAKiC,EAAS,SAASX,GACvB5B,EAAUU,UAAUkB,GAAU,WAC5B,GAAI3B,GAAQR,EAAE+B,OAAO3B,KAAKK,QACtB+B,GAAQhC,GAAOuC,OAAO/C,EAAEqC,QAAQC,WACpC,OAAOtC,GAAEmC,GAAQC,MAAMpC,EAAGwC,MAKvBjC,GACNR,EAAUC,GAGbD,EAASO,mBAAmB0C,QAAU,cAEtCjD,EAASO,mBAAmB2C,WAAa,WAEvC,MADAlD,GAASO,mBAAqBD,EACvBD,MAGFL,EAASO","file":"backbone.babysitter.min.js"} \ No newline at end of file +{"version":3,"sources":["backbone.babysitter.js"],"names":["root","factory","define","amd","Backbone","_","exports","require","module","this","previousChildViewContainer","ChildViewContainer","Container","views","_views","_indexByModel","_indexByCustom","_updateLength","each","bind","add","extend","prototype","view","customIndex","_add","findByModel","model","findByModelCid","cid","modelCid","viewCid","findByCid","findByCustom","index","findByIndex","values","remove","_remove","call","method","apply","toArray","arguments","slice","args","isFunction","length","size","some","key","methods","concat","VERSION","noConflict"],"mappings":";;;;;;;;;;CASC,SAASA,EAAMC,GAEd,GAAsB,kBAAXC,SAAyBA,OAAOC,IACzCD,QAAQ,WAAY,cAAe,SAASE,EAAUC,GACpD,MAAOJ,GAAQG,EAAUC,SAEtB,IAAuB,mBAAZC,SAAyB,CACzC,GAAIF,GAAWG,QAAQ,YACnBF,EAAIE,QAAQ,aAChBC,QAAOF,QAAUL,EAAQG,EAAUC,OAEnCJ,GAAQD,EAAKI,SAAUJ,EAAKK,IAG9BI,KAAM,SAASL,EAAUC,GACzB,YAEA,IAAIK,GAA6BN,EAASO,kBA8K1C,OAtKAP,GAASO,mBAAqB,SAAWP,EAAUC,GAKjD,GAAIO,GAAY,SAAS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AAME,KAIvCxB,EAAE4C,KAAKxC,KAAKO,eAAgBX,EAAEc,KAAK,SAASU,EAAKqB,GAC/C,GAAIrB,IAAQE,EAEV,aADOtB,MAAKO,eAAekC,IACpB,GAERzC,aAGIA,MAAKK,OAAOiB,GAEZtB,OASX,IAAI0C,IAAW,UAAW,OAAQ,MAAO,OAAQ,SAAU,SACzD,SAAU,SAAU,QAAS,MAAO,OAAQ,MAAO,UACnD,WAAY,SAAU,UAAW,QAAS,UAAW,OACrD,OAAQ,UAAW,UAAW,QAAS,SAWzC,OATA9C,GAAEa,KAAKiC,EAAS,SAASX,GACvB5B,EAAUU,UAAUkB,GAAU,WAC5B,GAAI3B,GAAQR,EAAE+B,OAAO3B,KAAKK,QACtB+B,GAAQhC,GAAOuC,OAAO/C,EAAEqC,QAAQC,WACpC,OAAOtC,GAAEmC,GAAQC,MAAMpC,EAAGwC,MAKvBjC,GACNR,EAAUC,GAGbD,EAASO,mBAAmB0C,QAAU,QAEtCjD,EAASO,mBAAmB2C,WAAa,WAEvC,MADAlD,GAASO,mBAAqBD,EACvBD,MAGFL,EAASO","file":"backbone.babysitter.min.js"} \ No newline at end of file diff --git a/package.json b/package.json index 4bd6e4d..852d31f 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "backbone.babysitter", "description": "Manage child views in a Backbone.View", - "version": "1.0.0-pre.2", + "version": "1.0.0", "homepage": "https://github.com/marionettejs/backbone.babysitter", "main": "lib/backbone.babysitter.js", "keywords": [ @@ -42,7 +42,7 @@ "underscore": "^1.8.3" }, "devDependencies": { - "backbone": ">=1.3.3 <1.4.0", + "backbone": ">=1.3.3", "grunt": "0.4.4", "grunt-cli": "0.1.13", "grunt-contrib-concat": "0.1.2", @@ -53,6 +53,6 @@ "grunt-contrib-watch": "0.2.0", "grunt-preprocess": "4.0.0", "grunt-template": "0.2.3", - "underscore": ">=1.4.0 <=1.8.3" + "underscore": ">=1.4.0 <=1.9.1" } }