UNPKG

cordova-elm-template-jumpstart

Version:

Cordova template to jumpstart development using Elm and Webpack

10 lines (6 loc) 231 B
import Promise from "bluebird"; const hideAfter = Date.now() + MIN_SPLASH_MS console.debug("Hiding after this many ms:", MIN_SPLASH_MS); module.exports = () => Promise.delay( Math.max(1, hideAfter - Date.now()) ).return(true)