Updated Dist and Gruntfile

This commit is contained in:
Dustin Moore
2013-05-15 09:29:59 -07:00
parent ef476bcd1e
commit 20f98ae383
4 changed files with 20 additions and 16 deletions
+9 -7
View File
@@ -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
View File
File diff suppressed because one or more lines are too long
+9 -7
View File
@@ -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;
};
File diff suppressed because one or more lines are too long