Skip to content
This repository was archived by the owner on Dec 4, 2017. It is now read-only.

Commit 8a5e281

Browse files
committed
update docshredder to shred .es6
1 parent ad6f459 commit 8a5e281

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

tools/doc-shredder/doc-shredder.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ function createShredExamplePackage(shredOptions) {
120120
readFilesProcessor.basePath = "/";
121121

122122
// Specify collections of source files that should contain the documentation to extract
123-
var extns = ['*.ts', '*.html', '*.js', '*.css', '*.json', '*.dart', '*.yaml' ];
123+
var extns = ['*.ts', '*.html', '*.js', '*.css', '*.json', '*.dart', '*.yaml', '*.es6' ];
124124
var includeFiles = extns.map(function(extn) {
125125
if (options.includeSubdirs) {
126126
return path.join(options.examplesDir, '**', extn);

tools/doc-shredder/regionExtractor.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ function getCommentInfo(extension) {
154154
switch (extension) {
155155
case 'ts':
156156
case 'js':
157+
case 'es6':
157158
case 'dart':
158159
commentInfo = {
159160
prefix: '//',

0 commit comments

Comments
 (0)