Skip to content

Commit

Permalink
Merge pull request #161 from sanbornhnewyyz/master
Browse files Browse the repository at this point in the history
Correct typo in getAdaptationEnabled causing it to return undefined
  • Loading branch information
joeyparrish committed Aug 20, 2015
2 parents c741b69 + b45a7df commit df29182
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/player/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ shaka.player.Player.prototype.enableAdaptation = function(enabled) {
* @deprecated Please use getConfiguration().
*/
shaka.player.Player.prototype.getAdaptationEnabled = function() {
return /** @type {boolean} */(this.getConfiguration['enableAdaptation']);
return /** @type {boolean} */(this.getConfiguration()['enableAdaptation']);
};


Expand Down

0 comments on commit df29182

Please sign in to comment.