This commit is contained in:
antelle 2019-09-16 23:10:22 +02:00
parent 2fcc6f2ea3
commit 39e683baf0
4 changed files with 2 additions and 10 deletions

View File

@ -1,4 +1,3 @@
import Backbone from 'backbone';
import baron from 'baron';
import { Events } from 'framework/events';
import { Features } from 'util/features';
@ -7,7 +6,6 @@ const isEnabled = !Features.isMobile;
const Scrollable = {
createScroll(opts) {
opts.$ = Backbone.$;
// opts.cssGuru = true;
if (isEnabled) {
if (this.scroll) {

View File

@ -1,9 +1,4 @@
const Libs = {
backbone: require('backbone'),
_: require('underscore'),
underscore: require('underscore'),
$: require('jquery'),
jquery: require('jquery'),
kdbxweb: require('kdbxweb'),
hbs: require('hbs'),
pikaday: require('pikaday'),

View File

@ -220,7 +220,7 @@ class FieldViewText extends FieldView {
stopBlurListener() {
// TODO
// this.stopListening(Backbone, 'click main-window-will-close', this.fieldValueBlur);
// this.stopListening(Events, 'click main-window-will-close', this.fieldValueBlur);
}
mobileFieldControlMouseDown(e) {

View File

@ -1,4 +1,3 @@
import Backbone from 'backbone';
import { View } from 'framework/views/view';
import { Events } from 'framework/events';
import { RuntimeInfo } from 'comp/app/runtime-info';
@ -43,7 +42,7 @@ class SettingsPluginsView extends View {
super(model, options);
this.listenTo(PluginManager, 'change', this.render.bind(this));
this.listenTo(
Backbone,
Events,
'plugin-gallery-load-complete',
this.pluginGalleryLoadComplete.bind(this)
);