Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
], function(_, $, Backbone, Dropzone, AssetViewer, i18n, template) {
'use strict';
const DEFAULT_MESSAGE = _.template('<i class="hp-icon hp-3x hp-document-upload"></i><p><%-message%></p>')({
message: i18n['dropzone.dictDefaultMessage']
});
return Backbone.View.extend({
className: 'col-md-12 col-lg-4',
template: _.template(template),
initialize: function(options) {
this.description = options.description;
this.height = options.height;
this.title = options.title;
this.width = options.width;
this.imageClass = options.imageClass || '';