src/PartKeepr/FrontendBundle/Resources/public/js/Util/Blob.js
Function BlobBuilder
has 146 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var BlobBuilder = view.BlobBuilder || view.WebKitBlobBuilder || view.MozBlobBuilder || (function(view) {
var
get_class = function(object) {
return Object.prototype.toString.call(object).match(/^\[object\s(.*)\]$/)[1];
}
Function append
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
FBB_proto.append = function(data/*, endings*/) {
var bb = this.data;
// decode data to a binary string
if (Uint8Array && (data instanceof ArrayBuffer || data instanceof Uint8Array)) {
var
Avoid too many return
statements within this function. Open
Open
return real_create_object_URL.call(real_URL, blob);