mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
updated dist
This commit is contained in:
2
dist/jquery.gridster.css
vendored
2
dist/jquery.gridster.css
vendored
@@ -1,4 +1,4 @@
|
||||
/*! gridster.js - v0.1.0 - 2012-07-25
|
||||
/*! gridster.js - v0.1.0 - 2012-07-26
|
||||
* https://github.com/ducksboard/gridster.js
|
||||
* Copyright (c) 2012 ducksboard; Licensed MIT, GPL */
|
||||
|
||||
|
6
dist/jquery.gridster.js
vendored
6
dist/jquery.gridster.js
vendored
@@ -1,4 +1,4 @@
|
||||
/*! gridster.js - v0.1.0 - 2012-07-25
|
||||
/*! gridster.js - v0.1.0 - 2012-07-26
|
||||
* https://github.com/ducksboard/gridster.js
|
||||
* Copyright (c) 2012 ducksboard; Licensed MIT, GPL */
|
||||
|
||||
@@ -2807,10 +2807,14 @@
|
||||
var actual_cols = this.$widgets.map(function() {
|
||||
return $(this).attr('data-col');
|
||||
});
|
||||
//needed to pass tests with phantomjs
|
||||
actual_cols.length || (actual_cols = [0]);
|
||||
|
||||
var actual_rows = this.$widgets.map(function() {
|
||||
return $(this).attr('data-row');
|
||||
});
|
||||
//needed to pass tests with phantomjs
|
||||
actual_rows.length || (actual_rows = [0]);
|
||||
|
||||
var min_cols = Math.max.apply(Math, actual_cols);
|
||||
var min_rows = Math.max.apply(Math, actual_rows);
|
||||
|
2
dist/jquery.gridster.min.css
vendored
2
dist/jquery.gridster.min.css
vendored
@@ -1,3 +1,3 @@
|
||||
/*! gridster.js - v0.1.0 - 2012-07-25
|
||||
/*! gridster.js - v0.1.0 - 2012-07-26
|
||||
* https://github.com/ducksboard/gridster.js
|
||||
* Copyright (c) 2012 ducksboard; Licensed MIT, GPL */.gridster{position:relative}.gridster>*{margin:0 auto;-webkit-transition:height .4s;-moz-transition:height .4s;-o-transition:height .4s;-ms-transition:height .4s;transition:height .4s}.gridster .gs_w{z-index:2;position:absolute}.ready .gs_w:not(.preview-holder){-webkit-transition:opacity .3s,left .3s,top .3s;-moz-transition:opacity .3s,left .3s,top .3s;-o-transition:opacity .3s,left .3s,top .3s;transition:opacity .3s,left .3s,top .3s}.gridster .preview-holder{z-index:1;position:absolute;background-color:#fff;border-color:#fff;opacity:.3}.gridster .player-revert{z-index:10!important;-webkit-transition:left .3s,top .3s!important;-moz-transition:left .3s,top .3s!important;-o-transition:left .3s,top .3s!important;transition:left .3s,top .3s!important}.gridster .dragging{z-index:10!important;-webkit-transition:all 0s!important;-moz-transition:all 0s!important;-o-transition:all 0s!important;transition:all 0s!important}
|
4
dist/jquery.gridster.min.js
vendored
4
dist/jquery.gridster.min.js
vendored
File diff suppressed because one or more lines are too long
@@ -214,8 +214,8 @@
|
||||
var min_window_y = scrollTop;
|
||||
var max_window_y = min_window_y + this.window_height;
|
||||
|
||||
var mouse_down_zone = max_window_y - 10;
|
||||
var mouse_up_zone = min_window_y + 10;
|
||||
var mouse_down_zone = max_window_y - 30;
|
||||
var mouse_up_zone = min_window_y + 20;
|
||||
|
||||
var abs_mouse_left = offset.mouse_left;
|
||||
var abs_mouse_top = min_window_y + offset.mouse_top;
|
||||
|
@@ -323,7 +323,7 @@
|
||||
}, this));
|
||||
|
||||
if (callback) {
|
||||
callback.apply(this, el);
|
||||
callback.call(this, el);
|
||||
}
|
||||
}, this));
|
||||
};
|
||||
@@ -1645,7 +1645,7 @@
|
||||
diffs.push(temp_y_units);
|
||||
});
|
||||
|
||||
var max_diff = Math.max.apply(null, diffs);
|
||||
var max_diff = Math.max.apply(Math, diffs);
|
||||
y_units = (y_units - max_diff);
|
||||
|
||||
return y_units > 0 ? y_units : 0;
|
||||
@@ -2002,7 +2002,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
var highest_row = Math.max.apply(null, rows);
|
||||
var highest_row = Math.max.apply(Math, rows);
|
||||
|
||||
this.highest_occupied_cell = {
|
||||
col: row_in_col[highest_row],
|
||||
@@ -2238,13 +2238,17 @@
|
||||
var actual_cols = this.$widgets.map(function() {
|
||||
return $(this).attr('data-col');
|
||||
});
|
||||
//needed to pass tests with phantomjs
|
||||
actual_cols.length || (actual_cols = [0]);
|
||||
|
||||
var actual_rows = this.$widgets.map(function() {
|
||||
return $(this).attr('data-row');
|
||||
});
|
||||
//needed to pass tests with phantomjs
|
||||
actual_rows.length || (actual_rows = [0]);
|
||||
|
||||
var min_cols = Math.max.apply(null, actual_cols);
|
||||
var min_rows = Math.max.apply(null, actual_rows);
|
||||
var min_cols = Math.max.apply(Math, actual_cols);
|
||||
var min_rows = Math.max.apply(Math, actual_rows);
|
||||
|
||||
this.cols = Math.max(min_cols, cols, this.options.min_cols);
|
||||
this.rows = Math.max(min_rows, rows, this.options.min_rows);
|
||||
|
Reference in New Issue
Block a user