Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
// - `_view_name`
// - `_view_module`
// - `_view_module_version`
//
// - `_model_name`
// - `_model_module`
// - `_model_module_version`
//
// when different from the base class.
// When serialiazing the entire widget state for embedding, only values that
// differ from the defaults will be specified.
var version = require('../package.json').version;
var InnotaterImagePadModel = controls.ImageModel.extend({
defaults: _.extend(controls.ImageModel.prototype.defaults(), {
})
});
// Custom View. Renders the widget model.
var InnotaterImagePadView = widgets.DOMWidgetView.extend({
InnotaterImagePadView: function() {
this.imageLoaded = false;
InnotaterImagePadView.__super__.apply(this, arguments);
},
render: function () {
/**
* Called when view is rendered.
// - `_view_module`
// - `_view_module_version`
//
// - `_model_name`
// - `_model_module`
// - `_model_module_version`
//
// when different from the base class.
// When serialiazing the entire widget state for embedding, only values that
// differ from the defaults will be specified.
var version = require('../package.json').version;
var InnotaterImagePadModel = controls.ImageModel.extend({
defaults: _.extend(controls.ImageModel.prototype.defaults(), {
})
});
// Custom View. Renders the widget model.
var InnotaterImagePadView = widgets.DOMWidgetView.extend({
InnotaterImagePadView: function() {
this.imageLoaded = false;
InnotaterImagePadView.__super__.apply(this, arguments);
},
render: function () {
/**
* Called when view is rendered.
*/