Skip to content

Commit

Permalink
bump version to v1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnnyTheTank committed Apr 23, 2016
1 parent 33ccbe2 commit 6d3b3db
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 13 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
],
"description": "AngularJS module for bricklayer, a lightweight & independent cascading grid layout library",
"main": "dist/angular-bricklayer.js",
"version": "1.0.0",
"version": "1.0.1",
"moduleType": [],
"keywords": [
"angular",
Expand Down
26 changes: 17 additions & 9 deletions dist/angular-bricklayer.js
Original file line number Diff line number Diff line change
@@ -1,32 +1,40 @@
/**
@name: angular-bricklayer
@version: 1.0.0 (23-04-2016)
@version: 1.0.1 (23-04-2016)
@author:
@url: https://github.com/JohnnyTheTank/angular-bricklayer
@license: MIT
*/
angular.module('jtt_bricklayer', [])
.directive('bricklayer', function () {
.directive('bricklayer', ['$timeout', function ($timeout) {
return {
restrict: 'C',
replace: 'false',
link: function (scope, element, attrs) {
var bricklayer = new Bricklayer(element[0]);

$timeout(function () {
bricklayer.reorderElements(bricklayer.columnCount);
}, 0);

scope.$on('bricklayer.append', function (event, element) {
setTimeout(function () {
bricklayer.append(element)
}, 0)
bricklayer.append(element);
bricklayer.reorderElements(bricklayer.columnCount);
$timeout(function () {
bricklayer.reorderElements(bricklayer.columnCount);
}, 0);
});

scope.$on('bricklayer.prepend', function (event, element) {
setTimeout(function () {
bricklayer.prepend(element)
}, 0)
bricklayer.prepend(element);
bricklayer.reorderElements(bricklayer.columnCount);
$timeout(function () {
bricklayer.reorderElements(bricklayer.columnCount);
}, 0);
});
}
}
})
}])
.directive('bricklayerAppend', function () {
return {
require: '?bricklayer',
Expand Down
4 changes: 2 additions & 2 deletions dist/angular-bricklayer.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-bricklayer",
"version": "1.0.0",
"version": "1.0.1",
"authors": [
"Jonathan Hornung <[email protected]>"
],
Expand Down

0 comments on commit 6d3b3db

Please sign in to comment.