kdietrich/gridstack-angular

Function `make_widget` is deprecated

tiagojdf opened this issue · 3 comments

Using the mininified version of your library I get the following warning:

gridstack.js: Function `make_widget` is deprecated as of v0.2.5 and has been replaced with `makeWidget`. It will be **completely** removed in v1.0.

Regarding the problem with the debugger, I see that in the gridstack-angular.min.js, there is the following line:

 this.addItem = function(t) {
            return r ? (r.make_widget(t),
            t) : null 
        }

Similar for remove_widget.

Some methods were marked as deprecated in gridstack v0.2.5. I've already fixed that in master. 👍

Cool, but could you make that these changes also are reflected in bower install ? If you could that would be awesome!