aboutsummaryrefslogtreecommitdiff
path: root/js/document/templates/app/main.js
diff options
context:
space:
mode:
authorKris Kowal2012-07-06 11:52:06 -0700
committerKris Kowal2012-07-06 15:01:48 -0700
commit648ee61ae84216d0236e0dbc211addc13b2cfa3a (patch)
tree8f0f55557bd0c47a84e49c1977c950645d284607 /js/document/templates/app/main.js
parentaedd14b18695d031f695d27dfbd94df5614495bb (diff)
downloadninja-648ee61ae84216d0236e0dbc211addc13b2cfa3a.tar.gz
Expand tabs
Diffstat (limited to 'js/document/templates/app/main.js')
-rw-r--r--js/document/templates/app/main.js10
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)
27ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE 27ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
28POSSIBILITY OF SUCH DAMAGE. 28POSSIBILITY OF SUCH DAMAGE.
29</copyright> */ 29</copyright> */
30var Montage = require("montage/core/core").Montage, 30var 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;