aboutsummaryrefslogtreecommitdiff
path: root/js/document/models
diff options
context:
space:
mode:
authorValerio Virgillito2012-04-20 16:37:47 -0700
committerValerio Virgillito2012-04-20 16:37:47 -0700
commitc62273126004f057de40ce91ecda5606643f4c92 (patch)
tree4f55b7017e3387b90ae57fa71222706bd0ebec66 /js/document/models
parentc0bb9d7740a0fa2efce6c53c39054a46da4b63e0 (diff)
downloadninja-c62273126004f057de40ce91ecda5606643f4c92.tar.gz
reverting old template to current working status. New template work.
Signed-off-by: Valerio Virgillito <valerio@motorola.com>
Diffstat (limited to 'js/document/models')
-rwxr-xr-xjs/document/models/base.js4
-rwxr-xr-xjs/document/models/html.js4
2 files changed, 6 insertions, 2 deletions
diff --git a/js/document/models/base.js b/js/document/models/base.js
index 96156e64..8925fc40 100755
--- a/js/document/models/base.js
+++ b/js/document/models/base.js
@@ -21,6 +21,10 @@ exports.BaseDocumentModel = Montage.create(Montage, {
21 file: { 21 file: {
22 value: null 22 value: null
23 }, 23 },
24
25 _name: {
26 value: null
27 },
24 //////////////////////////////////////////////////////////////////// 28 ////////////////////////////////////////////////////////////////////
25 // 29 //
26 njdata: { 30 njdata: {
diff --git a/js/document/models/html.js b/js/document/models/html.js
index 5882d389..ff57454b 100755
--- a/js/document/models/html.js
+++ b/js/document/models/html.js
@@ -7,10 +7,10 @@ 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 TextDocumentModel = require("js/document/models/text").TextDocumentModel; 10 BaseDocumentModel = require("js/document/models/base").BaseDocumentModel;
11//////////////////////////////////////////////////////////////////////// 11////////////////////////////////////////////////////////////////////////
12// 12//
13exports.HtmlDocumentModel = Montage.create(TextDocumentModel, { 13exports.HtmlDocumentModel = Montage.create(BaseDocumentModel, {
14 //////////////////////////////////////////////////////////////////// 14 ////////////////////////////////////////////////////////////////////
15 // 15 //
16 hasTemplate: { 16 hasTemplate: {