1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

removed "use strict" in function

This commit is contained in:
Ben De Meester 2015-01-09 08:57:40 +01:00
parent f5344f5fba
commit c0ce4cce9e

View file

@ -485,7 +485,6 @@ EPUBJS.Renderer.prototype.firstElementisTextNode = function(node) {
};
EPUBJS.Renderer.prototype.isGoodNode = function(node) {
"use strict";
var embeddedElements = ["audio", "canvas", "embed", "iframe", "img", "math", "object", "svg", "video"];
if (embeddedElements.indexOf(node.tagName.toLowerCase()) !== -1) {
// Embedded elements usually do not have a text node as first element, but are also good nodes