add require_template

This commit is contained in:
Aleksey Chichenkov 2019-01-31 11:18:50 +03:00
parent cc59556b65
commit 6e7111c1a7
3 changed files with 13 additions and 6 deletions

View file

@ -1,3 +0,0 @@
return LemonJS;
})
})();

View file

@ -1,3 +1,6 @@
/**
* Created by Aleksey Chichenkov <a.chichenkov@initi.ru> on 1/31/19.
*/
(function(){
var modulePath = "external/lemonJS/parser";
var deps = [
@ -7,3 +10,7 @@
define(modulePath, deps, function(){
var Lexer = require("external/re2js/lexer");
var tokens = require("external/lemonJS/tokens");
<%%PARSER%%>
return LemonJS;
})
})();