CoffeeScript 1.3.0 is out
coffeescript.org
CoffeeScript 1.3.0 is out
1–10 of 55 posts
Re: CoffeeScript 1.3.0 is out
#2Re: CoffeeScript 1.3.0 is out
#3Re: CoffeeScript 1.3.0 is out
#4My hats off to Jeremy and all the contributors. Thanks guys.
Re: CoffeeScript 1.3.0 is out
#5Re: CoffeeScript 1.3.0 is out
#6Re: CoffeeScript 1.3.0 is out
#7 global.value or= 1
... which should now compile properly as expected.Re: CoffeeScript 1.3.0 is out
#8Now that both ?= and or= throw errors with an undefined variable, is there another idiomatic way to write Ruby's ||= in CoffeeScript?
window._ or= require "underscore"Re: CoffeeScript 1.3.0 is out
#9Now that both ?= and or= throw errors with an undefined variable, is there another idiomatic way to write Ruby's ||= in CoffeeScript?
If you want the previous global behavior (make sure you're on 1.3.1) ... explicitly say you're making a global: window._ or= require "underscore"
Re: CoffeeScript 1.3.0 is out
#10No IcedCoffeescript's await and defer integration yet? Will we ever see them in Coffeescript's core?
https://github.com/jashkenas/coffee-script/pull/1942
It's not terribly likely that we'll see an IcedCoffeeScript merge soon, given that the basic needs that a merge would entail haven't been addressed. A few of them:
* We don't want to add helper libraries, like "iced.Rendevous", "icedlib.Pipeliner", or "icedlib.timeout" to our generated JS.
* Last time I checked, there was a significant slowdown even when compiling code that doesn't use "iced" features.
* For particulars on the grammar, @devongovett raises a number of worthwhile issues in the thread.
* There's still muddiness in the way that errors and exceptions are passed through the CPS transform.
* Some (important) edge cases like nested await blocks aren't handled yet, as far as I know.
... and so on.