Skip to content

Commit dce84f0

Browse files
committed
parser up
1 parent 39b792b commit dce84f0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/cts-parser.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -362,9 +362,11 @@ var CtsParser = {
362362
// TODO: Get these special cases out of here!
363363
// Parser shouldn't know about particulars of trees!
364364
if (kind == 'gsheet') {
365+
treeSpec.name = h[0];
366+
treeSpec.url = h[1];
365367
treeSpec.opts['name'] = h[0];
366368
treeSpec.opts['url'] = h[1];
367-
if (h.length > 2) {
369+
if (h.length > 2) {
368370
treeSpec.opts['worksheet'] = h[2];
369371
}
370372
} else if (kind == 'html') {

0 commit comments

Comments
 (0)