Use template strings where needed.

This commit is contained in:
László Monda
2016-03-30 22:17:07 +02:00
parent 45dc8a520f
commit d2f3ec62f0
8 changed files with 12 additions and 12 deletions

View File

@@ -12,7 +12,7 @@ class KeystrokeWithModifiersAction extends KeyAction implements Serializable<Key
set scancode(value) {
if (!TypeChecker.isScancodeValid(value)) {
throw 'Invalid KeystrokeWithModifiersAction.scancode: ${scancode}';
throw `Invalid KeystrokeWithModifiersAction.scancode: ${value}`;
}
this._scancode = value;
}