assets/vendor/smoke/spec/su/jquery.print.js in screw_server-0.1.7 vs assets/vendor/smoke/spec/su/jquery.print.js in screw_server-0.1.8

- old
+ new

@@ -19,11 +19,11 @@ 'input': ['type', 'name', 'value'], 'a': ['href', 'target'], 'form': ['method', 'action'] }; $.each(properties.concat(extra[obj.tagName.toLowerCase()] || []), function() { - if (obj[this]) + if (obj[this]) result.push(' ' + this.replace('className', 'class') + "=" + $.print(obj[this])) }); return "<" + obj.tagName.toLowerCase() + result.join('') + ">"; } @@ -57,11 +57,11 @@ '\r': '\\r', '"' : '\\"', '\\': '\\\\' }; var r = /["\\\x00-\x1f\x7f-\x9f]/g; - + var str = r.test(value) ? '"' + value.replace(r, function (a) { var c = character_substitutions[a]; if (c) return c; c = a.charCodeAt(); @@ -102,7 +102,7 @@ else if (obj instanceof Object) return print_object(obj, opts); else return obj.toString().replace(/\n\s*/g, ''); } - + })(jQuery); \ No newline at end of file