All classes now named.

This commit is contained in:
Timothy Jones
2010-10-05 15:52:33 +13:00
parent 8eb283df2c
commit 645075f910
6 changed files with 73 additions and 67 deletions

View File

@@ -4,7 +4,7 @@
Rewriter = require('./rewriter').Rewriter;
_ref = require('./helpers'), include = _ref.include, count = _ref.count, starts = _ref.starts, compact = _ref.compact, last = _ref.last;
exports.Lexer = (function() {
Lexer = function() {};
Lexer = (function() { function Lexer() {} return Lexer; })();
Lexer.prototype.tokenize = function(code, options) {
var o;
code = code.replace(/\r/g, '').replace(/\s+$/, '');