File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -157,11 +157,13 @@ task :generate_ie_compat => :init do
157
157
# generate a javascript closure that contains a function which will append the generated css
158
158
# string as a stylesheet to the current html document
159
159
jsString = "(function(){ \r \n " +
160
- " var jsUri = document.location.href.replace(/\\ /[^\/ ]+(#.*)?$/, '/') + " +
161
- " document.getElementById('ng-ie-compat').src; \r \n " +
162
- " var css = '#{ cssString } ' \r \n " +
163
- " var s = document.createElement('style'); \r \n " +
160
+ " var jsUri = document.location.href.replace(/\\ /[^\/ ]+(#.*)?$/, '/') + \r \n " +
161
+ " document.getElementById('ng-ie-compat').src,\r \n " +
162
+ " css = '#{ cssString } ',\r \n " +
163
+ " s = document.createElement('style'); \r \n " +
164
+ "\r \n " +
164
165
" s.setAttribute('type', 'text/css'); \r \n " +
166
+ "\r \n " +
165
167
" if (s.styleSheet) { \r \n " +
166
168
" s.styleSheet.cssText = css; \r \n " +
167
169
" } else { \r \n " +
You can’t perform that action at this time.
0 commit comments