Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
if (this.filters != null) {
prop["filters"] = this.filters;
}
if (this.multipart_params != null) {
prop["multipart_params"] = this.multipart_params;
}
if (this.resize != null) {
prop["resize"] = this.resize;
}
if (this.drop_element != null) {
prop["drop_element"] = this.drop_element;
}
if (this.required_features != null) {
prop["required_features"] = this.required_features;
}
let uploader = new plupload.Uploader(prop);
uploader.init();
this.up = uploader;
}
},