Skip to content

Commit db216ec

Browse files
[CS2] 2.0.0-beta1 (#4499)
* Fix browser build to incorporate Markdown-It, not Marked * Update Google Closure Compiler; recompile browser build but with MINIFY=false, because Closure Compiler throws an error on our current code; see google/closure-compiler-js#59 * Bump version to 2.0.0-beta1; do release build, with updated docs and annotated source
1 parent 9b77371 commit db216ec

24 files changed

+9519
-1193
lines changed

Cakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ task 'build:browser', 'build the merged script for inclusion in the browser', ->
122122
return #{fs.readFileSync "./package.json"};
123123
})();
124124
"""
125-
for {name, src} in [{name: 'marked', src: 'lib/marked.js'}]
125+
for {name, src} in [{name: 'markdown-it', src: 'dist/markdown-it.min.js'}]
126126
code += """
127127
require['#{name}'] = (function() {
128128
var exports = {}, module = {exports: exports};

docs/v2/annotated-source/grammar.html

+1
Original file line numberDiff line numberDiff line change
@@ -996,6 +996,7 @@ <h2 id="grammatical-rules">Grammatical Rules</h2>
996996
o <span class="hljs-string">'Identifier AS Identifier'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ExportSpecifier $<span class="hljs-number">1</span>, $<span class="hljs-number">3</span>
997997
o <span class="hljs-string">'Identifier AS DEFAULT'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ExportSpecifier $<span class="hljs-number">1</span>, <span class="hljs-keyword">new</span> Literal $<span class="hljs-number">3</span>
998998
o <span class="hljs-string">'DEFAULT'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ExportSpecifier <span class="hljs-keyword">new</span> Literal $<span class="hljs-number">1</span>
999+
o <span class="hljs-string">'DEFAULT AS Identifier'</span>, <span class="hljs-function">-&gt;</span> <span class="hljs-keyword">new</span> ExportSpecifier <span class="hljs-keyword">new</span> Literal($<span class="hljs-number">1</span>), $<span class="hljs-number">3</span>
9991000
]</pre></div></div>
10001001

10011002
</li>

0 commit comments

Comments
 (0)