ember.js - application.handlebars template isn't rendered (as it should be by default) -


my goal simple js mvc appliction.

i'm using padrino, , trying add ember.js. also, switched asset pipeline in project, simplicity.

i have problem rendering default application.handlebars template. isn't rendered. know, content should rendered default. but, when start server, don't see now.

in ./templates/application.handlebars:

<div id="container">   <h1>raffler</h1> </div> 

in ./application.js:

//= require lib/jquery //= require lib/jquery-ujs //= require lib/handlebars //= require lib/ember //= require_self //= require raffler  raffler = ember.application.create(); 

in ./rafler.js

//= require ./store //= require_tree ./models //= require_tree ./controllers //= require_tree ./views //= require_tree ./helpers //= require_tree ./templates //= require ./router //= require_tree ./routes //= require_self 

in ./controllers/application_controller.coffee

raffler.applicationcontroller = ember.controller.extend() 

in ./routes/application_routes.coffee

raffler.applicationroute = ember.route.extend() 

in router.coffee

raffler.router.map -> 

all js files, compiled in one, know (/assets/application.js)

what be?


Comments

Popular posts from this blog

.htaccess - First slash is removed after domain when entering a webpage in the browser -

Automatically create pages in phpfox -

c# - Farseer ContactListener is not working -