I have my index.html file setup for a dart application like this:
<!DOCTYPE html>
<html>
<head>
<title>basic_app</title>
<script defer src="main.dart" type="application/dart"></script>
<script defer src="packages/browser/dart.js"></script>
</head>
<body>
</body>
</html>
Chrome has started throwing a warning at me that says:
Fetching scripts with an invalid type/language attributes is deprecated and will be removed in M56, around January 2017. See https://www.chromestatus.com/features/5760718284521472 for more details.
What do I have to change to get rid of this warning? I believe it is caused by this line:
<script defer src="main.dart" type="application/dart"></script>