changed existing refresh method to reload. changed the data check to trigger a refresh on the element based on the already bound data attr

This commit is contained in:
Peter Lada
2015-01-28 18:27:16 -08:00
parent e6a35f38e4
commit 9a86044f90
5 changed files with 11 additions and 13 deletions

3
lib/reload.js Normal file
View File

@@ -0,0 +1,3 @@
module.exports = function() {
window.location.reload()
}