Skip to content

Commit 2e134b7

Browse files
committed
Trying more eslint variations
1 parent eb5ee41 commit 2e134b7

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/timeline/js/controllers.js

-10
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,6 @@ App.controller("TimelineCtrl", function ($scope) {
124124

125125
// Update GUI with position (so the preview can be updated)
126126
if ($scope.Qt) {
127-
/*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.PlayheadMoved"]}]*/
128127
timeline.PlayheadMoved(frame);
129128
}
130129
};
@@ -140,7 +139,6 @@ App.controller("TimelineCtrl", function ($scope) {
140139

141140
// Update GUI with position (so the preview can be updated)
142141
if ($scope.Qt) {
143-
/*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.PreviewClipFrame"]}]*/
144142
timeline.PreviewClipFrame(clip_id, frame);
145143
}
146144
};
@@ -517,7 +515,6 @@ App.controller("TimelineCtrl", function ($scope) {
517515
if (id !== "" && $scope.enable_razor) {
518516
if ($scope.Qt) {
519517
var cursor_seconds = $scope.getJavaScriptPosition(event.clientX);
520-
/*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.RazorSliceAtCursor"]}]*/
521518
timeline.RazorSliceAtCursor(id, "", cursor_seconds);
522519
}
523520
// Don't actually select clip
@@ -636,7 +633,6 @@ App.controller("TimelineCtrl", function ($scope) {
636633
if ($scope.Qt && !$scope.enable_razor) {
637634
timeline.qt_log("$scope.showClipMenu");
638635
$scope.selectClip(clip_id, false, event);
639-
/*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowClipMenu"]}]*/
640636
timeline.ShowClipMenu(clip_id);
641637
}
642638
};
@@ -645,7 +641,6 @@ App.controller("TimelineCtrl", function ($scope) {
645641
$scope.showEffectMenu = function (effect_id) {
646642
if ($scope.Qt && !$scope.enable_razor) {
647643
timeline.qt_log("$scope.showEffectMenu");
648-
/*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowEffectMenu"]}]*/
649644
timeline.ShowEffectMenu(effect_id);
650645
}
651646
};
@@ -655,7 +650,6 @@ App.controller("TimelineCtrl", function ($scope) {
655650
if ($scope.Qt && !$scope.enable_razor) {
656651
timeline.qt_log("$scope.showTransitionMenu");
657652
$scope.selectTransition(tran_id, false, event);
658-
/*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowTransitionMenu"]}]*/
659653
timeline.ShowTransitionMenu(tran_id);
660654
}
661655
};
@@ -664,7 +658,6 @@ App.controller("TimelineCtrl", function ($scope) {
664658
$scope.showTrackMenu = function (layer_id) {
665659
if ($scope.Qt && !$scope.enable_razor) {
666660
timeline.qt_log("$scope.showTrackMenu");
667-
/*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowTrackMenu"]}]*/
668661
timeline.ShowTrackMenu(layer_id);
669662
}
670663
};
@@ -673,7 +666,6 @@ App.controller("TimelineCtrl", function ($scope) {
673666
$scope.showMarkerMenu = function (marker_id) {
674667
if ($scope.Qt && !$scope.enable_razor) {
675668
timeline.qt_log("$scope.showMarkerMenu");
676-
/*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowMarkerMenu"]}]*/
677669
timeline.ShowMarkerMenu(marker_id);
678670
}
679671
};
@@ -682,15 +674,13 @@ App.controller("TimelineCtrl", function ($scope) {
682674
$scope.showPlayheadMenu = function (position) {
683675
if ($scope.Qt && !$scope.enable_razor) {
684676
timeline.qt_log("$scope.showPlayheadMenu");
685-
/*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowPlayheadMenu"]}]*/
686677
timeline.ShowPlayheadMenu(position);
687678
}
688679
};
689680

690681
// Show timeline context menu
691682
$scope.showTimelineMenu = function (e, layer_number) {
692683
if ($scope.Qt && !$scope.enable_razor) {
693-
/*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowTimelineMenu"]}]*/
694684
timeline.ShowTimelineMenu($scope.getJavaScriptPosition(e.pageX), layer_number);
695685
}
696686
};

0 commit comments

Comments
 (0)