зеркало из https://github.com/mozilla/gecko-dev.git
Bug 294989: remove some strict warnings; r=sfraser, sr=dmose, a=bsmedberg
This commit is contained in:
Родитель
bdb00e047c
Коммит
020388b1b6
|
@ -57,7 +57,7 @@ var InlineSpellChecker =
|
|||
checkDocument : function(doc)
|
||||
{
|
||||
if (!this.inlineSpellChecker || !this.inlineSpellChecker.enableRealTimeSpell)
|
||||
return null;
|
||||
return;
|
||||
|
||||
var range = doc.createRange();
|
||||
range.selectNodeContents(doc.body);
|
||||
|
@ -130,7 +130,7 @@ var InlineSpellChecker =
|
|||
selectSuggestion : function (newword, node, offset)
|
||||
{
|
||||
if (!this.inlineSpellChecker || !this.inlineSpellChecker.enableRealTimeSpell)
|
||||
return null;
|
||||
return;
|
||||
|
||||
if (!node)
|
||||
{
|
||||
|
@ -145,7 +145,7 @@ var InlineSpellChecker =
|
|||
addToDictionary : function (node, offset)
|
||||
{
|
||||
if (!this.inlineSpellChecker || !this.inlineSpellChecker.enableRealTimeSpell)
|
||||
return null;
|
||||
return;
|
||||
|
||||
if (!node)
|
||||
{
|
||||
|
@ -161,7 +161,7 @@ var InlineSpellChecker =
|
|||
ignoreWord : function (node, offset)
|
||||
{
|
||||
if (!this.inlineSpellChecker || !this.inlineSpellChecker.enableRealTimeSpell)
|
||||
return null;
|
||||
return;
|
||||
|
||||
if (!node)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче