Changes between Initial Version and Version 1 of Ticket #18438


Ignore:
Timestamp:
Jan 6, 2015, 6:40:20 PM (7 years ago)
Author:
Bryan Forbes
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18438

    • Property Priority changed from undecided to high
  • Ticket #18438 – Description

    initial v1  
    11Currently, the loader, when configured with `stripStrict: true` only strips `"use strict"` and not `'use strict'`. The regular expression should be updated to strip the single-quoted version as well. I will be submitting a pull request to address this issue.
     2
     3I found this issue when writing intern tests. The code coverage instrumentation does not work in strict mode since it accesses global objects and `escodegen` rewrites `"use strict"` as `'use strict'`.