Adjust spacing in template string expressions.

This commit is contained in:
John-David Dalton
2017-04-08 22:41:48 -07:00
parent 303502efa7
commit d10b44bdef
29 changed files with 90 additions and 90 deletions

View File

@@ -9,11 +9,11 @@ const setTag = '[object Set]'
const weakMapTag = '[object WeakMap]'
/** Used to detect maps, sets, and weakmaps. */
const dataViewCtorString = `${ DataView }`
const mapCtorString = `${ Map }`
const promiseCtorString = `${ Promise }`
const setCtorString = `${ Set }`
const weakMapCtorString = `${ WeakMap }`
const dataViewCtorString = `${DataView}`
const mapCtorString = `${Map}`
const promiseCtorString = `${Promise}`
const setCtorString = `${Set}`
const weakMapCtorString = `${WeakMap}`
/**
* Gets the `toStringTag` of `value`.
@@ -33,7 +33,7 @@ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
getTag = (value) => {
const result = baseGetTag(value)
const Ctor = result == objectTag ? value.constructor : undefined
const ctorString = Ctor ? `${ Ctor }` : ''
const ctorString = Ctor ? `${Ctor}` : ''
if (ctorString) {
switch (ctorString) {