Skip to content

Commit

Permalink
Capitalize deprecation warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
misteroneill committed Jul 24, 2015
1 parent 17c1983 commit 0465c04
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/video.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ videojs.getGlobalOptions = () => globalOptions;
* @property {Object|Proxy} options
*/
videojs.options = createDeprecationProxy(globalOptions, {
get: 'access to videojs.options is deprecated; use videojs.getGlobalOptions instead',
set: 'modification of videojs.options is deprecated; use videojs.setGlobalOptions instead'
get: 'Access to videojs.options is deprecated; use videojs.getGlobalOptions instead',
set: 'Modification of videojs.options is deprecated; use videojs.setGlobalOptions instead'
});

/**
Expand Down Expand Up @@ -162,8 +162,8 @@ videojs.getPlayers = function() {
* @property {Object|Proxy} players
*/
videojs.players = createDeprecationProxy(Player.players, {
get: 'access to videojs.players is deprecated; use videojs.getPlayers instead',
set: 'modification of videojs.players is deprecated'
get: 'Access to videojs.players is deprecated; use videojs.getPlayers instead',
set: 'Modification of videojs.players is deprecated'
});

/**
Expand Down

0 comments on commit 0465c04

Please sign in to comment.