lint compliance
This commit is contained in:
@@ -278,7 +278,7 @@ define([
|
|||||||
// recreate a _mostly_ equivalent DOM
|
// recreate a _mostly_ equivalent DOM
|
||||||
var dom = Flat.toDOM(flat);
|
var dom = Flat.toDOM(flat);
|
||||||
// assume we don't care about comments
|
// assume we don't care about comments
|
||||||
var bodyText = document.body.outerHTML.replace(/<!\-\-[\s\S]*?\-\->/g, '')
|
var bodyText = document.body.outerHTML.replace(/<!\-\-[\s\S]*?\-\->/g, '');
|
||||||
// check for equality
|
// check for equality
|
||||||
cb(dom.outerHTML === bodyText);
|
cb(dom.outerHTML === bodyText);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user