Skip to content

Commit

Permalink
update version to v1.1.0-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuahiggins committed Jun 25, 2015
1 parent 16168e6 commit 129f643
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
15 changes: 11 additions & 4 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.4
* Version: 1.1.0-dev
* License: MIT
*/

Expand All @@ -20,6 +20,7 @@
draggable: true,
handle: '*',
timeout: 2000,
isAppended: true,
acceptedAttributes: [
'containerStyle',
'columnWidth',
Expand All @@ -31,7 +32,8 @@
'isResizeBound',
'itemSelector',
'rowHeight',
'transitionDuration'
'transitionDuration',
'isAppended'
]
};

Expand Down Expand Up @@ -148,7 +150,11 @@
var packeryEls = self.packery.getItemElements();

if (packeryEls.indexOf(el[0]) === -1) {
self.packery.appended(el[0]);
if (self.packery.options.isAppended === 0) {
self.packery.prepended(el[0]);
} else {
self.packery.appended(el[0]);
}
}

if (self.packeryDraggable === true) {
Expand Down Expand Up @@ -186,7 +192,7 @@
itemSelector: '@?', // Type: Selector String
rowHeight: '@?', // Type: Number, Selector String
transitionDuration: '@?', // Type: String

isAppended: '@?', // Type: Boolean
draggable: '@?', // Type: Boolean
handle: '@?' // Type: Boolean

Expand All @@ -212,6 +218,7 @@
if (scope.isOriginLeft === 'false') { scope.isOriginLeft = false; }
if (scope.isOriginTop === 'false') { scope.isOriginTop = false; }
if (scope.isResizeBound === 'false') { scope.isResizeBound = false; }
if (scope.isAppended === 'false') { scope.isAppended = false; }

// Creates JS Object for passing CSS styles into Packery
if (scope.containerStyle && (typeof scope.containerStyle === 'object' )) { scope.containerStyle = scope.containerStyle; }
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.4",
"version": "1.1.0-dev",
"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 129f643

Please sign in to comment.