F
F
fsamorodov2015-10-27 21:48:57
Ember.js
fsamorodov, 2015-10-27 21:48:57

EmberJS - Handelbars displays commented lines instead of browser code, wtf?

Hello!
I've been struggling with this problem all day.
There is a template:
templates/services.js
0250f7ca91.jpg
There are two entries in the database, Ember Inspector sees them. Therefore, the connection to the database and the model function correctly.
e7d39a94d2.jpg
In HTML, instead of a list, two lines are displayed:
470fd0df10.jpg
_________________________________________________________
Current version:
ember: 2.1.0
node: 0.12.7
npm: 2.13.4
os: linux ia32
What could be the reason for this output?
ps There is an error in the debugger "Using `Application.registry.resolve` is deprecated. Please use `Application.resolveRegistration` instead" - this behavior is not due to it.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Stanislav Romanov, 2015-10-27
@Kaer_Morchen

service as service?

F
fsamorodov, 2015-10-27
@fsamorodov

Victory!
{{#each model as |service|}}
{{service.time}}
{{service.price}}
{{/each}}

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question