Skip to content

Commit c1dcfa3

Browse files
committed
Fixing some code quality warnings
1 parent c1db810 commit c1dcfa3

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

src/timeline/app.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
*/
2828

2929
// Initialize Angular application
30-
/*global App, angular*/
30+
/*global App, angular, timeline, init_mixin*/
3131
var App = angular.module("openshot-timeline", ["ui.bootstrap", "ngAnimate"]);
3232

3333

src/timeline/js/mixin_webengine.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,13 @@
2525
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
2626
*/
2727

28-
/*global timeline*/
28+
/*global timeline, angular, QWebChannel*/
2929
var timeline = null;
3030

3131
function init_mixin() {
3232

3333
// Check for Qt Integration
34-
new QWebChannel(qt.webChannelTransport, function (channel) {
34+
var channel = new QWebChannel(qt.webChannelTransport, function (channel) {
3535
timeline = channel.objects.timeline;
3636
timeline.qt_log("INFO", "Qt Ready");
3737

src/timeline/js/mixin_webkit.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,7 @@
2525
* along with OpenShot Library. If not, see <http://www.gnu.org/licenses/>.
2626
*/
2727

28-
// undef global timeline var
29-
//timeline = undefined;
28+
/*global timeline, angular*/
3029

3130
function init_mixin() {
3231

0 commit comments

Comments
 (0)