(str)
| 140 | // @function splitWords(str: String): String[] |
| 141 | // Trims and splits the string on whitespace and returns the array of parts. |
| 142 | function splitWords(str) { |
| 143 | return trim(str).split(/\s+/); |
| 144 | } |
| 145 | |
| 146 | // @function setOptions(obj: Object, options: Object): Object |
| 147 | // Merges the given properties to the `options` of the `obj` object, returning the resulting options. See `Class options`. Has an `L.setOptions` shortcut. |
no test coverage detected