if ie compatability is off, do not warn at all about file sizes over IE's

limit. Fixes #1414
This commit is contained in:
Luke Page
2013-09-18 18:07:07 +01:00
parent c04bdc91a8
commit 15e8897802

View File

@@ -497,9 +497,6 @@ tree.functions = {
}
return new tree.URL(filePathNode || mimetypeNode, this.currentFileInfo).eval(this.env);
} else if (!this.env.silent) {
// if explicitly disabled (via --no-ie-compat on CLI, or env.ieCompat === false), merely warn
console.warn("WARNING: Embedding %s (%dKB) exceeds IE8's data-uri size limit of %dKB!", filePath, fileSizeInKB, DATA_URI_MAX_KB);
}
}