I've been working on JavaScript ES5/ES6 version for the Tutorials of "Tour
of Heroes"
<https://groups.google.com/d/msg/angular/6Pgr2hPqU2U/dZ3zoczcBAAJ>.

Besides Chrome, I have been spending some time in Safari because it still
doesn't support arrow functions <http://caniuse.com/#feat=arrow-functions> and
therefore is a good browser to test ES5 code. I spent some time making what
I believe is a pure ES5 version of the Tutorial:

     Angular 2 ES5 Example - Tour of Heroes: Part 5
<http://plnkr.co/edit/HvQTHBS2ZQJBU6AXRyFp>

and it works fine in Chrome. However, in Safari, I have a problem when I
click the "Back" button in the hero-detail.component. It calls
window.history.back() at which point it successfully navigates the route,
but the state of the component is lost. Not being sure if this was a bug in
Safari, or my code, I figured I would try the regular TypeScript version in
Safari:

    https://angular.io/resources/live-examples/toh-5/ts/plnkr.html

And sure enough, the problem remains.

On a separate note, I'm still interested in helping write ES5 & ES6
documentation for Angular2, and would love a response to my first pull
request <https://github.com/angular/angular.io/pull/1193>.

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to