Skip to content

Commit efe0266

Browse files
authored
add missing esy compiled files (#470)
1 parent 7929b62 commit efe0266

File tree

3 files changed

+7
-5
lines changed

3 files changed

+7
-5
lines changed

lib-es5/utils/encoding/encodeDoubleArray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var toArray = require('../parsing/toArray');
55

66
/**
77
* Serialize an array of arrays into a string
8-
* @param {[]|[[]]} array - An array of arrays.
8+
* @param {string[] | Array.<Array.<string>>} array - An array of arrays.
99
* If the first element is not an array the argument is wrapped in an array.
1010
* @returns {string} A string representation of the arrays.
1111
*/

lib-es5/utils/index.js

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,9 +135,11 @@ function textStyle(layer) {
135135
}
136136

137137
/**
138-
* Normalize an offset value
139-
* @param {String} expression a decimal value which may have a 'p' or '%' postfix. E.g. '35%', '0.4p'
140-
* @return {Object|String} a normalized String of the input value if possible otherwise the value itself
138+
* Normalize an expression string, replace "nice names" with their coded values and spaces with "_"
139+
* e.g. `width > 0` => `w_lt_0`
140+
*
141+
* @param {String} expression An expression to be normalized
142+
* @return {Object|String} A normalized String of the input value if possible otherwise the value itself
141143
*/
142144
function normalize_expression(expression) {
143145
if (!isString(expression) || expression.length === 0 || expression.match(/^!.+!$/)) {

lib-es5/utils/parsing/toArray.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var isArray = require('lodash/isArray');
55
/**
66
* @desc Turns arguments that aren't arrays into arrays
77
* @param arg
8-
* @returns {*[]|*}
8+
* @returns { any | any[] }
99
*/
1010
function toArray(arg) {
1111
switch (true) {

0 commit comments

Comments
 (0)