Skip to content

Commit d4b29c5

Browse files
committed
Merge pull request #2 from RJMetrics/fix/return-controllers
Controllers return themselves
2 parents 35db035 + 8b68355 commit d4b29c5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/angular-gridster.js

+3
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,7 @@
442442
return Math.round(pixels / this.curColWidth);
443443
};
444444

445+
return this;
445446
}
446447
])
447448

@@ -781,6 +782,8 @@
781782
this.$element.css('width', this.calculateElementWidth() + 'px');
782783
}
783784
};
785+
786+
return this;
784787
})
785788

786789
.factory('GridsterDraggable', ['$document', '$timeout', '$window',

0 commit comments

Comments
 (0)