/* This file contains proprietary software owned by Motorola Mobility, Inc.
No rights, expressed or implied, whatsoever to this software are provided by Motorola Mobility, Inc. hereunder.
(c) Copyright 2011 Motorola Mobility, Inc. All Rights Reserved.
*/ //////////////////////////////////////////////////////////////////////// // var Montage = require("montage/core/core").Montage, BaseDocumentModel = require("js/document/models/base").BaseDocumentModel, webGlDocumentHelper = require("js/document/helpers/webgl-helper").webGlDocumentHelper; //////////////////////////////////////////////////////////////////////// // exports.HtmlDocumentModel = Montage.create(BaseDocumentModel, { //////////////////////////////////////////////////////////////////// // hasTemplate: { value: false }, //////////////////////////////////////////////////////////////////// //Called by the document immidiately after the model is created init: { value:function() { //Creating instance of the webGL helper for this model this.webGlHelper = webGlDocumentHelper.create(); // this.libs = {montage: false, canvas: false, montageId: null, canvasId: null}; } }, //////////////////////////////////////////////////////////////////// // draw3DGrid: { value: false }, //////////////////////////////////////////////////////////////////// // scrollLeft: { value: null }, //////////////////////////////////////////////////////////////////// // scrollTop: { value: null }, //////////////////////////////////////////////////////////////////// // userContentLeft: { value: null }, //////////////////////////////////////////////////////////////////// // userContentTop: { value: null }, //////////////////////////////////////////////////////////////////// //TODO: Convert to bindings documentRoot: { get: function() {return this.views.design._documentRoot;}, set: function(value) {this.views.design._documentRoot = value;} }, //////////////////////////////////////////////////////////////////// //TODO: Convert to bindings baseHref: { get: function() {return this.views.design._baseHref;}, set: function(value) {this.views.design._baseHref = value;} }, //////////////////////////////////////////////////////////////////// // webGlHelper: { value: null }, //////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////// }); //////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////