Use single quotes for identifiers

This commit is contained in:
Daniel Gasienica 2018-04-11 15:44:52 -04:00
parent 819671a23a
commit 24f4ad53bc
15 changed files with 73 additions and 73 deletions

View file

@ -100,11 +100,11 @@
},
getOrCreate: function(id, type) {
if (typeof id !== 'string') {
throw new TypeError('"id" must be a string');
throw new TypeError("'id' must be a string");
}
if (type !== 'private' && type !== 'group') {
throw new TypeError('"type" must be "private" or "group"; got: ' + type);
throw new TypeError(`'type' must be 'private' or 'group'; got: '${type}'`);
}
if (!this._initialFetchComplete) {