Skip to content

Commit

Permalink
version bump, v1.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahiggins committed Feb 10, 2015
1 parent f06aa86 commit b0427aa
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 6 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-packery",
"version": "1.0.1",
"version": "1.0.2",
"author": "http://github.com/sungard-labs/angular-packery/graphs/contributors",
"homepage": "http://github.com/sungard-labs/angular-packery",
"repository": {
Expand Down
13 changes: 11 additions & 2 deletions dist/packery.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/*!
* angular-packery
* http://github.com/sungard-labs/angular-packery
* Version: 1.0.1
* Version: 1.0.2
* License: MIT
*/

Expand Down Expand Up @@ -202,8 +202,17 @@
scope.draggable = scope.draggable || config.draggable;
scope.handle = scope.handle || config.handle;

// Quick fix so 'false' strings don't evaluate to true
// @TODO: Check for attribute itself, not value of attribute
if (scope.draggable === 'false') { scope.draggable = false; }
if (scope.isHorizontal === 'false') { scope.isHorizontal = false; }
if (scope.isInitLayout === 'false') { scope.isInitLayout = false; }
if (scope.isOriginLeft === 'false') { scope.isOriginLeft = false; }
if (scope.isOriginTop === 'false') { scope.isOriginTop = false; }
if (scope.isResizeBound === 'false') { scope.isResizeBound = false; }

// Set global draggability
scope.draggable ? controller.setDraggable(scope.handle) : angular.noop();
if (scope.draggable) { controller.setDraggable(scope.handle); }

// Create object for Packery instantiation
packeryObj = controller.createAttrObj(scope);
Expand Down
4 changes: 2 additions & 2 deletions dist/packery.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "angular-packery",
"version": "1.0.1",
"version": "1.0.2",
"author": "http://github.com/sungard-labs/angular-packery/graphs/contributors",
"homepage": "http://github.com/sungard-labs/angular-packery",
"repository": {
Expand Down

0 comments on commit b0427aa

Please sign in to comment.