Correct typos in comments
This commit is contained in:
parent
90d815ce6c
commit
c31882749d
2 changed files with 2 additions and 2 deletions
|
@ -52,7 +52,7 @@ namespace api {
|
||||||
|
|
||||||
namespace {
|
namespace {
|
||||||
|
|
||||||
// The DeprecatedOptionsCheckCallback funtion which is implemented in JavaScript
|
// This function is implemented in JavaScript
|
||||||
using DeprecatedOptionsCheckCallback =
|
using DeprecatedOptionsCheckCallback =
|
||||||
base::Callback<std::string(v8::Local<v8::Value>)>;
|
base::Callback<std::string(v8::Local<v8::Value>)>;
|
||||||
DeprecatedOptionsCheckCallback g_deprecated_options_check;
|
DeprecatedOptionsCheckCallback g_deprecated_options_check;
|
||||||
|
|
|
@ -259,7 +259,7 @@ const checkForDeprecatedOptions = function(options) {
|
||||||
keysToCheck = keysToCheck.concat(Object.keys(options.webPreferences));
|
keysToCheck = keysToCheck.concat(Object.keys(options.webPreferences));
|
||||||
}
|
}
|
||||||
|
|
||||||
// Check options for keys with hypens in them
|
// Check options for keys with hyphens in them
|
||||||
let deprecatedKey = keysToCheck.filter(isDeprecatedKey)[0];
|
let deprecatedKey = keysToCheck.filter(isDeprecatedKey)[0];
|
||||||
if (deprecatedKey) {
|
if (deprecatedKey) {
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in a new issue