Skip to content

Commit e4d9224

Browse files
fixed parameter types
1 parent b5e1871 commit e4d9224

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

lib/woql.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
const UTILS = require('./utils');
2-
const WOQLRule = require('./woqlRule');
3-
const FrameRule = require('./frameRule');
42

53
/**
64
* The WOQL object is a wrapper around the WOQLQuery object
@@ -328,7 +326,7 @@ WOQL.join = function(input, glue, output){ return new WOQLQuery().join(input, gl
328326

329327
/**
330328
* Splits a variable apart (input) into a list of variables (output) by separating the strings together with separator
331-
* @param {array} input - a string or variable
329+
* @param {string} input - a string or variable
332330
* @param {string} separator - character string to separate string into list
333331
* @param {string} output - variable that stores output list
334332
* @return {object} WOQLQuery
@@ -338,7 +336,7 @@ WOQL.split = function(input, separator, output){ return new WOQLQuery().split(in
338336
/**
339337
* Iterates through a list and returns a value for each member
340338
* @param {string} El - a variable representing an element of the list
341-
* @param {List} List - A list variable
339+
* @param {string} List - A list variable
342340
* @return {object} WOQLQuery
343341
*/
344342
WOQL.member = function(El, List){ return new WOQLQuery().member(El, List); }

0 commit comments

Comments
 (0)