mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-21 14:01:14 +02:00
eslint fixes.
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user