pkgsrc/lang/ruby-coffee-script-source/distinfo
taca e18d2a00f4 Update ruby-coffee-script-source to 1.7.0.
1.7.0 – January 28, 2014

* When requiring CoffeeScript files in Node you must now explicitly register
  the compiler. This can be done with require 'coffee-script/register' or
  CoffeeScript.register(). Also for configuration such as Mocha's, use
  coffee-script/register.

* Improved error messages, source maps and stack traces. Source maps now use
  the updated //# syntax.

* Leading . now closes all open calls, allowing for simpler chaining syntax.

$ 'body'
.click (e) ->
  $ '.box'
  .fadeIn 'fast'
  .addClass '.active'
.css 'background', 'white'


$('body').click(function(e) {
  return $('.box').fadeIn('fast').addClass('.active');
}).css('background', 'white');

* Added **, // and %% operators and ... expansion in parameter lists and
  destructuring expressions.

* Multiline strings are now joined by a single space and ignore all
  indentation. A backslash at the end of a line can denote the amount of
  whitespace between lines, in both strings and heredocs. Backslashes
  correctly escape whitespace in block regexes.

* Closing brackets can now be indented and therefore no longer cause
  unexpected error.

* Several breaking compilation fixes. Non-callable literals (strings, numbers
  etc.) don't compile in a call now and multiple postfix conditionals compile
  properly. Postfix conditionals and loops always bind object
  literals. Conditional assignment compiles properly in subexpressions. super
  is disallowed outside of methods and works correctly inside for loops.

* Formatting of compiled block comments has been improved.

* No more -p folders on Windows.

* The options object passed to CoffeeScript is no longer mutated.
2014-03-14 17:19:18 +00:00

5 lines
272 B
Text

$NetBSD: distinfo,v 1.7 2014/03/14 17:19:18 taca Exp $
SHA1 (coffee-script-source-1.7.0.gem) = 8f28a0b773a8f1ced6d70c3378f8274f7953e3a3
RMD160 (coffee-script-source-1.7.0.gem) = 102067a755ef5c15208cd2f62008038ed5561e6b
Size (coffee-script-source-1.7.0.gem) = 54272 bytes