appdate
version controlled app update with rollback for app users
{ // - @TODO: use levelDB in application // - make BUNDLE.js grab content of BUNDLE.css from github api // - do the same with ASSETS debugger; // put script into page!}if processenvNODE_ENV === 'production' // @TODO: use pipeline to CLEAR unused paths! console; var v=processenvnpm_package_version; var a=localStorage; // @TODO: // - cache bootload index.html permanently // - ask for versions.json OR ETag to see if there is an update (github) // - if fail: load latest version from cache (no new version or OFFLINE) // - if success: load latest version, cache (bundle&ETag/version) and load // - maybe store many versions AND allow switching to old versions ifa;else var f='BUNDLE/bundle.'+v+'.js'x=; x;x{;};x; {localStorage;;} else if processenvNODE_ENV === 'development' // @TODO: use pipeline to CLEAR unused paths! console; var f='BUNDLE/bundle.js'; var x=; x;x{;};x; {;}