Skip to content

Commit fff27f8

Browse files
author
Kevin Dietrich
committed
Update to gridstack.js 0.2.5
1 parent b57ba64 commit fff27f8

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,13 @@ Demo is available [here](http://kdietrich.github.io/gridstack-angular/demo/).
3333
##Requirements
3434

3535
- Angular.js (>=1.3)
36-
- gridstack.js (~0.2.4)
36+
- gridstack.js (~0.2.5)
3737

3838
##Changes
3939

4040
####v0.4.0-dev
4141
- Fixed timing of events
42+
- gridstack.js 0.2.5 support
4243

4344
####v0.3.0 (2016-02-17)
4445
- Breaking Changes: `data-gs-xyz` attributes changed to `gs-item-xyz`. See demo.

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
],
1212
"dependencies": {
1313
"angular": ">=1.3",
14-
"gridstack": "~0.2.4"
14+
"gridstack": "~0.2.5"
1515
},
1616
"license": "MIT",
1717
"ignore": [

src/gridstack.controller.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717

1818
this.removeItem = function(element) {
1919
if(gridstack) {
20-
return gridstack.remove_widget(element, false);
20+
return gridstack.removeWidget(element, false);
2121
}
2222
return null;
2323
};
2424

2525
this.addItem = function(element) {
2626
if(gridstack) {
27-
gridstack.make_widget(element);
27+
gridstack.makeWidget(element);
2828
return element;
2929
}
3030
return null;

0 commit comments

Comments
 (0)