diff options
Diffstat (limited to 'lib/grunt')
| -rw-r--r-- | lib/grunt/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 764f481f..c7d4431b 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -91,7 +91,7 @@ module.exports = { .replace(/\\/g, '\\\\') .replace(/'/g, "\\'") .replace(/\r?\n/g, '\\n'); - return "angular.element(document).find('head').prepend('<style type=\"text/css\">" + css + "</style>');"; + return "!angular.$$csp() && angular.element(document).find('head').prepend('<style type=\"text/css\">" + css + "</style>');"; } }, |
