cell/document/empty-workbook to function-closure

This commit is contained in:
Alexander.Trofimov
2016-04-26 14:53:47 +03:00
parent aff26eff9d
commit 2688af65ea
3 changed files with 9 additions and 4 deletions

View File

@ -73,8 +73,8 @@
"../common/wordcopypaste.js",
"../cell/apiDefines.js",
"../cell/document/empty-workbook.js",
"../cell/utils/utils.js",
"../cell/model/UndoRedo.js",
"../cell/model/clipboard.js",

View File

@ -459,7 +459,7 @@ var editor;
spreadsheet_api.prototype.asc_LoadEmptyDocument = function() {
this.CoAuthoringApi.auth(this.getViewMode());
var emptyWorkbook = getEmptyWorkbook() + "";
var emptyWorkbook = AscCommonExcel.getEmptyWorkbook() + "";
if (emptyWorkbook.length && (Asc.c_oSerFormat.Signature === emptyWorkbook.substring(0, Asc.c_oSerFormat.Signature.length))) {
this.isChartEditor = true;
this._startOpenDocument(emptyWorkbook);

File diff suppressed because one or more lines are too long