aboutsummaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorJose Antonio Marquez2012-02-14 13:23:20 -0800
committerJose Antonio Marquez2012-02-14 13:23:20 -0800
commita7952c5a16e2cae3fd1a459b03b9f16bba1004da (patch)
tree8806615fa60df920e3d40c22accb2ce017f8d4c2 /js
parentb56ee334f8b0f8d15f4c86726b6c3779743ea84f (diff)
downloadninja-a7952c5a16e2cae3fd1a459b03b9f16bba1004da.tar.gz
Cleaning up
Setting up a 'document' folder to handle all document related classes that in relation to IO
Diffstat (limited to 'js')
-rwxr-xr-xjs/controllers/document-controller.js4
-rwxr-xr-xjs/document/models/base-document.js (renamed from js/io/document/base-document.js)0
-rwxr-xr-xjs/document/models/html-document.js (renamed from js/io/document/html-document.js)2
-rwxr-xr-xjs/document/models/text-document.js (renamed from js/io/document/text-document.js)2
4 files changed, 4 insertions, 4 deletions
diff --git a/js/controllers/document-controller.js b/js/controllers/document-controller.js
index 7d38c600..9b412576 100755
--- a/js/controllers/document-controller.js
+++ b/js/controllers/document-controller.js
@@ -9,8 +9,8 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
9var Montage = require("montage/core/core").Montage, 9var Montage = require("montage/core/core").Montage,
10 Component = require("montage/ui/component").Component, 10 Component = require("montage/ui/component").Component,
11 Uuid = require("montage/core/uuid").Uuid, 11 Uuid = require("montage/core/uuid").Uuid,
12 HTMLDocument = require("js/io/document/html-document").HTMLDocument, 12 HTMLDocument = require("js/document/models/html-document").HTMLDocument,
13 TextDocument = require("js/io/document/text-document").TextDocument, 13 TextDocument = require("js/document/models/text-document").TextDocument,
14 DocumentController; 14 DocumentController;
15//////////////////////////////////////////////////////////////////////// 15////////////////////////////////////////////////////////////////////////
16// 16//
diff --git a/js/io/document/base-document.js b/js/document/models/base-document.js
index 918b51ad..918b51ad 100755
--- a/js/io/document/base-document.js
+++ b/js/document/models/base-document.js
diff --git a/js/io/document/html-document.js b/js/document/models/html-document.js
index ac556c2d..cb399f04 100755
--- a/js/io/document/html-document.js
+++ b/js/document/models/html-document.js
@@ -7,7 +7,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
7//////////////////////////////////////////////////////////////////////// 7////////////////////////////////////////////////////////////////////////
8// 8//
9var Montage = require("montage/core/core").Montage, 9var Montage = require("montage/core/core").Montage,
10 BaseDocument = require("js/io/document/base-document").BaseDocument, 10 BaseDocument = require("js/document/models/base-document").BaseDocument,
11 NJUtils = require("js/lib/NJUtils").NJUtils; 11 NJUtils = require("js/lib/NJUtils").NJUtils;
12//////////////////////////////////////////////////////////////////////// 12////////////////////////////////////////////////////////////////////////
13// 13//
diff --git a/js/io/document/text-document.js b/js/document/models/text-document.js
index 87fcc551..c0d4f256 100755
--- a/js/io/document/text-document.js
+++ b/js/document/models/text-document.js
@@ -7,7 +7,7 @@ No rights, expressed or implied, whatsoever to this software are provided by Mot
7//////////////////////////////////////////////////////////////////////// 7////////////////////////////////////////////////////////////////////////
8// 8//
9var Montage = require("montage/core/core").Montage, 9var Montage = require("montage/core/core").Montage,
10 BaseDocument = require("js/io/document/base-document").BaseDocument; 10 BaseDocument = require("js/document/models/base-document").BaseDocument;
11//////////////////////////////////////////////////////////////////////// 11////////////////////////////////////////////////////////////////////////
12// 12//
13exports.TextDocument = Montage.create(BaseDocument, { 13exports.TextDocument = Montage.create(BaseDocument, {