Use interpolated string

This commit is contained in:
Kevin Sawicki 2016-02-09 13:24:58 -08:00
parent 42a8674cea
commit 674af4211c

View file

@ -409,7 +409,7 @@ var registerWebViewElement = function() {
if (internal.webContents) {
return internal.webContents[m].apply(internal.webContents, args);
} else {
throw new Error('Cannot call ' + m + ' before the dom-ready event is emitted');
throw new Error(`Cannot call ${m} before the dom-ready event is emitted`);
}
};
};