15:00 PM
thomassnielsen_ joined the channel
15:00 PM
kumavis_ is now known as kumavis
15:00 PM
Bear10
and my ex boss saying "ember was dying out"
15:00 PM
Bear10 laughs
15:00 PM
embergess has quit
15:00 PM
hilem joined the channel
15:00 PM
boztek|afk joined the channel
15:01 PM
_1009
really? lol
15:01 PM
gambl0re joined the channel
15:01 PM
tomdale joined the channel
15:01 PM
Bear10
yeah i quit shortly after that
15:02 PM
joshuapoehls joined the channel
15:02 PM
cowboyd joined the channel
15:03 PM
bcol joined the channel
15:03 PM
aurelian has quit
15:03 PM
osxi has quit
15:04 PM
indirect joined the channel
15:05 PM
bengillies has quit
15:06 PM
jbailey
is anyone familiar with helper:@content-helper ?
15:06 PM
hjr3 joined the channel
15:06 PM
mhretab1 has quit
15:07 PM
aurelian joined the channel
15:07 PM
pvoborni_ joined the channel
15:08 PM
MerlinDMC joined the channel
15:09 PM
sandstrom joined the channel
15:10 PM
artto_ has quit
15:10 PM
artto joined the channel
15:11 PM
is anyone familiar with helper:@content-helper?
15:11 PM
jakkor
Bear10: "No frameworks is better than using ember or angular" :D
15:13 PM
aroberts has quit
15:15 PM
artto has quit
15:17 PM
rpkilby joined the channel
15:18 PM
joshuapo_ joined the channel
15:19 PM
Fettuccini
jakkor does have angular some data layer?
15:20 PM
to connect to a REST API, or you have to do the ajax calls by hand?
15:20 PM
jakkor
Fettuccini: didn't use it that much, but I was just quoting what I heard in one of my jobs some time ago.
15:21 PM
Fettuccini
jakkor ok, I was just lazy to google it
15:21 PM
but i think it has to have one
15:21 PM
_1009
what's the latest status on fastboot btw?
15:21 PM
joshuapoehls has quit
15:21 PM
tomlane joined the channel
15:21 PM
jakkor
hehe don't worry, this is the first time that I ask sometimes for something instead of just spending 15 hours or more to figure this out :)
15:21 PM
dfockler joined the channel
15:21 PM
Archaeron has left the channel
15:21 PM
aroberts joined the channel
15:25 PM
einarj has quit
15:25 PM
TMM has quit
15:26 PM
TMM joined the channel
15:26 PM
TMM has quit
15:27 PM
shinnya joined the channel
15:27 PM
TMM joined the channel
15:28 PM
Pupeno joined the channel
15:29 PM
jrm2k6 joined the channel
15:29 PM
sandstrom has quit
15:30 PM
joshuapo_ has quit
15:30 PM
TMM has quit
15:34 PM
Anakat joined the channel
15:35 PM
CIDIC_ joined the channel
15:35 PM
sandstrom joined the channel
15:36 PM
Criten
15:36 PM
15:36 PM
CIDIC has quit
15:36 PM
and i dont think the ember-truth-helpers is working for me...
15:36 PM
but if i print out both of those values (as you can see in my first gist) i'm getting the correct values
15:38 PM
kellysutton joined the channel
15:38 PM
kellysutton has quit
15:39 PM
Bear10
hmm i think im having trouble trying to figure this out
15:40 PM
momomomomo has quit
15:40 PM
if i'm observing or have a property dependent on 'propertyA', but i need it to function differently depending on how propertyA is set (if i do a this.set('propertyA') i want it to behave one way but if htmlbinding from the dropdown changes the value i want it to do something else) how can i go about this?
15:41 PM
Criten
well what does your dropdown change
15:42 PM
you need a way to detect what changes it?
15:42 PM
momomomomo joined the channel
15:44 PM
mar12345 has quit
15:45 PM
rancidhamster has quit
15:46 PM
Bear10
Criten, it changes a value basically, they're just a range of numbers, 1000 2000 etc
15:46 PM
let me see if i can get a jsbin for you
15:47 PM
osxi joined the channel
15:47 PM
gryzzly_ has quit
15:47 PM
Criten
Whew! fixed my problem
15:47 PM
system64 has quit
15:50 PM
annlewis joined the channel
15:50 PM
dixon joined the channel
15:52 PM
veinofstars joined the channel
15:53 PM
_1009
Any tips on using local storage & rest adapter side by side? Where do I define which model uses which adapter?
15:53 PM
kellysutton joined the channel
15:54 PM
Bear10
15:54 PM
kellysutton has quit
15:55 PM
kellysutton joined the channel
15:55 PM
15:56 PM
sandstrom has quit
15:56 PM
hilem_ joined the channel
15:57 PM
Criten
why do you want other logic to run?.... you could use another internal variable
15:57 PM
for hte .set
15:58 PM
eh.. but the selectedItemChange will still run
15:58 PM
Bear10
right
15:58 PM
Criten
do you basically want to change it without doing the *2
15:58 PM
Bear10
the thing is selectedItemTwo loads with defaults UNLESS specified
15:58 PM
if i specify it, i want my value not the default
15:59 PM
hilem has quit
15:59 PM
Criten
hmm
15:59 PM
ok
15:59 PM
so dont observe selectedItem
15:59 PM
futilegames has quit
15:59 PM
have a onChange on the dropdown
15:59 PM
aroberts has quit
15:59 PM
that does the * 2 logic
15:59 PM
Bear10
i was looking on how to have the onChange on the dropdown, if i can find that i could probably control everything through a boolean
16:00 PM
but i couldn't find it, on SO people recommended looking at the property
16:00 PM
Criten
well first off
16:00 PM
are you/ can you get on ember 1.13?
16:00 PM
thsdrouot joined the channel
16:01 PM
Bear10
mm i'm on 1.12 id say
16:01 PM
Criten
i'd recomend stop using the dumb view 'select'
16:01 PM
Bear10
yep 1.12, but i'm worried about addons breaking
16:01 PM
Criten
16:01 PM
hmm
16:02 PM
yaymukund joined the channel
16:02 PM
you could try this
16:02 PM
keep the logic for the primary item the same
16:02 PM
[bog] has quit
16:02 PM
but you could call selectedItemChanged explicitly for changing manually
16:03 PM
with attributes that you pass in
16:03 PM
and if that value is set, do logic A if it isn't do logic B
16:03 PM
aroberts joined the channel
16:03 PM
Bear10
ohh that's an interesting approach
16:04 PM
Criten
but... you will still have to set() primary item again
16:04 PM
which will cause the observer to fire
16:04 PM
lol
16:04 PM
Bear10
lol
16:04 PM
yeah it's a tough one
16:04 PM
ilmgb has quit
16:05 PM
Criten
well it's kidna weird
16:05 PM
Riscie joined the channel
16:05 PM
that you wanna do different logic...
16:05 PM
hmm
16:06 PM
i'd say
16:06 PM
have the dropdown change a different variable
16:07 PM
idk what your use case is
16:07 PM
but call the variable that the primary item is
16:07 PM
Riscie has quit
16:07 PM
selectedItem
16:07 PM
adamesque has quit
16:07 PM
well wait....
16:07 PM
Riscie joined the channel
16:08 PM
you probably want to update primary item
16:08 PM
once it changes manually
16:08 PM
in the dropdown
16:08 PM
(the selectedo ne)
16:08 PM
one*
16:08 PM
adamesque joined the channel