Cris Ward

Results 66 comments of Cris Ward

You should be able to edit here http://codepen.io/crisward/pen/yyvBmL?editors=101 Thanks in advance for your help with this.

Thanks for your very promt help with this. I downloaded and tried the code you supplied and it works in firefox 39 on mac, but not in safari or chrome...

Is there any documentation or issue as to why coffeescript does this? I can understand why it may be necessary if the variable is declared outside the class, but inside...

We use a dependency injection system which parses the output of the constructor to know what modules to inject (a bit like Angularjs did). This can't find a module with...

Just checked and coffeescript 1.9.1 didn't do this.

It's node, so doesn't need to be minified. Also you can just not mangle in uglify for client side stuff. I have a codebase I'm converting from 1.9.1 to 2.*...

@vendethiel thanks for the help, I looked at some of the other issues. I'm injecting @request, and using the variable name request in a method, which causes @request to become...

If I had to do that, I'd probably just give up and use plain js 😢

In my example the variable name is not in the same scope, but I understand the need for simplicity.