aboutsummaryrefslogtreecommitdiff
path: root/js/document
diff options
context:
space:
mode:
authorNivesh Rajbhandari2012-05-24 11:20:42 -0700
committerNivesh Rajbhandari2012-05-24 11:20:42 -0700
commit1adc3b050728e393583f94eb2216db813d4a7293 (patch)
treea3eacb511792ec5e199190b3d4f0c04d52deab28 /js/document
parent209ec9524a987a8f8bc20c57e2a76ac55be15fd9 (diff)
downloadninja-1adc3b050728e393583f94eb2216db813d4a7293.tar.gz
Removed unused variables and methods in stage-deps, layout design, and snap-manager.
Signed-off-by: Nivesh Rajbhandari <mqg734@motorola.com>
Diffstat (limited to 'js/document')
-rwxr-xr-xjs/document/views/design.js15
1 files changed, 0 insertions, 15 deletions
diff --git a/js/document/views/design.js b/js/document/views/design.js
index 427ef706..4f5f8da9 100755
--- a/js/document/views/design.js
+++ b/js/document/views/design.js
@@ -94,16 +94,6 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, {
94 //////////////////////////////////////////////////////////////////// 94 ////////////////////////////////////////////////////////////////////
95 // 95 //
96 96
97 initialPaddingLeft: {
98 value: 0
99 },
100
101 initialPaddingTop: {
102 value: 0
103 },
104 ////////////////////////////////////////////////////////////////////
105 //
106
107 // 97 //
108 initialize: { 98 initialize: {
109 value: function (parent) { 99 value: function (parent) {
@@ -225,11 +215,6 @@ exports.DesignDocumentView = Montage.create(BaseDocumentView, {
225 this._bodyFragment = null; 215 this._bodyFragment = null;
226 //Calling standard method to finish opening document 216 //Calling standard method to finish opening document
227 this.bodyContentLoaded(null); 217 this.bodyContentLoaded(null);
228 //TODO: Move this to be set via the controller
229// this.application.ninja.stage.documentOffsetLeft = parseInt((this.document.body.scrollWidth - this._template.size.width)/2);
230// this.application.ninja.stage.documentOffsetTop = parseInt((this.document.body.scrollHeight - this._template.size.height)/2);
231// this.initialPaddingLeft = parseInt((this.document.body.scrollWidth - this._template.size.width)/2);
232// this.initialPaddingTop = parseInt((this.document.body.scrollHeight - this._template.size.height)/2);
233 } 218 }
234 }, 219 },
235 //////////////////////////////////////////////////////////////////// 220 ////////////////////////////////////////////////////////////////////