mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Correct typos in comments
This commit is contained in:
@@ -52,7 +52,7 @@ namespace api {
|
||||
|
||||
namespace {
|
||||
|
||||
// The DeprecatedOptionsCheckCallback funtion which is implemented in JavaScript
|
||||
// This function is implemented in JavaScript
|
||||
using DeprecatedOptionsCheckCallback =
|
||||
base::Callback<std::string(v8::Local<v8::Value>)>;
|
||||
DeprecatedOptionsCheckCallback g_deprecated_options_check;
|
||||
|
||||
@@ -259,7 +259,7 @@ const checkForDeprecatedOptions = function(options) {
|
||||
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];
|
||||
if (deprecatedKey) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user