alexspeller: is it accurate to say that using the component helper to render a component determined at runtime, is not considered dynamically rendering a template because the component templates are already rendered, and the use of that helper just turns into some JS logic for swapping in/out the template contents?
dadamssg joined the channel
krawchyk has quit
jansegre has quit
mrbubbles has quit
enricob has quit
locks
NeoHamled: yeah, the templates are already compiled and registered with the Ember application
NeoHamled
ok
acroeven
what's the -routing service packaged with?
NeoHamled
as it happens, I’m currently trying to do something like {{component myModel.componentName}} and it’s not rendering anything for that… I’m still very new to Ember and not sure what approach I should use for debugging that situation
This is the full template, and the JS code that was generated from it (which, from a quick glance, seems to be saying there are some errors in my template code?) https://gist.github.com/Hamled/98081baba0716f7e...
acroeven
there is a private routing service now?
LaRoux has quit
pause_ has quit
pause_ joined the channel
alexspeller
NeoHamled: what is that js from?
NeoHamled: if you have an incorrect template, ember-cli will tell you during the build process
NeoHamled
alexspeller: it’s the source for emojivator/templates/problems.js
I assume that’s what the build process has generated?
there’s a similar one for every template I have
alexspeller
NeoHamled: where are those js files located? In tmp somewhere?
NeoHamled
I… guess? I’m only seeing it through the sources tab in firefox’s developer tools
yeah it’s in tmp/template_compiler_output_path-whatever.tmp/
alexspeller
oh right
ok yeah normally you wouldn't see compiled templates as something you interact with
NeoHamled
the impression I’m coming to is the fragmentReason “problems” are not necessarily template errors that I need to fix
yeah
but I genuinely have no idea of where I should be debugging to understand why this use of the component helper is not doing anything
wooboodoo has quit
atomiccc has quit
alexspeller
have you checked myModel.componentName has the value you expect in it?
duggiefresh joined the channel
NeoHamled
I guess I haven’t explicitly output it in the template, so no
hrm… it’s definitely not getting a value for that, which is very weird because I’m getting it from a mirage fixture, and I can see very clearly the data is there, and my Mirage config is supposed to pass it along
pause_ has quit
and in the FF console I can see the json-api call to get that data, and that attribute’s value is included in what gets received
superlou joined the channel
wooboodoo joined the channel
oh blah I am so forgetful
I updated the whole mirage side of things but didn’t actually update the model :P
krawchyk joined the channel
krawchyk has quit
krawchyk joined the channel
okay that’s working, thank you for all the help alexspeller
alexspeller
np
jrm2k6 joined the channel
emberjs-hubot has quit
emberjs-hubot joined the channel
pause_ joined the channel
jansegre joined the channel
SIADevelopment joined the channel
InezK is now known as InezK_away
rando joined the channel
wookiehangover has quit
jrm2k6 joined the channel
markstory joined the channel
jansegre joined the channel
wookiehangover joined the channel
ur5us joined the channel
shama has quit
jtong joined the channel
jtong has quit
trevor joined the channel
pause_ has quit
sofly joined the channel
ur5us_ joined the channel
dadamssg joined the channel
ur5us joined the channel
duggiefresh joined the channel
atomiccc joined the channel
atomiccc has quit
atomiccc joined the channel
nerium has quit
nerium joined the channel
atomiccc has quit
pause_ joined the channel
xtagon has quit
pause_ has quit
pause_ joined the channel
NeoHamled has quit
scottn_work has quit
atomiccc joined the channel
krawchyk has quit
trevor joined the channel
ToTheInternet joined the channel
atomiccc has quit
ryanuber joined the channel
NeoHamled joined the channel
dadamssg joined the channel
NeoHamled has quit
kanishka joined the channel
jae joined the channel
jae has left the channel
NeoHamled joined the channel
atomiccc joined the channel
NeoHamled has quit
NeoHamled joined the channel
atomiccc has quit
docster joined the channel
pause_ has quit
atomiccc joined the channel
atomiccc has quit
Garrick_
Has anyone worked with torii and redirects with hashbangs?
the message is : The authenticator "authenticator:oauth2" rejected to restore the session - invalidating…
dunno what I'm doing wrong
any help?
_August_1 has quit
greengriminal joined the channel
fromalphtozen has quit
ur5us has quit
drake has quit
fromalphtozen joined the channel
_August_1 joined the channel
_August_ has quit
dionysus69 joined the channel
czerasz joined the channel
krz has quit
Graham joined the channel
Graham has left the channel
dionysus69
since I can't change properties from index.js to application.hbs, can I call a function from index.js that is in application.js and then changes the property in application.hbs?