From 44950212a021f846bd1421441ceba88bf5c4176a Mon Sep 17 00:00:00 2001 From: John-David Dalton Date: Mon, 9 Jan 2017 17:56:33 -0800 Subject: [PATCH] Cleanup built-in constructor modules. --- _DataView.js | 1 - _Map.js | 1 - _Promise.js | 1 - _Set.js | 1 - _Symbol.js | 5 +---- _Uint8Array.js | 5 +---- _WeakMap.js | 1 - 7 files changed, 2 insertions(+), 13 deletions(-) diff --git a/_DataView.js b/_DataView.js index a87db7d07..20a9e7e1e 100644 --- a/_DataView.js +++ b/_DataView.js @@ -1,7 +1,6 @@ import getNative from './_getNative.js'; import root from './_root.js'; -/* Built-in method references that are verified to be native. */ const DataView = getNative(root, 'DataView'); export default DataView; diff --git a/_Map.js b/_Map.js index de2ba6c53..ab716ebdf 100644 --- a/_Map.js +++ b/_Map.js @@ -1,7 +1,6 @@ import getNative from './_getNative.js'; import root from './_root.js'; -/* Built-in method references that are verified to be native. */ const Map = getNative(root, 'Map'); export default Map; diff --git a/_Promise.js b/_Promise.js index 00bc8e8fe..8b3a95260 100644 --- a/_Promise.js +++ b/_Promise.js @@ -1,7 +1,6 @@ import getNative from './_getNative.js'; import root from './_root.js'; -/* Built-in method references that are verified to be native. */ const Promise = getNative(root, 'Promise'); export default Promise; diff --git a/_Set.js b/_Set.js index 76a463b38..5d95712dc 100644 --- a/_Set.js +++ b/_Set.js @@ -1,7 +1,6 @@ import getNative from './_getNative.js'; import root from './_root.js'; -/* Built-in method references that are verified to be native. */ const Set = getNative(root, 'Set'); export default Set; diff --git a/_Symbol.js b/_Symbol.js index 8ef83f446..90a45dd31 100644 --- a/_Symbol.js +++ b/_Symbol.js @@ -1,6 +1,3 @@ import root from './_root.js'; -/** Built-in value references. */ -const Symbol = root.Symbol; - -export default Symbol; +export default root.Symbol; diff --git a/_Uint8Array.js b/_Uint8Array.js index d79ae15b5..88daca59d 100644 --- a/_Uint8Array.js +++ b/_Uint8Array.js @@ -1,6 +1,3 @@ import root from './_root.js'; -/** Built-in value references. */ -const Uint8Array = root.Uint8Array; - -export default Uint8Array; +export default root.Uint8Array; diff --git a/_WeakMap.js b/_WeakMap.js index c305a9c99..4804f5300 100644 --- a/_WeakMap.js +++ b/_WeakMap.js @@ -1,7 +1,6 @@ import getNative from './_getNative.js'; import root from './_root.js'; -/* Built-in method references that are verified to be native. */ const WeakMap = getNative(root, 'WeakMap'); export default WeakMap;