From dfc5ee36f34d841ddf51c2e15464583ecd12db4a Mon Sep 17 00:00:00 2001 From: bert Date: Tue, 7 Feb 2017 14:14:21 +0100 Subject: [PATCH] Moved creating index controller from generation to template --- Alloy/template/alloy.js | 2 ++ Alloy/template/app.js | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Alloy/template/alloy.js b/Alloy/template/alloy.js index a439f3bf1..ff23e8933 100644 --- a/Alloy/template/alloy.js +++ b/Alloy/template/alloy.js @@ -9,3 +9,5 @@ // object. For example: // // Alloy.Globals.someGlobalFunction = function(){}; + +Alloy.createController('index'); diff --git a/Alloy/template/app.js b/Alloy/template/app.js index d79d3e3b6..0cd8a7800 100755 --- a/Alloy/template/app.js +++ b/Alloy/template/app.js @@ -8,4 +8,3 @@ var Alloy = require('alloy'), Backbone = Alloy.Backbone; __MAPMARKER_ALLOY_JS__ -Alloy.createController('index'); \ No newline at end of file