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 specialDocs = fs.readdirSync(cwd);
|
||||||
var modes = modeList();
|
var modes = modeList();
|
||||||
|
|
||||||
console.log("Docs:", docs);
|
// console.log("Docs:", docs);
|
||||||
console.log("Modes:", modes);
|
// console.log("Modes:", modes);
|
||||||
|
|
||||||
docs.forEach(function(docName) {
|
docs.forEach(function(docName) {
|
||||||
var p = docName.toLowerCase().split(".");
|
var p = docName.toLowerCase().split(".");
|
||||||
|
|
@ -92,6 +92,7 @@ function generateTestData() {
|
||||||
console.warn("Can't load mode :" + modeName, p, e);
|
console.warn("Can't load mode :" + modeName, p, e);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
console.log(modeName);
|
||||||
var tokenizer = new Mode().getTokenizer();
|
var tokenizer = new Mode().getTokenizer();
|
||||||
|
|
||||||
var state = "start";
|
var state = "start";
|
||||||
|
|
|
||||||
|
|
@ -157,12 +157,11 @@
|
||||||
["text.xml"," "],
|
["text.xml"," "],
|
||||||
["punctuation.definition.tag.begin.soy","{"],
|
["punctuation.definition.tag.begin.soy","{"],
|
||||||
["entity.name.tag.soy","param"],
|
["entity.name.tag.soy","param"],
|
||||||
["text"," "],
|
["meta.tag.param.soy"," "],
|
||||||
["entity.other.attribute-name.soy","name"],
|
["entity.other.attribute-name.soy","name"],
|
||||||
["keyword.operator.soy",":"],
|
["keyword.operator.soy",":"],
|
||||||
["meta.tag.param.soy"," "],
|
["meta.tag.param.soy"," "],
|
||||||
["variable.other.soy","$additionalName"],
|
["variable.other.soy","$additionalName"],
|
||||||
["text"," "],
|
|
||||||
["meta.tag.param.soy"," /"],
|
["meta.tag.param.soy"," /"],
|
||||||
["punctuation.definition.tag.end.soy","}"]
|
["punctuation.definition.tag.end.soy","}"]
|
||||||
],[
|
],[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue