Skip to content

Commit

Permalink
fix(lint): rename speechSynthesisPolyfill into SpeechSynthesisPolyfill
Browse files Browse the repository at this point in the history
A constructor name should start with an uppercase letter.
  • Loading branch information
janantala committed Feb 24, 2014
1 parent a794020 commit 0ca37a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
return this;
};

var speechSynthesisPolyfill = function(){
var SpeechSynthesisPolyfill = function(){

/**
* Identify the polyfill usage
Expand Down Expand Up @@ -262,7 +262,7 @@
};

window.SpeechSynthesisUtterancePolyfill = SpeechSynthesisUtterancePolyfill;
window.speechSynthesisPolyfill = new speechSynthesisPolyfill();
window.speechSynthesisPolyfill = new SpeechSynthesisPolyfill();

})(window, document);

0 comments on commit 0ca37a0

Please sign in to comment.