GitHub user yuanyan opened a pull request:

    https://github.com/apache/incubator-weex/pull/132

    [jsfm] * fix freeze error when assign name to Error

    make below code work:
    ```
    var error = new Error(); 
    error.name = 'Invariant Violation';
    ```


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/yuanyan/incubator-weex patch-1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-weex/pull/132.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #132
    
----
commit 311f7fc03efcbf0948ef6f3316a123766e4ed6e3
Author: 元彦 <yuan...@users.noreply.github.com>
Date:   2017-03-20T08:38:58Z

    [jsfm] * fix freeze error when assign name to Error
    
    make below code work:
    var error = new Error(); 
    error.name = 'Invariant Violation';

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to