From 8b83f8a0f1562b8365ccc7735a6301eba613d28c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Aleksander=20=C5=81ukasz?= Date: Fri, 7 Mar 2014 11:54:38 +0100 Subject: [PATCH 1/1] editor: removing unused code --- src/editor/modules/diffViewer/diffViewer.js | 3 +-- src/editor/modules/documentCanvas/canvas/canvas.test.js | 3 +-- src/editor/modules/documentCanvas/canvas/documentElement.js | 3 +-- src/editor/modules/documentCanvas/commands.js | 3 +-- src/editor/modules/documentCanvas/documentCanvas.js | 3 +-- 5 files changed, 5 insertions(+), 10 deletions(-) diff --git a/src/editor/modules/diffViewer/diffViewer.js b/src/editor/modules/diffViewer/diffViewer.js index e792545..573d3a6 100644 --- a/src/editor/modules/diffViewer/diffViewer.js +++ b/src/editor/modules/diffViewer/diffViewer.js @@ -1,9 +1,8 @@ define([ 'libs/jquery', -'libs/underscore', 'views/tabs/tabs', 'libs/text!./diff.html' -], function($, _, tabs, diffTemplateSrc) { +], function($, tabs, diffTemplateSrc) { 'use strict'; diff --git a/src/editor/modules/documentCanvas/canvas/canvas.test.js b/src/editor/modules/documentCanvas/canvas/canvas.test.js index 7a0380a..67f59b6 100644 --- a/src/editor/modules/documentCanvas/canvas/canvas.test.js +++ b/src/editor/modules/documentCanvas/canvas/canvas.test.js @@ -3,10 +3,9 @@ define([ 'libs/chai', 'libs/sinon', 'modules/documentCanvas/canvas/canvas', -'modules/documentCanvas/canvas/documentElement', 'modules/documentCanvas/canvas/utils', 'wlxml/wlxml' -], function($, chai, sinon, canvas, documentElement, utils, wlxml) { +], function($, chai, sinon, canvas, utils, wlxml) { 'use strict'; /* global describe, it, beforeEach, afterEach */ diff --git a/src/editor/modules/documentCanvas/canvas/documentElement.js b/src/editor/modules/documentCanvas/canvas/documentElement.js index 115981a..7f448ba 100644 --- a/src/editor/modules/documentCanvas/canvas/documentElement.js +++ b/src/editor/modules/documentCanvas/canvas/documentElement.js @@ -2,9 +2,8 @@ define([ 'libs/jquery', 'libs/underscore', 'modules/documentCanvas/canvas/utils', -'modules/documentCanvas/canvas/widgets', 'modules/documentCanvas/canvas/wlxmlManagers' -], function($, _, utils, widgets, wlxmlManagers) { +], function($, _, utils, wlxmlManagers) { 'use strict'; /* global Node:false, document:false */ diff --git a/src/editor/modules/documentCanvas/commands.js b/src/editor/modules/documentCanvas/commands.js index 4c52c91..11a874a 100644 --- a/src/editor/modules/documentCanvas/commands.js +++ b/src/editor/modules/documentCanvas/commands.js @@ -1,7 +1,6 @@ define([ -'modules/documentCanvas/canvas/documentElement', './canvas/utils' -], function(documentElement, utils) { +], function(utils) { 'use strict'; diff --git a/src/editor/modules/documentCanvas/documentCanvas.js b/src/editor/modules/documentCanvas/documentCanvas.js index fff7996..da7ac81 100644 --- a/src/editor/modules/documentCanvas/documentCanvas.js +++ b/src/editor/modules/documentCanvas/documentCanvas.js @@ -2,10 +2,9 @@ define([ 'libs/jquery', -'libs/underscore', './canvas/canvas', './commands', -'libs/text!./template.html'], function($, _, canvas3, commands, template) { +'libs/text!./template.html'], function($, canvas3, commands, template) { 'use strict'; -- 2.20.1