Add Dart support

This commit is contained in:
Garen Torikian 2012-11-10 14:59:53 -08:00 • committed by nightwing
commit 5f7884657a
8 changed files with 317 additions and 4 deletions

View file

@ -34,7 +34,7 @@
* ***** END LICENSE BLOCK ***** */
/*
THIS FILE WAS AUTOGENERATED BY mode_highlight_rules.tmpl.js (UUID: %uuid%) */
THIS FILE WAS AUTOGENERATED BY %name% (UUID: %uuid%) */
/*******

View file

@ -270,8 +270,9 @@ function convertLanguage(name) {
var languageHighlightRules = fillTemplate(modeHighlightTemplate, {
language: languageNameSanitized,
languageTokens: patterns,
respositoryRules: "/*** START REPOSITORY RULES\n" + (Object.keys(repository).length === 0 ? "" : repository) + "\nEND REPOSITORY RULES ***/",
uuid: language.uuid
respositoryRules: "/*** START REPOSITORY RULES\n" + repository + "\nEND REPOSITORY RULES ***/",
uuid: language.uuid,
name: name
});
if (devMode) {