fix closure comiler warnings

This commit is contained in:
Pavel Reznikov 2015-06-24 18:57:25 -07:00
commit 2349443938
3 changed files with 7 additions and 7 deletions

6
dist/gridstack.js vendored
View file

@ -62,16 +62,16 @@
var id_seq = 0;
var GridStackEngine = function(width, onchange, float, height, items) {
var GridStackEngine = function(width, onchange, float_mode, height, items) {
this.width = width;
this.float = float || false;
this['float'] = float_mode || false;
this.height = height || 0;
this.nodes = items || [];
this.onchange = onchange || function() {};
this._update_counter = 0;
this._float = this.float;
this._float = this['float'];
};
GridStackEngine.prototype.batch_update = function() {

File diff suppressed because one or more lines are too long

View file

@ -62,16 +62,16 @@
var id_seq = 0;
var GridStackEngine = function(width, onchange, float, height, items) {
var GridStackEngine = function(width, onchange, float_mode, height, items) {
this.width = width;
this.float = float || false;
this['float'] = float_mode || false;
this.height = height || 0;
this.nodes = items || [];
this.onchange = onchange || function() {};
this._update_counter = 0;
this._float = this.float;
this._float = this['float'];
};
GridStackEngine.prototype.batch_update = function() {