Index: lib/src/emitters.dart |
diff --git a/lib/src/emitters.dart b/lib/src/emitters.dart |
index a92042e1bea886e108df1665e244f5556b695cb6..5744fad543890e52a63fa4a4ad74032738abc33e 100644 |
--- a/lib/src/emitters.dart |
+++ b/lib/src/emitters.dart |
@@ -921,7 +921,7 @@ void transformMainHtml(Document document, FileInfo fileInfo, |
} else if (dartLoaderTag.parent != document.body) { |
document.body.nodes.add(bootstrapScript); |
} else { |
- document.body.nodes.insertBefore(bootstrapScript, dartLoaderTag); |
+ document.body.insertBefore(bootstrapScript, dartLoaderTag); |
} |
// Insert the "auto-generated" comment after the doctype, otherwise IE will |