Skip to content

Commit 78a6164

Browse files
committed
coffee-script to coffeescript
1 parent 1880db7 commit 78a6164

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

test/out-expected/litcoffee-to-js.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
(function() {
2+
// The **Scope** class regulates lexical scoping within CoffeeScript. As you
3+
// generate code, you create a tree of scopes in the same shape as the nested
4+
// function bodies. Each scope knows about the variables declared within it,
5+
// and has a reference to its parent enclosing scope. In this way, we know which
6+
// variables are new and need to be declared with `var`, and which are shared
7+
// with external scopes.
8+
9+
// Import the helpers we plan to use.
210
var a;
311

412
a = require('./helpers');

test/out-expected/md-to-js.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,12 @@
11
(function() {
2+
// The **Scope** class regulates lexical scoping within CoffeeScript. As you
3+
// generate code, you create a tree of scopes in the same shape as the nested
4+
// function bodies. Each scope knows about the variables declared within it,
5+
// and has a reference to its parent enclosing scope. In this way, we know which
6+
// variables are new and need to be declared with `var`, and which are shared
7+
// with external scopes.
8+
9+
// Import the helpers we plan to use.
210
var a;
311

412
a = require('./helpers');

0 commit comments

Comments
 (0)