Skip to content

Commit

Permalink
Remove unnecessary console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
andreimuntean1 committed Mar 4, 2023
1 parent f6cbf2f commit 338afa1
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 10 deletions.
6 changes: 2 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ export default {
const userAgent = window.navigator.userAgent;
let isFirefoxBrowser = false;
if (userAgent.includes('Firefox')) {
console.log(userAgent);
isFirefoxBrowser = true;
}
Expand Down
3 changes: 0 additions & 3 deletions src/components/ColorPicker.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@

<script>
import { Chrome } from '@ckpack/vue-color';
console.log(Chrome);
export default {
name: 'ColorPicker',
props: ['color'],
Expand All @@ -21,14 +20,12 @@ export default {
},
methods: {
updateValue() {
console.log(this.colors);
this.$emit('colorUpdated', this.colors.hex);
},
},
watch: {
colors: {
handler() {
console.log(this.colors);
this.$emit(
'colorUpdated',
this.colors?.hex?.toLowerCase() ?? this.colors.toLowerCase()
Expand Down
2 changes: 0 additions & 2 deletions src/components/NumberInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,9 @@ export default {
emits: ['numberUpdated'],
methods: {
updateValue() {
console.log(this.value);
this.$emit('numberUpdated', this.value);
},
plusOne() {
console.log(this.value);
let tempValue = +this.value + 1;
if (tempValue >= this.min && tempValue <= this.max) {
this.value = +this.value + 1;
Expand Down

0 comments on commit 338afa1

Please sign in to comment.