admin管理员组

文章数量:1295744

I'm doing some research to see if the current implementation of google dart is IE8 friendly. Our team has to support IE8 for some time and I'm trying to find out if the javascript produced from dart today works for this legacy browser.

Does the dart transpiler lint the output javascript like coffeescript does?

And finally does dart produce ES5 friendly javascript?

I'm doing some research to see if the current implementation of google dart is IE8 friendly. Our team has to support IE8 for some time and I'm trying to find out if the javascript produced from dart today works for this legacy browser.

Does the dart transpiler lint the output javascript like coffeescript does?

And finally does dart produce ES5 friendly javascript?

Share Improve this question asked Jun 26, 2012 at 14:30 Toran BillupsToran Billups 27.4k41 gold badges158 silver badges272 bronze badges 0
Add a ment  | 

2 Answers 2

Reset to default 9

Dart only targets ES5-capable browsers, that is Internet Explorer >= 9, Firefox >= 4, Opera >= 12 and reasonably new WebKit-based browsers. IE 8 is off the table.

Also, I think that currently, it's more likely to experience issues in browsers other than newest Chromium/Chrome, but I don't have a direct experience with this.

From the Dart FAQ - What browsers do you plan to support as JavaScript pilation targets?:

We're currently aiming to support the following browsers:
* Internet Explorer, latest two versions that are 9 or higher.
* Firefox, latest two versions that are 7 or higher.
* Chrome, latest version.
* Safari, latest two versions that are 5.1 or higher.
* Opera, latest version that is 12 or higher.

That's a goal; we don't actually support all of these browsers yet. The goal may change to be either more restrictive or more permissive.

So no, they do not currently intend on supporting IE8.

本文标签: