From e93ac01e5a92d92d2362f3cf7f03561dd1c93181 Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Mon, 28 Sep 2015 12:54:23 -0700 Subject: [PATCH 01/11] chore(meteor): add meteor package metadata file --- .versions | 5 +++++ package.js | 25 +++++++++++++++++++++++++ 2 files changed, 30 insertions(+) create mode 100644 .versions create mode 100644 package.js diff --git a/.versions b/.versions new file mode 100644 index 0000000..0f54ad0 --- /dev/null +++ b/.versions @@ -0,0 +1,5 @@ +aaronroberson:angular-swiper@0.2.0 +angular:angular@1.3.15_1 +meteor@1.1.7 +swiper:swiper@3.0.8 +underscore@1.0.4 diff --git a/package.js b/package.js new file mode 100644 index 0000000..9863320 --- /dev/null +++ b/package.js @@ -0,0 +1,25 @@ +// package metadata file for Meteor.js +var packageName = 'aaronroberson:angular-swiper'; +var where = 'client'; +var version = '0.2.0'; +var summary = 'Angular directive for iDangero.us Swiper'; +var gitLink = 'https://github.com/aaronroberson/angular-swiper'; +var documentationFile = 'README.md'; + +// Meta-data +Package.describe({ + name: packageName, + version: version, + summary: summary, + git: gitLink, + documentation: documentationFile +}); + +Package.onUse(function(api) { + api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0']); // Meteor versions + + api.use('angular:angular@1.3.0', where) + api.use('swiper:swiper@3.0.5', where); // Dependencies + + api.addFiles('src/angular-swiper.js', where); // Files in use +}); \ No newline at end of file From a6c1b4ca5c8c8708abda373e950794dc93136559 Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Sun, 4 Oct 2015 14:45:18 -0700 Subject: [PATCH 02/11] chore(meteor): use dist which contains annotations --- package.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/package.js b/package.js index 9863320..1957fa2 100644 --- a/package.js +++ b/package.js @@ -1,9 +1,9 @@ // package metadata file for Meteor.js -var packageName = 'aaronroberson:angular-swiper'; +var packageName = 'ksachdeva:angular-swiper'; var where = 'client'; -var version = '0.2.0'; +var version = '0.2.1'; var summary = 'Angular directive for iDangero.us Swiper'; -var gitLink = 'https://github.com/aaronroberson/angular-swiper'; +var gitLink = 'https://github.com/ksachdeva/angular-swiper'; var documentationFile = 'README.md'; // Meta-data @@ -21,5 +21,5 @@ Package.onUse(function(api) { api.use('angular:angular@1.3.0', where) api.use('swiper:swiper@3.0.5', where); // Dependencies - api.addFiles('src/angular-swiper.js', where); // Files in use + api.addFiles('dist/angular-swiper.js', where); // Files in use }); \ No newline at end of file From 6b3644454fe1a3b900570f6f0f4df92580cf15ef Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Sun, 4 Oct 2015 14:46:41 -0700 Subject: [PATCH 03/11] chore(meteor): update package name to aaronroberson:angular-swiper --- .versions | 4 ++-- package.js | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.versions b/.versions index 0f54ad0..0e597e9 100644 --- a/.versions +++ b/.versions @@ -1,5 +1,5 @@ -aaronroberson:angular-swiper@0.2.0 angular:angular@1.3.15_1 -meteor@1.1.7 +ksachdeva:angular-swiper@0.2.1 +meteor@1.1.9 swiper:swiper@3.0.8 underscore@1.0.4 diff --git a/package.js b/package.js index 1957fa2..0b938b1 100644 --- a/package.js +++ b/package.js @@ -1,9 +1,9 @@ // package metadata file for Meteor.js -var packageName = 'ksachdeva:angular-swiper'; +var packageName = 'aaronroberson:angular-swiper'; var where = 'client'; var version = '0.2.1'; var summary = 'Angular directive for iDangero.us Swiper'; -var gitLink = 'https://github.com/ksachdeva/angular-swiper'; +var gitLink = 'https://github.com/aaronroberson/angular-swiper'; var documentationFile = 'README.md'; // Meta-data From 76ce39ef273ac15c542426a2835d32c20915e6f4 Mon Sep 17 00:00:00 2001 From: JWoodJr Date: Wed, 7 Oct 2015 13:06:37 -0700 Subject: [PATCH 04/11] feat(wrapper): add wrapper class to the directive --- src/angular-swiper.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/angular-swiper.js b/src/angular-swiper.js index f008395..1655e99 100644 --- a/src/angular-swiper.js +++ b/src/angular-swiper.js @@ -40,6 +40,7 @@ autoplay: '=', initialSlide: '=', containerCls: '@', + wrapperCls: '@', paginationCls: '@', slideCls: '@', direction: '@', @@ -121,7 +122,7 @@ .attr('id', prevButtonId); }, - template: '
' + template: '
' } } From 0ea58c1722466379e30fc8120bb090ecec594bf5 Mon Sep 17 00:00:00 2001 From: AndyHan1001 Date: Mon, 23 Nov 2015 16:51:11 -0800 Subject: [PATCH 05/11] add scrollbar to the swiper --- dist/angular-swiper.js | 2 +- src/angular-swiper.js | 15 ++++++++++++--- 2 files changed, 13 insertions(+), 4 deletions(-) diff --git a/dist/angular-swiper.js b/dist/angular-swiper.js index b844291..c3f6038 100644 --- a/dist/angular-swiper.js +++ b/dist/angular-swiper.js @@ -1 +1 @@ -!function(e,i,t){"use strict";function n(){for(var e=[],i="0123456789abcdef",t=0;36>t;t++)e[t]=i.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=i.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-";var n=e.join("");return n}function r(e){return{restrict:"E",transclude:!0,scope:{onReady:"&",slidesPerView:"=",slidesPerColumn:"=",spaceBetween:"=",parallax:"=",parallaxTransition:"@",paginationIsActive:"=",paginationClickable:"=",showNavButtons:"=",loop:"=",autoplay:"=",initialSlide:"=",containerCls:"@",paginationCls:"@",slideCls:"@",direction:"@",swiper:"=",overrideParameters:"="},controller:["$scope","$element",function(e,n){this.buildSwiper=function(){var r={slidesPerView:e.slidesPerView||1,slidesPerColumn:e.slidesPerColumn||1,spaceBetween:e.spaceBetween||0,direction:e.direction||"horizontal",loop:e.loop||!1,initialSlide:e.initialSlide||0,showNavButtons:!1};e.autoplay===!0&&(r=i.extend({},r,{autoplay:!0})),e.paginationIsActive===!0&&(r=i.extend({},r,{paginationClickable:e.paginationClickable||!0,pagination:"#paginator-"+e.swiper_uuid})),e.showNavButtons===!0&&(r.nextButton="#nextButton-"+e.swiper_uuid,r.prevButton="#prevButton-"+e.swiper_uuid),e.overrideParameters&&(r=i.extend({},r,e.overrideParameters));{var a;e.containerCls||""}i.isObject(e.swiper)?(e.swiper=new Swiper(n[0].firstChild,r),a=e.swiper):a=new Swiper(n[0].firstChild,r),e.onReady!==t&&e.onReady({swiper:a})}}],link:function(e,t,r){var a=n();e.swiper_uuid=a;var s="paginator-"+a,o="prevButton-"+a,l="nextButton-"+a;i.element(t[0].querySelector(".swiper-pagination")).attr("id",s),i.element(t[0].querySelector(".swiper-button-next")).attr("id",l),i.element(t[0].querySelector(".swiper-button-prev")).attr("id",o)},template:'
'}}function a(e){return{restrict:"E",require:"^ksSwiperContainer",transclude:!0,template:"
",replace:!0,link:function(i,t,n,r){i.$last===!0&&e(function(){r.buildSwiper()},0)}}}i.module("ksSwiper",[]).directive("ksSwiperContainer",r).directive("ksSwiperSlide",a),r.$inject=["$log"],a.$inject=["$timeout"]}(window,angular,void 0); \ No newline at end of file +!function(e,i,r){"use strict";function t(){for(var e=[],i="0123456789abcdef",r=0;36>r;r++)e[r]=i.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=i.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-";var t=e.join("");return t}function a(e){return{restrict:"E",transclude:!0,scope:{onReady:"&",slidesPerView:"=",slidesPerColumn:"=",spaceBetween:"=",parallax:"=",parallaxTransition:"@",paginationIsActive:"=",paginationClickable:"=",showNavButtons:"=",showScrollBar:"=",loop:"=",autoplay:"=",initialSlide:"=",containerCls:"@",wrapperCls:"@",paginationCls:"@",slideCls:"@",direction:"@",swiper:"=",overrideParameters:"="},controller:["$scope","$element",function(e,t){this.buildSwiper=function(){var a={slidesPerView:e.slidesPerView||1,slidesPerColumn:e.slidesPerColumn||1,spaceBetween:e.spaceBetween||0,direction:e.direction||"horizontal",loop:e.loop||!1,initialSlide:e.initialSlide||0,showNavButtons:!1};e.autoplay===!0&&(a=i.extend({},a,{autoplay:!0})),e.paginationIsActive===!0&&(a=i.extend({},a,{paginationClickable:e.paginationClickable||!0,pagination:"#paginator-"+e.swiper_uuid})),e.showNavButtons===!0&&(a.nextButton="#nextButton-"+e.swiper_uuid,a.prevButton="#prevButton-"+e.swiper_uuid),e.showScrollBar===!0&&(a.scrollbar="#scrollBar-"+e.swiper_uuid),e.overrideParameters&&(a=i.extend({},a,e.overrideParameters));var n;e.containerCls||"";i.isObject(e.swiper)?(e.swiper=new Swiper(t[0].firstChild,a),n=e.swiper):n=new Swiper(t[0].firstChild,a),e.onReady!==r&&e.onReady({swiper:n})}}],link:function(e,r,a){var n=t();e.swiper_uuid=n;var s="paginator-"+n,o="prevButton-"+n,l="nextButton-"+n,p="scrollBar-"+n;i.element(r[0].querySelector(".swiper-pagination")).attr("id",s),i.element(r[0].querySelector(".swiper-button-next")).attr("id",l),i.element(r[0].querySelector(".swiper-button-prev")).attr("id",o),i.element(r[0].querySelector(".swiper-scrollbar")).attr("id",p)},template:'
'}}function n(e){return{restrict:"E",require:"^ksSwiperContainer",transclude:!0,template:"
",replace:!0,link:function(i,r,t,a){i.$last===!0&&e(function(){a.buildSwiper()},0)}}}i.module("ksSwiper",[]).directive("ksSwiperContainer",a).directive("ksSwiperSlide",n),a.$inject=["$log"],n.$inject=["$timeout"]}(window,angular,void 0); \ No newline at end of file diff --git a/src/angular-swiper.js b/src/angular-swiper.js index 1655e99..01d267a 100644 --- a/src/angular-swiper.js +++ b/src/angular-swiper.js @@ -1,4 +1,4 @@ -(function(window, angular, undefined) { +(function(window, angular, undefined) { // the fork of package https://atmospherejs.com/aaronroberson/angular-swiper. modification: add the scroll bar to the swiper. 'use strict'; @@ -36,6 +36,7 @@ paginationIsActive: '=', paginationClickable: '=', showNavButtons: '=', + showScrollBar: '=', // my own code here loop: '=', autoplay: '=', initialSlide: '=', @@ -80,6 +81,10 @@ params.prevButton = '#prevButton-' + $scope.swiper_uuid; } + if ($scope.showScrollBar === true) { // my own code + params.scrollbar = '#scrollBar-' + $scope.swiper_uuid; + } + if($scope.overrideParameters){ params = angular.extend({}, params, $scope.overrideParameters); } @@ -111,6 +116,7 @@ var paginatorId = "paginator-" + uuid; var prevButtonId = "prevButton-" + uuid; var nextButtonId = "nextButton-" + uuid; + var scrollBarId = 'scrollBar-' + uuid; // my own code here angular.element(element[0].querySelector('.swiper-pagination')) .attr('id', paginatorId); @@ -120,9 +126,12 @@ angular.element(element[0].querySelector('.swiper-button-prev')) .attr('id', prevButtonId); + + angular.element(element[0].querySelector('.swiper-scrollbar')) + .attr('id', scrollBarId); // my own code here }, - template: '
' + template: '
' } } @@ -144,4 +153,4 @@ } } -})(window, angular, undefined); +})(window, angular, undefined); \ No newline at end of file From f7339bef0b3ffa1283a35121d3fbb5e6f8ba47e2 Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Tue, 1 Dec 2015 16:08:55 -0800 Subject: [PATCH 06/11] chore(version): bump version to 0.2.2 --- .versions | 2 +- package.js | 2 +- package.json | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.versions b/.versions index 0e597e9..9d4b931 100644 --- a/.versions +++ b/.versions @@ -1,5 +1,5 @@ +aaronroberson:angular-swiper@0.2.1 angular:angular@1.3.15_1 -ksachdeva:angular-swiper@0.2.1 meteor@1.1.9 swiper:swiper@3.0.8 underscore@1.0.4 diff --git a/package.js b/package.js index 0b938b1..6f73ec3 100644 --- a/package.js +++ b/package.js @@ -1,7 +1,7 @@ // package metadata file for Meteor.js var packageName = 'aaronroberson:angular-swiper'; var where = 'client'; -var version = '0.2.1'; +var version = '0.2.2'; var summary = 'Angular directive for iDangero.us Swiper'; var gitLink = 'https://github.com/aaronroberson/angular-swiper'; var documentationFile = 'README.md'; diff --git a/package.json b/package.json index ef75dbc..e1953ec 100644 --- a/package.json +++ b/package.json @@ -1,8 +1,8 @@ { "name": "angular-swiper", - "version": "0.0.1", + "version": "0.2.2", "description": "Angular directive for nolimits4web/swiper", - "main": "index.js", + "main": "dist/angular-swiper.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, From 662bdfcacf88d8e024657f4e215c4e9fd6f72fc2 Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Tue, 1 Dec 2015 16:39:39 -0800 Subject: [PATCH 07/11] chore(package): reference src/angular-meteor.js --- package.js | 2 +- package.json | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/package.js b/package.js index 6f73ec3..054863e 100644 --- a/package.js +++ b/package.js @@ -21,5 +21,5 @@ Package.onUse(function(api) { api.use('angular:angular@1.3.0', where) api.use('swiper:swiper@3.0.5', where); // Dependencies - api.addFiles('dist/angular-swiper.js', where); // Files in use + api.addFiles('src/angular-swiper.js', where); // Files in use }); \ No newline at end of file diff --git a/package.json b/package.json index e1953ec..238647c 100644 --- a/package.json +++ b/package.json @@ -25,5 +25,8 @@ "gulp-ng-annotate": "^0.5.2", "gulp-uglify": "^1.1.0", "gulp-webserver": "^0.9.0" + }, + "dependencies": { + "lodash": "^3.10.1" } } From b641d770257d6a63a3d2d92b1e2a829b78dbd52e Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Tue, 1 Dec 2015 17:01:34 -0800 Subject: [PATCH 08/11] feat(0.3.0): sync with upstream at 0.3.0 --- src/angular-swiper.js | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) diff --git a/src/angular-swiper.js b/src/angular-swiper.js index b652611..e57492e 100644 --- a/src/angular-swiper.js +++ b/src/angular-swiper.js @@ -36,7 +36,7 @@ paginationIsActive: '=', paginationClickable: '=', showNavButtons: '=', - showScrollBar: '=', // my own code here + showScrollBar: '=', loop: '=', autoplay: '=', initialSlide: '=', @@ -49,7 +49,6 @@ overrideParameters: '=' }, controller: function($scope, $element, $timeout) { - var self = this; var uuid = createUUID(); $scope.swiper_uuid = uuid; @@ -83,16 +82,14 @@ params.prevButton = '#prevButton-' + $scope.swiper_uuid; } - if ($scope.showScrollBar === true) { // my own code - params.scrollbar = '#scrollBar-' + $scope.swiper_uuid; - } + if ($scope.showScrollBar === true) { + params.scrollbar = '#scrollBar-' + $scope.swiper_uuid; + } if ($scope.overrideParameters) { params = angular.extend({}, params, $scope.overrideParameters); } - var containerCls = $scope.containerCls || ''; - $timeout(function() { var swiper = null; @@ -112,14 +109,14 @@ }); }, - link: function(scope, element, attrs) { + link: function(scope, element) { var uuid = scope.swiper_uuid; var paginatorId = "paginator-" + uuid; var prevButtonId = "prevButton-" + uuid; var nextButtonId = "nextButton-" + uuid; - var scrollBarId = 'scrollBar-' + uuid; // my own code here + var scrollBarId = 'scrollBar-' + uuid; var containerElement = element[0]; @@ -133,15 +130,16 @@ .attr('id', prevButtonId); angular.element(element[0].querySelector('.swiper-scrollbar')) - .attr('id', scrollBarId); // my own code here + .attr('id', scrollBarId); }, template: '
' + '
' + - '
' + + '
' + '
' + '
' + '
' + + '
' + '
' }; } From d8aaefb8f49939c72a7b5f74aac4950d77f443c2 Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Tue, 1 Dec 2015 17:03:25 -0800 Subject: [PATCH 09/11] chore(version): bump meteor package to 0.3.0 --- dist/angular-swiper.js | 2 +- package.js | 13 ++++++------- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/dist/angular-swiper.js b/dist/angular-swiper.js index e0abf4c..9d086c4 100644 --- a/dist/angular-swiper.js +++ b/dist/angular-swiper.js @@ -1 +1 @@ -!function(e,i,t){"use strict";function n(){for(var e=[],i="0123456789abcdef",t=0;36>t;t++)e[t]=i.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=i.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-";var n=e.join("");return n}function r(){return{restrict:"E",transclude:!0,scope:{onReady:"&",slidesPerView:"=",slidesPerColumn:"=",spaceBetween:"=",parallax:"=",parallaxTransition:"@",paginationIsActive:"=",paginationClickable:"=",showNavButtons:"=",loop:"=",autoplay:"=",initialSlide:"=",containerCls:"@",paginationCls:"@",slideCls:"@",direction:"@",swiper:"=",overrideParameters:"="},controller:["$scope","$element","$timeout",function(e,t,r){var a=n();e.swiper_uuid=a;var s={slidesPerView:e.slidesPerView||1,slidesPerColumn:e.slidesPerColumn||1,spaceBetween:e.spaceBetween||0,direction:e.direction||"horizontal",loop:e.loop||!1,initialSlide:e.initialSlide||0,showNavButtons:!1};i.isUndefined(e.autoplay)||"number"!=typeof e.autoplay||(s=i.extend({},s,{autoplay:e.autoplay})),e.paginationIsActive===!0&&(s=i.extend({},s,{paginationClickable:e.paginationClickable||!0,pagination:"#paginator-"+e.swiper_uuid})),e.showNavButtons===!0&&(s.nextButton="#nextButton-"+e.swiper_uuid,s.prevButton="#prevButton-"+e.swiper_uuid),e.overrideParameters&&(s=i.extend({},s,e.overrideParameters));e.containerCls||"";r(function(){var n=null;i.isObject(e.swiper)?(e.swiper=new Swiper(t[0].firstChild,s),n=e.swiper):n=new Swiper(t[0].firstChild,s),i.isUndefined(e.onReady)||e.onReady({swiper:n})})}],link:function(e,t,n){var r=e.swiper_uuid,a="paginator-"+r,s="prevButton-"+r,o="nextButton-"+r,l=t[0];i.element(l.querySelector(".swiper-pagination")).attr("id",a),i.element(l.querySelector(".swiper-button-next")).attr("id",o),i.element(l.querySelector(".swiper-button-prev")).attr("id",s)},template:'
'}}function a(){return{restrict:"E",require:"^ksSwiperContainer",transclude:!0,template:'
',replace:!0}}i.module("ksSwiper",[]).directive("ksSwiperContainer",r).directive("ksSwiperSlide",a)}(window,angular,void 0); \ No newline at end of file +!function(e,i,r){"use strict";function t(){for(var e=[],i="0123456789abcdef",r=0;36>r;r++)e[r]=i.substr(Math.floor(16*Math.random()),1);e[14]="4",e[19]=i.substr(3&e[19]|8,1),e[8]=e[13]=e[18]=e[23]="-";var t=e.join("");return t}function a(){return{restrict:"E",transclude:!0,scope:{onReady:"&",slidesPerView:"=",slidesPerColumn:"=",spaceBetween:"=",parallax:"=",parallaxTransition:"@",paginationIsActive:"=",paginationClickable:"=",showNavButtons:"=",showScrollBar:"=",loop:"=",autoplay:"=",initialSlide:"=",containerCls:"@",wrapperCls:"@",paginationCls:"@",slideCls:"@",direction:"@",swiper:"=",overrideParameters:"="},controller:["$scope","$element","$timeout",function(e,r,a){var n=t();e.swiper_uuid=n;var s={slidesPerView:e.slidesPerView||1,slidesPerColumn:e.slidesPerColumn||1,spaceBetween:e.spaceBetween||0,direction:e.direction||"horizontal",loop:e.loop||!1,initialSlide:e.initialSlide||0,showNavButtons:!1};i.isUndefined(e.autoplay)||"number"!=typeof e.autoplay||(s=i.extend({},s,{autoplay:e.autoplay})),e.paginationIsActive===!0&&(s=i.extend({},s,{paginationClickable:e.paginationClickable||!0,pagination:"#paginator-"+e.swiper_uuid})),e.showNavButtons===!0&&(s.nextButton="#nextButton-"+e.swiper_uuid,s.prevButton="#prevButton-"+e.swiper_uuid),e.showScrollBar===!0&&(s.scrollbar="#scrollBar-"+e.swiper_uuid),e.overrideParameters&&(s=i.extend({},s,e.overrideParameters)),a(function(){var t=null;i.isObject(e.swiper)?(e.swiper=new Swiper(r[0].firstChild,s),t=e.swiper):t=new Swiper(r[0].firstChild,s),i.isUndefined(e.onReady)||e.onReady({swiper:t})})}],link:function(e,r){var t=e.swiper_uuid,a="paginator-"+t,n="prevButton-"+t,s="nextButton-"+t,o="scrollBar-"+t,l=r[0];i.element(l.querySelector(".swiper-pagination")).attr("id",a),i.element(l.querySelector(".swiper-button-next")).attr("id",s),i.element(l.querySelector(".swiper-button-prev")).attr("id",n),i.element(r[0].querySelector(".swiper-scrollbar")).attr("id",o)},template:'
'}}function n(){return{restrict:"E",require:"^ksSwiperContainer",transclude:!0,template:'
',replace:!0}}i.module("ksSwiper",[]).directive("ksSwiperContainer",a).directive("ksSwiperSlide",n)}(window,angular,void 0); \ No newline at end of file diff --git a/package.js b/package.js index 054863e..075bbbd 100644 --- a/package.js +++ b/package.js @@ -1,8 +1,7 @@ -// package metadata file for Meteor.js var packageName = 'aaronroberson:angular-swiper'; var where = 'client'; -var version = '0.2.2'; -var summary = 'Angular directive for iDangero.us Swiper'; +var version = '0.3.0'; +var summary = 'Angular directive for iDangero.us Swiper repackaged for Meteor'; var gitLink = 'https://github.com/aaronroberson/angular-swiper'; var documentationFile = 'README.md'; @@ -16,10 +15,10 @@ Package.describe({ }); Package.onUse(function(api) { - api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0']); // Meteor versions + api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0']); - api.use('angular:angular@1.3.0', where) - api.use('swiper:swiper@3.0.5', where); // Dependencies + api.use('angular:angular@1.3.0', where); + api.use('swiper:swiper@3.0.5', where); - api.addFiles('src/angular-swiper.js', where); // Files in use + api.addFiles('src/angular-swiper.js', where); }); \ No newline at end of file From a335aa259896b8bd05c53897b05bee09134875e1 Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Tue, 1 Dec 2015 17:10:23 -0800 Subject: [PATCH 10/11] fix(package): update meteor package to dist with annotations --- .versions | 2 +- package.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.versions b/.versions index 025cb03..932cac5 100644 --- a/.versions +++ b/.versions @@ -1,4 +1,4 @@ -aaronroberson:angular-swiper@0.2.2 +aaronroberson:angular-swiper@0.3.0-1 angular:angular@1.3.15_1 meteor@1.1.10 swiper:swiper@3.0.8 diff --git a/package.js b/package.js index 075bbbd..156f344 100644 --- a/package.js +++ b/package.js @@ -1,6 +1,6 @@ var packageName = 'aaronroberson:angular-swiper'; var where = 'client'; -var version = '0.3.0'; +var version = '0.3.0-1'; var summary = 'Angular directive for iDangero.us Swiper repackaged for Meteor'; var gitLink = 'https://github.com/aaronroberson/angular-swiper'; var documentationFile = 'README.md'; @@ -20,5 +20,5 @@ Package.onUse(function(api) { api.use('angular:angular@1.3.0', where); api.use('swiper:swiper@3.0.5', where); - api.addFiles('src/angular-swiper.js', where); + api.addFiles('dist/angular-swiper.js', where); }); \ No newline at end of file From 313455bb8b491c8723576f9bbafc9416f6ab87bb Mon Sep 17 00:00:00 2001 From: Aaron Roberson Date: Tue, 1 Dec 2015 17:24:11 -0800 Subject: [PATCH 11/11] chore(version): bump to 0.3.1 --- package.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/package.js b/package.js index 156f344..9cd4d18 100644 --- a/package.js +++ b/package.js @@ -1,7 +1,7 @@ var packageName = 'aaronroberson:angular-swiper'; var where = 'client'; -var version = '0.3.0-1'; -var summary = 'Angular directive for iDangero.us Swiper repackaged for Meteor'; +var version = '0.3.1'; +var summary = 'Angular directive for iDangero.us Swiper re-packaged for Meteor.'; var gitLink = 'https://github.com/aaronroberson/angular-swiper'; var documentationFile = 'README.md'; @@ -21,4 +21,4 @@ Package.onUse(function(api) { api.use('swiper:swiper@3.0.5', where); api.addFiles('dist/angular-swiper.js', where); -}); \ No newline at end of file +});