Skip to content

pipes of angular2 don't work in Safari browsers #10345

@suplch

Description

@suplch

I'm submitting a ... (check one with "x")

[ ] bug report

**Current behavior**


**Expected/desired behavior**


**Reproduction of the problem**
{{12345 | number}}  
   This expression will display 12,345 in chrome browser, this is correct
   But in safari browser, this expression will display empty string, and then throw an exception on console of browser.
like this:
    format
formatNumber
transform
[native code]

detectChangesInternal
detectChanges
detectViewChildrenChanges
detectChangesInternal
detectChanges
detectContentChildrenChanges
detectChangesInternal
detectChanges
detectViewChildrenChanges
detectChangesInternal
detectChanges
detectChanges

forEach@[native code]
tick

invoke
onInvoke
invoke
run
runInner
run


__tryOrUnsub
next
_next
next
_finalNext
_next
...........



**What is the expected behavior?**

We expected this expression {{12345 | number}}  output 12,345 in safari browser, and no error.


**What is the motivation / use case for changing the behavior?**
So important function don't work in safari browser.


**Please tell us about your environment:**

* **Angular version:** 2.0.0-rc.4

* **Browser:** [Safari 9.1.1 (11601.6.17)] 

* **Language:** [all | TypeScript 1.8.10 ] 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions