Validate the DOM node passed to render
This commit is contained in:
parent
2c93e4995e
commit
b8673f2ff5
4 changed files with 30 additions and 0 deletions
|
|
@ -515,6 +515,7 @@ module.exports = function($window) {
|
|||
}
|
||||
|
||||
function render(dom, vnodes) {
|
||||
if (!dom) throw new Error("Ensure the DOM element being passed to m.route/m.mount/m.render is not undefined.")
|
||||
var hooks = []
|
||||
var active = $doc.activeElement
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue