MCPcopy Index your code
hub / github.com/SuperMap/iClient-JavaScript / splitWords

Function splitWords

libs/leaflet/leaflet-src.js:142–144  ·  view source on GitHub ↗
(str)

Source from the content-addressed store, hash-verified

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.

Callers 4

leaflet-src.jsFile · 0.85
addClassFunction · 0.85
onFunction · 0.85
offFunction · 0.85

Calls 1

trimFunction · 0.70

Tested by

no test coverage detected