Showing 10 of 12 total issues
File enjs.js
has 897 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
(function()
{
var rsplit, chop, extend;
EJS = function( options, cb )
Function tokenize
has 85 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
tokenize: function(options)
{
this.out = '';
var put_cmd = ";_ABC(this,_T,";
var insert_cmd = put_cmd;
Function construct
has 71 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
construct : function(options, cb)
{
if (typeof options == "string")
options = {view: options};
this.set_options(options);
Function report_error
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
report_error : function(e, args, code)
{
if (typeof JSHINT !== 'undefined')
VALIDATE = JSHINT;
else if (typeof JSLINT !== 'undefined')
Function Scanner
has 38 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
EJS.Scanner = function(source, left, right)
{
extend(
this,
{
Function newRequest
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
EJS.newRequest = function()
{
var factories =
[
function()
Function construct
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
construct: function(source, left)
{
this.pre_cmd = [];
this.post_cmd = [];
this.source = ' ';
Function first
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
first : function(cb)
{
var canvas = this.escape();
if (canvas.completed)
Avoid too many return
statements within this function. Open
Open
return request.responseText;
Avoid too many return
statements within this function. Open
Open
return null;