Skip to content

Instantly share code, notes, and snippets.

@tehsis
Created July 11, 2013 10:05
Show Gist options
  • Save tehsis/5974216 to your computer and use it in GitHub Desktop.
Save tehsis/5974216 to your computer and use it in GitHub Desktop.
example for tehsis.com.ar
var installer = new WebInstaller("http://localhost:8000/alarm.webapp");
var installBtn = document.getElementById("install");
installBtn.addEventListener("click", function() {
installer.install();
}, false);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment