diff options
| -rw-r--r-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -157,7 +157,7 @@ task :generate_ie_compat => :init do # generate a javascript closure that contains a function which will append the generated css # string as a stylesheet to the current html document jsString = "(function(){ \r\n" + - " var jsUri = document.location.href.replace(/\\/[^\/]+(#.*)?$/, '/') + \r\n" + + " var jsUri = document.location.href.replace(/\\/[^\\\/]+(#.*)?$/, '/') + \r\n" + " document.getElementById('ng-ie-compat').src,\r\n" + " css = '#{cssString}',\r\n" + " s = document.createElement('style'); \r\n" + |
