How to use the backbone/core-view.prototype function in backbone

To help you get started, we’ve selected a few backbone examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github CartoDB / cartodb / lib / assets / core / javascripts / cartodb3 / editor / layers / edit-feature-content-view.js View on Github external
clean: function () {
    this._destroyContextOverlay();
    this._mapModeModel.enterViewingMode();
    CoreView.prototype.clean.apply(this);
  }
});
github CartoDB / cartodb / lib / assets / javascripts / builder / components / modals / publish / publish-button-view.js View on Github external
clean: function () {
    this._modals.destroy();
    CoreView.prototype.clean.apply(this, arguments);
  }
});
github CartoDB / cartodb / lib / assets / javascripts / deep-insights / widgets / category / paginator / paginator-view.js View on Github external
clean: function () {
    $(window).unbind('resize.' + this.cid);
    CoreView.prototype.clean.call(this);
  }
github CartoDB / cartodb / lib / assets / core / javascripts / cartodb3 / components / code-mirror / code-mirror-view.js View on Github external
clean: function () {
    this.destroyEditor();
    CoreView.prototype.clean.apply(this);
  }
});
github CartoDB / cartodb / lib / assets / core / javascripts / deep-insights / dashboard-sidebar-view.js View on Github external
clean: function () {
    this._cleanScroll();
    this._observer && this._observer.disconnect();
    CoreView.prototype.clean.call(this);
  }