(s: string | string[], d?: string | RegExp)
| 186 | * const arr = tinymce.explode('a, b, c'); |
| 187 | */ |
| 188 | const explode = (s: string | string[], d?: string | RegExp): string[] => { |
| 189 | if (Type.isArray(s)) { |
| 190 | return s; |
| 191 | } else if (s === '') { |
| 192 | return []; |
| 193 | } else { |
| 194 | return ArrUtils.map(s.split(d || ','), trim); |
| 195 | } |
| 196 | }; |
| 197 | |
| 198 | const _addCacheSuffix = (url: string): string => { |
| 199 | const cacheSuffix = Env.cacheSuffix; |
no test coverage detected
searching dependent graphs…