My day was likewise saved by this answer
On Thursday, October 17, 2013 4:36:50 AM UTC-4, Majid Burney wrote:
>
> They've only disallowed accessing DOM nodes in expressions, not in
> directives. Your code is only broken because of Coffeescript's bad habit of
> automatically returning the last val
Nice! I had no idea why it was failing. Not sure I'd call auto returning a
bad habit. In many cases it makes my code shorter and easier to read,
especially with angular where I'm always returning functions or objects to
the framework.
I put the onus on Angular for a clearer error message. I tho
Thank you so much Majid!
On Thursday, October 17, 2013 1:36:50 AM UTC-7, Majid Burney wrote:
>
> They've only disallowed accessing DOM nodes in expressions, not in
> directives. Your code is only broken because of Coffeescript's bad habit of
> automatically returning the last value in a function
And mine!
On Tuesday, March 18, 2014 11:03:34 AM UTC+1, Xingyi Chen wrote:
>
> Mine too!!
>
> On Saturday, March 15, 2014 6:02:38 AM UTC+8, Giovanni K Bonetti wrote:
>>
>> Mine too!
>>
>> Em quarta-feira, 19 de fevereiro de 2014 13h16min02s UTC-3, Nik escreveu:
>>>
>>> You saved the day for me,too
Mine too!!
On Saturday, March 15, 2014 6:02:38 AM UTC+8, Giovanni K Bonetti wrote:
>
> Mine too!
>
> Em quarta-feira, 19 de fevereiro de 2014 13h16min02s UTC-3, Nik escreveu:
>>
>> You saved the day for me,too
>>
>> On Thursday, October 17, 2013 10:36:50 AM UTC+2, Majid Burney wrote:
>>>
>>> They'
Mine too!
Em quarta-feira, 19 de fevereiro de 2014 13h16min02s UTC-3, Nik escreveu:
>
> You saved the day for me,too
>
> On Thursday, October 17, 2013 10:36:50 AM UTC+2, Majid Burney wrote:
>>
>> They've only disallowed accessing DOM nodes in expressions, not in
>> directives. Your code is only b
You saved the day for me,too
On Thursday, October 17, 2013 10:36:50 AM UTC+2, Majid Burney wrote:
>
> They've only disallowed accessing DOM nodes in expressions, not in
> directives. Your code is only broken because of Coffeescript's bad habit of
> automatically returning the last value in a fun
Amazing to notice this. Thanks !
Le jeudi 17 octobre 2013 10:36:50 UTC+2, Majid Burney a écrit :
>
> They've only disallowed accessing DOM nodes in expressions, not in
> directives. Your code is only broken because of Coffeescript's bad habit of
> automatically returning the last value in a fun