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

This commit is contained in:
Maxime Thirouin
2015-01-29 07:33:13 +01:00
parent 14f997c8d1
commit af8783587c

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)
} }