Commit dbf4ba92 authored by Alexander.Trofimov's avatar Alexander.Trofimov

add 'Api' variable to use in builder

parent 426fe3d1
......@@ -279,6 +279,7 @@ function GetNativeEngine()
}
var native_renderer = null;
var Api = null;
var _api = null;
function NativeOpenFileData(data, version)
......@@ -295,6 +296,7 @@ function NativeOpenFileData(data, version)
_api = new window["Asc"]["spreadsheet_api"]({});
_api.asc_nativeOpenFile(data, version);
}
Api = _api;
}
function NativeOpenFile()
......@@ -312,6 +314,7 @@ function NativeOpenFile()
_api = new window["Asc"]["spreadsheet_api"]();
_api.asc_nativeOpenFile(doc_bin);
}
Api = _api;
}
function NativeOpenFile2(_params)
......@@ -340,6 +343,8 @@ function NativeOpenFile2(_params)
_api = new window["Asc"]["spreadsheet_api"]();
_api.asc_nativeOpenFile(doc_bin);
}
Api = _api;
}
function NativeCalculateFile()
......
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