From 78a616422a1ce2b54b23997458d55076dae25f74 Mon Sep 17 00:00:00 2001 From: Benjamin Lupton Date: Wed, 7 Mar 2018 18:41:18 +0800 Subject: [PATCH] coffee-script to coffeescript --- test/out-expected/litcoffee-to-js.js | 8 ++++++++ test/out-expected/md-to-js.js | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/test/out-expected/litcoffee-to-js.js b/test/out-expected/litcoffee-to-js.js index 946af4a..f9bb859 100644 --- a/test/out-expected/litcoffee-to-js.js +++ b/test/out-expected/litcoffee-to-js.js @@ -1,4 +1,12 @@ (function() { + // The **Scope** class regulates lexical scoping within CoffeeScript. As you + // generate code, you create a tree of scopes in the same shape as the nested + // function bodies. Each scope knows about the variables declared within it, + // and has a reference to its parent enclosing scope. In this way, we know which + // variables are new and need to be declared with `var`, and which are shared + // with external scopes. + + // Import the helpers we plan to use. var a; a = require('./helpers'); diff --git a/test/out-expected/md-to-js.js b/test/out-expected/md-to-js.js index 946af4a..f9bb859 100644 --- a/test/out-expected/md-to-js.js +++ b/test/out-expected/md-to-js.js @@ -1,4 +1,12 @@ (function() { + // The **Scope** class regulates lexical scoping within CoffeeScript. As you + // generate code, you create a tree of scopes in the same shape as the nested + // function bodies. Each scope knows about the variables declared within it, + // and has a reference to its parent enclosing scope. In this way, we know which + // variables are new and need to be declared with `var`, and which are shared + // with external scopes. + + // Import the helpers we plan to use. var a; a = require('./helpers');