@@ -124,6 +124,7 @@ App.controller("TimelineCtrl", function ($scope) {
124
124
125
125
// Update GUI with position (so the preview can be updated)
126
126
if ( $scope . Qt ) {
127
+ /*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.PlayheadMoved"]}]*/
127
128
timeline . PlayheadMoved ( frame ) ;
128
129
}
129
130
} ;
@@ -139,6 +140,7 @@ App.controller("TimelineCtrl", function ($scope) {
139
140
140
141
// Update GUI with position (so the preview can be updated)
141
142
if ( $scope . Qt ) {
143
+ /*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.PreviewClipFrame"]}]*/
142
144
timeline . PreviewClipFrame ( clip_id , frame ) ;
143
145
}
144
146
} ;
@@ -634,6 +636,7 @@ App.controller("TimelineCtrl", function ($scope) {
634
636
if ( $scope . Qt && ! $scope . enable_razor ) {
635
637
timeline . qt_log ( "$scope.showClipMenu" ) ;
636
638
$scope . selectClip ( clip_id , false , event ) ;
639
+ /*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowClipMenu"]}]*/
637
640
timeline . ShowClipMenu ( clip_id ) ;
638
641
}
639
642
} ;
@@ -642,6 +645,7 @@ App.controller("TimelineCtrl", function ($scope) {
642
645
$scope . showEffectMenu = function ( effect_id ) {
643
646
if ( $scope . Qt && ! $scope . enable_razor ) {
644
647
timeline . qt_log ( "$scope.showEffectMenu" ) ;
648
+ /*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowEffectMenu"]}]*/
645
649
timeline . ShowEffectMenu ( effect_id ) ;
646
650
}
647
651
} ;
@@ -651,6 +655,7 @@ App.controller("TimelineCtrl", function ($scope) {
651
655
if ( $scope . Qt && ! $scope . enable_razor ) {
652
656
timeline . qt_log ( "$scope.showTransitionMenu" ) ;
653
657
$scope . selectTransition ( tran_id , false , event ) ;
658
+ /*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowTransitionMenu"]}]*/
654
659
timeline . ShowTransitionMenu ( tran_id ) ;
655
660
}
656
661
} ;
@@ -659,6 +664,7 @@ App.controller("TimelineCtrl", function ($scope) {
659
664
$scope . showTrackMenu = function ( layer_id ) {
660
665
if ( $scope . Qt && ! $scope . enable_razor ) {
661
666
timeline . qt_log ( "$scope.showTrackMenu" ) ;
667
+ /*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowTrackMenu"]}]*/
662
668
timeline . ShowTrackMenu ( layer_id ) ;
663
669
}
664
670
} ;
@@ -667,6 +673,7 @@ App.controller("TimelineCtrl", function ($scope) {
667
673
$scope . showMarkerMenu = function ( marker_id ) {
668
674
if ( $scope . Qt && ! $scope . enable_razor ) {
669
675
timeline . qt_log ( "$scope.showMarkerMenu" ) ;
676
+ /*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowMarkerMenu"]}]*/
670
677
timeline . ShowMarkerMenu ( marker_id ) ;
671
678
}
672
679
} ;
@@ -675,13 +682,15 @@ App.controller("TimelineCtrl", function ($scope) {
675
682
$scope . showPlayheadMenu = function ( position ) {
676
683
if ( $scope . Qt && ! $scope . enable_razor ) {
677
684
timeline . qt_log ( "$scope.showPlayheadMenu" ) ;
685
+ /*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowPlayheadMenu"]}]*/
678
686
timeline . ShowPlayheadMenu ( position ) ;
679
687
}
680
688
} ;
681
689
682
690
// Show timeline context menu
683
691
$scope . showTimelineMenu = function ( e , layer_number ) {
684
692
if ( $scope . Qt && ! $scope . enable_razor ) {
693
+ /*eslint new-cap: [2, {"capIsNewExceptions": ["timeline.ShowTimelineMenu"]}]*/
685
694
timeline . ShowTimelineMenu ( $scope . getJavaScriptPosition ( e . pageX ) , layer_number ) ;
686
695
}
687
696
} ;
0 commit comments