mirror of https://github.com/keeweb/keeweb.git
cleanup
This commit is contained in:
parent
2fcc6f2ea3
commit
39e683baf0
|
@ -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) {
|
||||
|
|
|
@ -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'),
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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)
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue