Showing 2 of 4 total issues
Function inliner
has 100 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var inliner = function (cb) {
var svgs = getAll();
var callback = after(svgs.length, cb);
Array.prototype.forEach.call(svgs, function (svg, i) {
Function onload
has 86 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
request.onload = function () {
if (request.status >= 200 && request.status < 400) {
// Setup a parser to convert the response to text/xml in order for it
// to be manipulated and changed
var parser = new DOMParser(),