Skip to content

Commit d1f6557

Browse files
Removing vue-unicorn
1 parent 68a77e3 commit d1f6557

File tree

2 files changed

+2
-50
lines changed

2 files changed

+2
-50
lines changed

dist/vuetify-resize-drawer.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/VResizeDrawer.vue

Lines changed: 0 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -154,14 +154,6 @@ export default {
154154
},
155155
loading: false,
156156
resizedWidth: 256,
157-
unicornLog: {
158-
styles: [
159-
'background: black',
160-
'color: #0f0',
161-
'padding: 5px',
162-
],
163-
prefix: '[VResizeDrawer.vue]',
164-
},
165157
}),
166158
computed: {
167159
drawerClasses() {
@@ -335,23 +327,9 @@ export default {
335327
336328
// Handle Events //
337329
handleClick(evt) {
338-
this.$unicornLog({
339-
text: 'handleClick',
340-
styles: this.unicornLog.styles,
341-
logPrefix: this.unicornLog.prefix,
342-
objects: evt,
343-
});
344-
345330
this.emitEvent('handle:click', evt);
346331
},
347332
handleDoubleClick(evt) {
348-
this.$unicornLog({
349-
text: 'handleDoubleClick',
350-
styles: this.unicornLog.styles,
351-
logPrefix: this.unicornLog.prefix,
352-
objects: evt,
353-
});
354-
355333
this.resizedWidth = this.defaultWidth;
356334
this.setLocalStorage();
357335
@@ -369,13 +347,6 @@ export default {
369347
}
370348
371349
if (!this.events.handle.mouseDown) {
372-
this.$unicornLog({
373-
text: 'handleMouseDown',
374-
styles: this.unicornLog.styles,
375-
logPrefix: this.unicornLog.prefix,
376-
objects: evt,
377-
});
378-
379350
this.events.handle.mouseDown = true;
380351
document.addEventListener('mouseup', this.handleMouseUp, false);
381352
this.emitEvent('handle:mousedown', evt);
@@ -399,16 +370,6 @@ export default {
399370
400371
this.updateAppWidth(this.resizedWidth);
401372
402-
const logStuff = {
403-
resizedWidth: this.resizedWidth,
404-
};
405-
406-
this.$unicornLog({
407-
text: 'handleMouseUp',
408-
styles: this.unicornLog.styles,
409-
logPrefix: this.unicornLog.prefix,
410-
objects: logStuff,
411-
});
412373
document.removeEventListener('mouseup', this.handleMouseUp, false);
413374
document.removeEventListener('mousemove', this.drawerResize, false);
414375
this.emitEvent('handle:mouseup', evt);
@@ -469,15 +430,6 @@ export default {
469430
width: this.resizedWidth,
470431
};
471432
472-
if (name !== 'handle:drag') {
473-
this.$unicornLog({
474-
text: `emitEvent: ${name}`,
475-
styles: this.unicornLog.styles,
476-
logPrefix: this.unicornLog.prefix,
477-
objects: { evt, drawerData },
478-
});
479-
}
480-
481433
this.$emit(name, drawerData);
482434
},
483435
genListeners() {

0 commit comments

Comments
 (0)