mirror of
https://github.com/stylersnico/librenms.git
synced 2026-07-26 00:18:03 +02:00
Updated Dist and Gruntfile
This commit is contained in:
Vendored
+9
-7
@@ -1922,13 +1922,15 @@
|
||||
* @return {Boolean} Returns true or false.
|
||||
*/
|
||||
fn.is_empty = function(col, row) {
|
||||
if (typeof this.gridmap[col] !== 'undefined' &&
|
||||
typeof this.gridmap[col][row] !== 'undefined' &&
|
||||
this.gridmap[col][row] === false
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
if (typeof this.gridmap[col] !== 'undefined') {
|
||||
if(typeof this.gridmap[col][row] !== 'undefined' &&
|
||||
this.gridmap[col][row] === false
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+9
-7
@@ -1922,13 +1922,15 @@
|
||||
* @return {Boolean} Returns true or false.
|
||||
*/
|
||||
fn.is_empty = function(col, row) {
|
||||
if (typeof this.gridmap[col] !== 'undefined' &&
|
||||
typeof this.gridmap[col][row] !== 'undefined' &&
|
||||
this.gridmap[col][row] === false
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
if (typeof this.gridmap[col] !== 'undefined') {
|
||||
if(typeof this.gridmap[col][row] !== 'undefined' &&
|
||||
this.gridmap[col][row] === false
|
||||
) {
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
};
|
||||
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user