From 9f30fbf26be343ce5f5e55cf48d6a325bc0fd386 Mon Sep 17 00:00:00 2001 From: "Higgins, Joshua" Date: Tue, 13 Jan 2015 10:14:04 -0500 Subject: [PATCH] version bump, 1.0.1 - fixed isInitLayout issue - updated dependencies to accept latest versions --- bower.json | 2 +- dist/packery.js | 19 ++++++++----------- dist/packery.min.js | 2 +- package.json | 2 +- 4 files changed, 11 insertions(+), 14 deletions(-) diff --git a/bower.json b/bower.json index 1f8b5e7..b52d603 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "angular-packery", - "version": "1.0.0", + "version": "1.0.1", "author": "http://github.com/sungard-labs/angular-packery/graphs/contributors", "homepage": "http://github.com/sungard-labs/angular-packery", "repository": { diff --git a/dist/packery.js b/dist/packery.js index f769470..5b7930d 100644 --- a/dist/packery.js +++ b/dist/packery.js @@ -1,7 +1,7 @@ /*! * angular-packery * http://github.com/sungard-labs/angular-packery - * Version: 1.0.0 + * Version: 1.0.1 * License: MIT */ @@ -65,7 +65,7 @@ return packeryObj; } else { var interval = $interval(function(){ - if (packeryObj !== undefined) { + if (packeryObj !== undefined) { $interval.cancel(interval); deferred.resolve(packeryObj); } @@ -75,7 +75,7 @@ $interval.cancel(interval); deferred.reject(false); }, config.timeout); - + return deferred.promise; } } @@ -93,7 +93,7 @@ self.packery = {}; this.bindDragEvents = function(el) { - var handleSelector, handle, draggabilly; + var handleSelector, handle, draggabilly; handleSelector = self.dragHandle; @@ -156,7 +156,7 @@ el.css('visibility','visible'); $rootScope.$emit('packeryObjectPacked', el[0]); - }); + }); }; this.setDraggable = function (handle) { @@ -189,7 +189,7 @@ handle: '@?' // Type: Boolean // Let's come back to this one... - // stamp: '@?', + // stamp: '@?', }, link: function (scope, element, attrs, controller) { @@ -202,9 +202,6 @@ scope.draggable = scope.draggable || config.draggable; scope.handle = scope.handle || config.handle; - // Check isInitLayout for falsey - if (scope.isInitLayout === "false") scope.isInitLayout = false; - // Set global draggability scope.draggable ? controller.setDraggable(scope.handle) : angular.noop(); @@ -241,7 +238,7 @@ element.css('visibility','hidden'); // Packs individual objects - controller.packObject(element); + controller.packObject(element); } }; }; @@ -249,7 +246,7 @@ var packeryTemplates = function ($templateCache) { $templateCache .put('template/packery/packery.html', [ - '
', + '
', '
', '
', '
' diff --git a/dist/packery.min.js b/dist/packery.min.js index 9e38d3e..06abfd8 100644 --- a/dist/packery.min.js +++ b/dist/packery.min.js @@ -1,7 +1,7 @@ /*! * angular-packery * http://github.com/sungard-labs/angular-packery - * Version: 1.0.0 + * Version: 1.0.1 * License: MIT */ diff --git a/package.json b/package.json index b57c727..d5aa896 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "angular-packery", - "version": "1.0.0", + "version": "1.0.1", "author": "http://github.com/sungard-labs/angular-packery/graphs/contributors", "homepage": "http://github.com/sungard-labs/angular-packery", "repository": {