Skip to content

Commit

Permalink
Rely on my implementation of Map for now.
Browse files Browse the repository at this point in the history
  • Loading branch information
espadrine committed Mar 5, 2014
1 parent f28b5f0 commit 0e16423
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 2 additions & 1 deletion aulx-ui.js
Expand Up @@ -39,8 +39,9 @@ exports = completer;
// Note: may fail in case you unexpectedly use __proto__ as a key.

// Firefox landed Maps without forEach, hence the odd check for that.
// Update: the forEach implementation is flawed for now.
var Map = this.Map;
if (!(Map && Map.prototype.forEach)) {
if (true /* !(Map && Map.prototype.forEach) */) {
var Map = function Map() { this._m = Object.create(null); };

Map.prototype = {
Expand Down
3 changes: 2 additions & 1 deletion aulx.js
Expand Up @@ -39,8 +39,9 @@ exports = completer;
// Note: may fail in case you unexpectedly use __proto__ as a key.

// Firefox landed Maps without forEach, hence the odd check for that.
// Update: the forEach implementation is flawed for now.
var Map = this.Map;
if (!(Map && Map.prototype.forEach)) {
if (true /* !(Map && Map.prototype.forEach) */) {
var Map = function Map() { this._m = Object.create(null); };

Map.prototype = {
Expand Down
3 changes: 2 additions & 1 deletion entrance/completers.js
Expand Up @@ -25,8 +25,9 @@ exports = completer;
// Note: may fail in case you unexpectedly use __proto__ as a key.

// Firefox landed Maps without forEach, hence the odd check for that.
// Update: the forEach implementation is flawed for now.
var Map = this.Map;
if (!(Map && Map.prototype.forEach)) {
if (true /* !(Map && Map.prototype.forEach) */) {
var Map = function Map() { this._m = Object.create(null); };

Map.prototype = {
Expand Down

0 comments on commit 0e16423

Please sign in to comment.