Commit dcb5be3b authored by Pascal Hartig's avatar Pascal Hartig Committed by Sindre Sorhus

AngularDart: Add compiled JavaScript + SourceMap

closes #741
parent 6e93883b
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -11,10 +11,7 @@ if (navigator.userAgent.indexOf('(Dart)') === -1) { ...@@ -11,10 +11,7 @@ if (navigator.userAgent.indexOf('(Dart)') === -1) {
// Fall back to compiled JS. Run through all the scripts and // Fall back to compiled JS. Run through all the scripts and
// replace them if they have a type that indicate that they source // replace them if they have a type that indicate that they source
// in Dart code. // in Dart code (type="application/dart").
//
// <script type="application/dart" src="..."></script>
//
var scripts = document.getElementsByTagName("script"); var scripts = document.getElementsByTagName("script");
var length = scripts.length; var length = scripts.length;
for (var i = 0; i < length; ++i) { for (var i = 0; i < length; ++i) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment