Skip to content

window.__DEV__ should not be compiled to window.true #496

Closed
@subtleGradient

Description

@subtleGradient

This throws a syntax error in IE8.

build/modules/utils/__tests__/ImmutableObject-test.js:62

  var testProd = function(message, testFunc) {
    // Temporarily enter production mode
    window.true = false;
    it(message, testFunc);
    window.true = true;
  };

I'm not sure which code is doing this transformation, but this is clearly not what should be happening.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions