Skip to content
This repository has been archived by the owner on Oct 19, 2022. It is now read-only.

Commit

Permalink
Commented ./tracks off static code analisis. Removed old jshint direc…
Browse files Browse the repository at this point in the history
…tives.
  • Loading branch information
Undre4m committed Sep 30, 2017
1 parent d164324 commit fe4cefe
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 7 deletions.
2 changes: 1 addition & 1 deletion gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = function (grunt) {
'./src/**/*.js',
'./test/suites/*.js',
'./test/*.js',
'./tracks/**/*.js'
//'./tracks/**/*.js'
]
},

Expand Down
11 changes: 5 additions & 6 deletions src/runtime.js
Original file line number Diff line number Diff line change
Expand Up @@ -578,10 +578,10 @@ define([
};

/**
* Visitor that need to be developed. Were implemented for refactor purpose.
* Please Move this message taking into account that are not developed yet.
* Visitors that need to be developed. Warnings implemented for refactoring purposes.
* Please move this message taking into account that are not developed yet.
*/
/*jshint ignore:start*/

FirstPass.prototype.visitArrowExpression = function(ast, state){
console.warn('ArrowExpression visitor not implemented yet');
return;
Expand Down Expand Up @@ -671,7 +671,6 @@ define([
console.warn('YieldExpression visitor not implemented yet');
return;
};
/*jshint ignore:end*/

FirstPass.prototype.callNativeFunction = function (targetObject, nativeFunction, argumentsAst, state) {
var argumentValues = [];
Expand Down Expand Up @@ -1033,7 +1032,7 @@ define([
* AN EVAL CONTRUCTION. ARRAY'S ARE TRUNCATED TO THE AMOUNT OF ORIGINAL ARGUMENTS TO AVOID
* THE ABOVE CONFLICT. LARGE ARRAY'S COULD BE CREATED WITH EVAL ALSO.
*/
/* jshint ignore:start */

if (argumentValues.length > 20) console.log('The amount of arguments provided exceeds the amount of arguments supported by this version.');

if (typeValue.name === 'Function' && argumentValues.length > 7) console.log('The amount of arguments provided exceeds the amount of arguments supported for Function creation by this version.');
Expand Down Expand Up @@ -1075,7 +1074,7 @@ define([
//Splice up to the original amount of items.
if (typeValue.name === 'Array') newObject.splice(argumentValues.length);
}
/* jshint ignore:end */

/*
* END OF WORKAROUND!
* DISCLAIMER: PUMASCRIPT TEAM IS NOT RESPONSIBLE FOR LOSS OF VISION, PARTIAL OR TOTAL.
Expand Down

0 comments on commit fe4cefe

Please sign in to comment.