Skip to content

Commit 4d4f887

Browse files
committed
Eliminate some unused code
1 parent 2b33a4c commit 4d4f887

2 files changed

Lines changed: 3 additions & 6 deletions

File tree

scripts/buildplayer.js

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,7 @@
1010
// Therefore, AblePlayer is not loaded & all functionality is disabled
1111
// (this all determined. If this is iOS && video, this function is never called)
1212

13-
var thisObj, captionsContainer, i;
14-
thisObj = this;
13+
var captionsContainer;
1514

1615
// create three wrappers and wrap them around the media element.
1716
// From inner to outer:
@@ -88,9 +87,7 @@
8887

8988
AblePlayer.prototype.injectBigPlayButton = function () {
9089

91-
var thisObj;
92-
93-
thisObj = this;
90+
var thisObj = this;
9491

9592
this.$bigPlayButton = $('<button>', {
9693
'class': 'able-big-play-button',

scripts/sign.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@
193193
deferred.reject();
194194
},
195195
onStateChange: function (x) {
196-
thisObj.getPlayerState().then(function(playerState) {
196+
thisObj.getPlayerState().then(function() {
197197
// no actions
198198
});
199199
},

0 commit comments

Comments
 (0)