diff options
Diffstat (limited to 'js/document/templates/app/main.js')
-rw-r--r-- | js/document/templates/app/main.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/document/templates/app/main.js b/js/document/templates/app/main.js index 6b15bb24..4f1abcf3 100644 --- a/js/document/templates/app/main.js +++ b/js/document/templates/app/main.js | |||
@@ -27,10 +27,10 @@ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) | |||
27 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE | 27 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE |
28 | POSSIBILITY OF SUCH DAMAGE. | 28 | POSSIBILITY OF SUCH DAMAGE. |
29 | </copyright> */ | 29 | </copyright> */ |
30 | var Montage = require("montage/core/core").Montage, | 30 | var Montage = require("montage/core/core").Montage, |
31 | Component = require("montage/ui/component").Component, | 31 | Component = require("montage/ui/component").Component, |
32 | Template = require("montage/ui/template").Template, | 32 | Template = require("montage/ui/template").Template, |
33 | TemplateCreator = require("tools/template/template-creator").TemplateCreator; | 33 | TemplateCreator = require("tools/template/template-creator").TemplateCreator; |
34 | 34 | ||
35 | 35 | ||
36 | //var njmodelGet = function njmodelGet() { | 36 | //var njmodelGet = function njmodelGet() { |
@@ -85,7 +85,7 @@ exports.Main = Montage.create(Component, { | |||
85 | var componentRequire = component[data.name]; | 85 | var componentRequire = component[data.name]; |
86 | var componentInstance = componentRequire.create(); | 86 | var componentInstance = componentRequire.create(); |
87 | 87 | ||
88 | componentInstance.identifier = data.identifier; | 88 | componentInstance.identifier = data.identifier; |
89 | componentInstance.addEventListener("firstDraw", self, false); | 89 | componentInstance.addEventListener("firstDraw", self, false); |
90 | 90 | ||
91 | componentInstance.element = element; | 91 | componentInstance.element = element; |