refresh now accept an argument so you can refresh just a part of a page

This commit is contained in:
Maxime Thirouin committed 2015-01-29 07:33:13 +01:00
1 parent 14f997c8d1
commit af8783587c
1 file changed
+1 -1
+1 -1
View File
@@ -2,5 +2,5 @@
var parseDom = require("./parse-dom") var parseDom = require("./parse-dom")
module.exports = function(el) { module.exports = function(el) {
parseDom(document); parseDom(el || document)
} }