From 3224862a9c0dd938b818a014048b5616b6146344 Mon Sep 17 00:00:00 2001
From: Misko Hevery
Date: Fri, 11 Mar 2011 13:57:08 -0800
Subject: Stop using document write, so that we are compatible with async
script loader
---
Rakefile | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Rakefile b/Rakefile
index c6b7cdd1..1945b101 100644
--- a/Rakefile
+++ b/Rakefile
@@ -284,7 +284,7 @@ def gen_css(cssFile, minify = false)
css.gsub! /'/, "\\\\'"
css.gsub! /\n/, "\\n"
- return %Q{document.write('');}
+ return %Q{angular.element(document).find('head').append('');}
end
--
cgit v1.2.3