Fix typos in comment

This commit is contained in:
Kevin Sawicki 2017-04-26 09:09:42 -07:00
parent 246937a372
commit 2c48300daa

View file

@ -32,9 +32,9 @@ const resolveURL = function (url) {
return a.href
}
// Use this method to ensure value expected as string in the main process
// are convertible to string in the renderer process. This ensures exceptions
// converting values to string are thrown in this process.
// Use this method to ensure values expected as strings in the main process
// are convertible to strings in the renderer process. This ensures exceptions
// converting values to strings are thrown in this process.
const toString = (value) => {
return value != null ? `${value}` : value
}