diff --git a/LICENSE b/LICENSE index 3724b8a..4597c40 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ (The MIT License) -Copyright (c) 2012-2014 zheng haibo(leeluolee). and regular contributors +Copyright (c) 2012-2015 NetEase, Inc. and regularjs contributors. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the diff --git a/dist/regular.js b/dist/regular.js index 67e1d7e..b28c386 100644 --- a/dist/regular.js +++ b/dist/regular.js @@ -1,6 +1,6 @@ /** @author leeluolee -@version 0.3.0 +@version 0.3.1 @homepage http://regularjs.github.io */ ;(function(){ diff --git a/test/regular.js b/test/regular.js index 375c542..676fef3 100644 --- a/test/regular.js +++ b/test/regular.js @@ -1,6 +1,6 @@ /** @author leeluolee -@version 0.3.0 +@version 0.3.1 @homepage http://regularjs.github.io */ diff --git a/test/spec/test-lexer.js b/test/spec/test-lexer.js index b5f553a..2dc2db3 100644 --- a/test/spec/test-lexer.js +++ b/test/spec/test-lexer.js @@ -1,4 +1,5 @@ var Lexer = require_lib("parser/Lexer.js"); +var config = require_lib("config.js"); /** * setup template @@ -67,6 +68,12 @@ describe("Lexer under mode 1 and 2", function(){ }) + it("config should work", function(){ + config.END = "}}"; + config.BEGIN = "{{"; + + }) + })