Skip to content

Commit 49da39e

Browse files
committed
Chore: remove comments
1 parent 712ed93 commit 49da39e

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

src/behaviors/transition/transition.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const errors = {
4646
repeated: 'Animation is already occurring, cancelling repeated animation',
4747
};
4848

49-
const createBehavior = ({ $, el, cache, $el, self, settings, classNames, errors }) => ({
49+
const createBehavior = ({ $, el, cache, $el, self, settings, classNames }) => ({
5050
// track currently running JavaScript animations
5151
currentAnimations: [],
5252

@@ -69,11 +69,9 @@ const createBehavior = ({ $, el, cache, $el, self, settings, classNames, errors
6969
}
7070

7171
const animation = self.findCSSAnimation(animateSettings.animation);
72-
console.log('animation is', animation);
7372

7473
if (animateSettings.useJavascript) {
7574
const direction = self.determineAnimationType(animateSettings.animation, animation);
76-
console.log('doing animation', direction, animation);
7775
self.playAnimation(animation, direction, animateSettings);
7876
}
7977
else {

src/primitives/button/button.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
import { defineComponent } from '@semantic-ui/component';
22
import { get, inArray } from '@semantic-ui/utils';
33

4-
import componentSpec from './specs/button-component.js';
5-
import template from './button.html?raw';
64
import css from './button-bundle.css?raw';
5+
import template from './button.html?raw';
6+
import componentSpec from './specs/button-component.js';
77

88
const createComponent = ({ el, self, settings, data, $ }) => ({
99
isIconBefore() {
@@ -21,9 +21,9 @@ const createComponent = ({ el, self, settings, data, $ }) => ({
2121
},
2222
performAction() {
2323
const formActions = ['submit', 'reset'];
24-
if(inArray(settings.type, formActions)) {
24+
if (inArray(settings.type, formActions)) {
2525
const form = self.getForm();
26-
if(form) {
26+
if (form) {
2727
$(form).trigger(settings.type);
2828
}
2929
}

0 commit comments

Comments
 (0)