Skip to content

Commit

Permalink
remove some unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
kbrsh committed Feb 15, 2017
1 parent 8e5b73d commit 862a08e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions dist/moon.js
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@
var noop = function () {};

/* ======= Compiler ======= */
var lex = function (input, opts) {
var lex = function (input) {
var state = {
input: input,
current: 0,
Expand All @@ -429,7 +429,6 @@

var lexState = function (state) {
var input = state.input;
var len = input.length;
while (state.current < len) {
// Check if it is text
if (input.charAt(state.current) !== "<") {
Expand Down Expand Up @@ -505,7 +504,6 @@

// Lex Starting of Tag
var isClosingStart = input.charAt(state.current + 1) === "/";
var startChar = input.charAt(state.current);
state.tokens.push({
type: "tagStart",
close: isClosingStart
Expand Down
Loading

0 comments on commit 862a08e

Please sign in to comment.