(obj, func, ...param)
| 346 | |
| 347 | /* If a function, then evaluate */ |
| 348 | export function evalFunc(obj, func, ...param) { |
| 349 | if(_.isFunction(func)) { |
| 350 | return func.apply(obj, [...param]); |
| 351 | } |
| 352 | return func; |
| 353 | } |
| 354 | |
| 355 | export function getBrowser() { |
| 356 | if(navigator.userAgent.indexOf('Electron') >= 0) { |
no outgoing calls
no test coverage detected