update soy_template test
This commit is contained in:
parent
f362d2e84a
commit
e26c70ad53
2 changed files with 5 additions and 5 deletions
|
|
@ -63,8 +63,8 @@ function generateTestData() {
|
|||
var specialDocs = fs.readdirSync(cwd);
|
||||
var modes = modeList();
|
||||
|
||||
console.log("Docs:", docs);
|
||||
console.log("Modes:", modes);
|
||||
// console.log("Docs:", docs);
|
||||
// console.log("Modes:", modes);
|
||||
|
||||
docs.forEach(function(docName) {
|
||||
var p = docName.toLowerCase().split(".");
|
||||
|
|
@ -92,6 +92,7 @@ function generateTestData() {
|
|||
console.warn("Can't load mode :" + modeName, p, e);
|
||||
return;
|
||||
}
|
||||
console.log(modeName);
|
||||
var tokenizer = new Mode().getTokenizer();
|
||||
|
||||
var state = "start";
|
||||
|
|
|
|||
|
|
@ -157,13 +157,12 @@
|
|||
["text.xml"," "],
|
||||
["punctuation.definition.tag.begin.soy","{"],
|
||||
["entity.name.tag.soy","param"],
|
||||
["text"," "],
|
||||
["meta.tag.param.soy"," "],
|
||||
["entity.other.attribute-name.soy","name"],
|
||||
["keyword.operator.soy",":"],
|
||||
["meta.tag.param.soy"," "],
|
||||
["variable.other.soy","$additionalName"],
|
||||
["text"," "],
|
||||
["meta.tag.param.soy","/"],
|
||||
["meta.tag.param.soy"," /"],
|
||||
["punctuation.definition.tag.end.soy","}"]
|
||||
],[
|
||||
"start",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue