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

common/Charts/DrawingArea to function-closure

parent e7fcf1a9
......@@ -25,6 +25,7 @@
"../common/Drawings/Format/ChartFormat.js",
"../common/Drawings/Format/TextBody.js",
"../common/Charts/charts.js",
"../common/Charts/DrawingArea.js",
"../common/scroll.js",
"../cell/view/iscroll.js",
......@@ -32,7 +33,6 @@
"../common/wordcopypaste.js",
"../cell/apiDefines.js",
"../common/Charts/DrawingArea.js",
"../common/Charts/DrawingObjects.js",
"../common/Charts/ChartsDrawer.js",
"../common/Charts/3DTransformation.js",
......
......@@ -25,6 +25,7 @@
"../common/Drawings/Format/ChartFormat.js",
"../common/Drawings/Format/TextBody.js",
"../common/Charts/charts.js",
"../common/Charts/DrawingArea.js",
"../common/scroll.js",
......@@ -43,7 +44,6 @@
"../common/SerializeChart.js",
"../common/Charts/ChartsDrawer.js",
"../common/Charts/3DTransformation.js",
"../common/Charts/DrawingArea.js",
"../word/Editor/Serialize2.js",
"../word/Editor/Styles.js",
"../word/Editor/Numbering.js",
......
......@@ -28,6 +28,7 @@
"../common/Drawings/Format/ChartFormat.js",
"../common/Drawings/Format/TextBody.js",
"../common/Charts/charts.js",
"../common/Charts/DrawingArea.js",
"../common/scroll.js",
"../common/Scrolls/iscroll.js",
......@@ -48,7 +49,6 @@
"../word/Drawing/translations.js",
"../common/Charts/ChartsDrawer.js",
"../common/Charts/3DTransformation.js",
"../common/Charts/DrawingArea.js",
"../common/Charts/DrawingObjects.js",
"../common/Drawings/TrackObjects/AdjustmentTracks.js",
"../common/Drawings/TrackObjects/MoveTracks.js",
......
......@@ -3267,7 +3267,7 @@ function OfflineEditor () {
worksheet._drawSelection();
}
DrawingArea.prototype.drawSelection = function(drawingDocument) {
AscFormat.DrawingArea.prototype.drawSelection = function(drawingDocument) {
offlineEditor.flushTextMeasurer();
......
......@@ -399,7 +399,7 @@
this.collaborativeEditing = collaborativeEditing;
this.drawingArea = new DrawingArea( this );
this.drawingArea = new AscFormat.DrawingArea( this );
this.cellCommentator = new AscCommonExcel.CCellCommentator(this);
this.objectRender = null;
......
......@@ -24,6 +24,13 @@
*/
"use strict";
(
/**
* @param {Window} window
* @param {undefined} undefined
*/
function (window, undefined) {
//-----------------------------------------------------------------------------------
// Drawing area manager
//-----------------------------------------------------------------------------------
......@@ -746,4 +753,9 @@ DrawingArea.prototype.getOffsets = function(x, y, bEvents) {
}
}
return null;
};
\ No newline at end of file
};
//--------------------------------------------------------export----------------------------------------------------
window['AscFormat'] = window['AscFormat'] || {};
window['AscFormat'].DrawingArea = DrawingArea;
})(window);
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