Skip to content

Commit

Permalink
♻️ Remove some unneeded arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
skerit committed Feb 13, 2024
1 parent d9a6dea commit a630214
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/function.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ Blast._fn_token_prepare = function BlastReadyFunction() {
*
* @return {Function}
*/
defStat('create', function create(name, args, fnc) {
defStat(function create(name, args, fnc) {

if (typeof args == 'function') {
fnc = args;
Expand Down Expand Up @@ -226,7 +226,7 @@ function _create(name, args, fnc) {
*
* @return {Boolean}
*/
defStat('isNameAllowed', function isNameAllowed(name) {
defStat(function isNameAllowed(name) {

var result;

Expand Down Expand Up @@ -255,7 +255,7 @@ defStat('isNameAllowed', function isNameAllowed(name) {
*
* @return {String}
*/
defStat('getTokenType', function getTokenType(tokenString) {
defStat(function getTokenType(tokenString) {

var patternName;

Expand Down Expand Up @@ -290,7 +290,7 @@ defStat('getTokenType', function getTokenType(tokenString) {
*
* @return {Array}
*/
defStat('tokenize', function tokenize(sourceCode, addType, throwErrors) {
defStat(function tokenize(sourceCode, addType, throwErrors) {

let line_nr = 0,
tokens = [],
Expand Down

0 comments on commit a630214

Please sign in to comment.