Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

fix($parse): allow for new lines in expr when promise unwrapping is on #4718

Closed
wants to merge 1 commit into from

Commits on Nov 19, 2013

  1. fix($parse): allow for new lines in expr when promise unwrapping is on

    Previously, when unwrapping promises was set to `true`,
    an error would occur if a parsed expression had a
    new line in it.
    This was because when generating the `evaledFnGetter` code,
    a new line in an parsed expression would create a new line
    in a JS string in that code, which is illegal. That is:
    ```js
    pw("A+
    B")
    ```
    rodyhaddad committed Nov 19, 2013
    Configuration menu
    Copy the full SHA
    24ffde9 View commit details
    Browse the repository at this point in the history