Skip to content

Commit ce68d3a

Browse files
committed
Rename variable
1 parent 3f4f08a commit ce68d3a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

primitive/index.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ var clear = require('es5-ext/object/clear')
88
, iterator = require('es6-iterator/valid-iterable')
99
, forOf = require('es6-iterator/for-of')
1010
, isNative = require('../is-native-implemented')
11-
, Map = require('../polyfill')
11+
, MapPolyfill = require('../polyfill')
1212
, Iterator = require('../lib/primitive-iterator')
1313

1414
, call = Function.prototype.call
@@ -47,9 +47,9 @@ module.exports = PrimitiveMap = function (/*iterable, serialize*/) {
4747
});
4848
return self;
4949
};
50-
if (setPrototypeOf) setPrototypeOf(PrimitiveMap, Map);
50+
if (setPrototypeOf) setPrototypeOf(PrimitiveMap, MapPolyfill);
5151

52-
PrimitiveMap.prototype = create(Map.prototype, {
52+
PrimitiveMap.prototype = create(MapPolyfill.prototype, {
5353
constructor: d(PrimitiveMap),
5454
_serialize: d(function (value) {
5555
if (value && (typeof value.toString !== 'function')) return null;

0 commit comments

Comments
 (0)