1
0
mirror of https://github.com/chinchang/web-maker.git synced 2025-07-21 05:51:13 +02:00

eslint fixes.

This commit is contained in:
Kushagra Gour
2017-02-12 16:14:55 +05:30
parent fb8583dd07
commit fb99547386

View File

@@ -248,7 +248,11 @@ TextareaAutoComplete */
} catch (e) {
sizes = [ 33.33, 33.33, 33.33 ]
} finally {
/* eslint-disable no-unsafe-finally */
return sizes;
/* eslint-enable no-unsafe-finally */
}
}
@@ -264,7 +268,11 @@ TextareaAutoComplete */
} catch (e) {
sizes = [ 50, 50 ]
} finally {
/* eslint-disable no-unsafe-finally */
return sizes;
/* eslint-enable no-unsafe-finally */
}
}
@@ -280,9 +288,6 @@ TextareaAutoComplete */
currentItem.layoutMode = currentLayoutMode;
currentItem.externalLibs = { js: externalJsTextarea.value, css: externalCssTextarea.value };
// debugger;
var dimensionProperty = currentLayoutMode === 2 ? 'width' : 'height';
currentItem.sizes = getCodePaneSizes();
currentItem.mainSizes = getMainPaneSizes();
console.log(currentItem.mainSizes)