Skip to content

Commit

Permalink
change inejct
Browse files Browse the repository at this point in the history
  • Loading branch information
leeluolee committed Jan 29, 2015
1 parent 26cdfa7 commit 0420486
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/Regular.js
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ Regular.implement({

Regular.prototype.inject = function(){
_.log("use $inject instead of inject", "error");
this.$inejct.apply(this, arguments);
this.$inject.apply(this, arguments);
}


Expand Down
7 changes: 7 additions & 0 deletions test/spec/test-lexer.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
var Lexer = require_lib("parser/Lexer.js");
var config = require_lib("config.js");

/**
* setup template
Expand Down Expand Up @@ -67,6 +68,12 @@ describe("Lexer under mode 1 and 2", function(){

})

it("config should work", function(){
config.END = "}}";
config.BEGIN = "{{";

})

})


Expand Down

0 comments on commit 0420486

Please sign in to comment.