Commit 7889c27b authored by Alexander.Trofimov's avatar Alexander.Trofimov

delete unused variables

parent 319e52ee
......@@ -158,18 +158,16 @@
/** @type RegExp */
this.reReplaceNL = /\r?\n|\r/g;
/** @type RegExp */
this.reReplaceTab = /[\t\v\f]/g;
// RegExp с поддержкой рэнджей вида $E1:$F2
this.reRangeStr = "[^a-z0-9_$!](\\$?[a-z]+\\$?\\d+:\\$?[a-z]+\\$?\\d+|\\$?[a-z]+:\\$?[a-z]+|\\$?\\d+:\\$?\\d+|\\$?[a-z]+\\$?\\d+)(?=[^a-z0-9_]|$)";
this.rangeChars = ["=", "-", "+", "*", "/", "(", "{", ",", "<", ">", "^", "!", "&", ":", ";", " "];
this.reNotFormula = new XRegExp( "[^\\p{L}0-9_]", "i" );
this.reFormula = new XRegExp( "^([\\p{L}][\\p{L}0-9_]*)", "i" );
this.defaults = {
padding: -1, selectColor: new AscCommon.CColor( 190, 190, 255, 0.5 ),
canvasZIndex: 500, blinkInterval: 500, cursorShape: "text"
padding: -1,
selectColor: new AscCommon.CColor(190, 190, 255, 0.5),
canvasZIndex: 500,
blinkInterval: 500,
cursorShape: "text"
};
this.dontUpdateText = false;
......
......@@ -158,8 +158,6 @@
this.reSpace = /[\n\r\u2028\u2029\t\v\f\u0020\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2008\u2009\u200A\u200B\u205F\u3000]/;
/** @type RegExp */
this.reReplaceNL = /\r?\n|\r/g;
/** @type RegExp */
this.reReplaceTab = /[\t\v\f]/g;
// For hyphenation
/** @type RegExp */
......
......@@ -1563,7 +1563,7 @@
var wb = this.model;
var i = asc_typeof(index) === "number" && index >= 0 ? index : wb.getActive();
var ws = this.wsViews[i];
if (null == ws && !onlyExist) {
if (!ws && !onlyExist) {
ws = this.wsViews[i] = this._createWorksheetView(wb.getWorksheet(i));
ws._prepareComments();
ws._prepareDrawingObjects();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment