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

delete declaration variable g_aCultureInfos -> AscCommon.g_aCultureInfos

parent 80150519
...@@ -19,7 +19,6 @@ var editor; ...@@ -19,7 +19,6 @@ var editor;
var parserHelp = AscCommon.parserHelp; var parserHelp = AscCommon.parserHelp;
var g_oIdCounter = AscCommon.g_oIdCounter; var g_oIdCounter = AscCommon.g_oIdCounter;
var g_oTableId = AscCommon.g_oTableId; var g_oTableId = AscCommon.g_oTableId;
var g_aCultureInfos = AscCommon.g_aCultureInfos;
var c_oAscLockTypeElem = AscCommonExcel.c_oAscLockTypeElem; var c_oAscLockTypeElem = AscCommonExcel.c_oAscLockTypeElem;
...@@ -304,7 +303,7 @@ var editor; ...@@ -304,7 +303,7 @@ var editor;
spreadsheet_api.prototype.asc_getLocaleExample = function(val, number, date) { spreadsheet_api.prototype.asc_getLocaleExample = function(val, number, date) {
var res = ''; var res = '';
var cultureInfo = g_aCultureInfos[val]; var cultureInfo = AscCommon.g_aCultureInfos[val];
if (cultureInfo) { if (cultureInfo) {
var numFormatDigit = AscCommon.oNumFormatCache.get('#,##0.00'); var numFormatDigit = AscCommon.oNumFormatCache.get('#,##0.00');
...@@ -336,10 +335,9 @@ var editor; ...@@ -336,10 +335,9 @@ var editor;
return res; return res;
}; };
spreadsheet_api.prototype.asc_getLocaleCurrency = function(val) { spreadsheet_api.prototype.asc_getLocaleCurrency = function(val) {
var res = ''; var cultureInfo = AscCommon.g_aCultureInfos[val];
var cultureInfo = g_aCultureInfos[val];
if (!cultureInfo) { if (!cultureInfo) {
cultureInfo = g_aCultureInfos[1033]; cultureInfo = AscCommon.g_aCultureInfos[1033];
} }
var prefixs = ['_ ', '_-', '_(', '_)']; var prefixs = ['_ ', '_-', '_(', '_)'];
var prefix = prefixs[0]; var prefix = prefixs[0];
......
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