* Simple try/catch helper, if exists, returns result * * @private * * @param {Function} tryFn - try block * @param {Function} catchFn - catch block * @returns {?*}
(tryFn, catchFn)
| 296 | * @returns {?*} |
| 297 | */ |
| 298 | function tryCatch (tryFn, catchFn) { |
| 299 | try { |
| 300 | return tryFn() |
| 301 | } catch (err) { |
| 302 | catchFn(err) |
| 303 | } |
| 304 | } |
| 305 | |
| 306 | /** |
| 307 | * Wraps the PostHTMLTree within an object using a getter to render HTML on demand. |
no outgoing calls
no test coverage detected
searching dependent graphs…