diff options
| author | tigbro | 2013-10-14 12:06:26 -0700 |
|---|---|---|
| committer | Igor Minar | 2013-10-22 15:21:23 -0700 |
| commit | a86cf20e67202d614bbcaf038c5e04db94483256 (patch) | |
| tree | 9d8eadd5de50d6ba2b96f9432cee256647e6b681 /src/ng/directive/ngShowHide.js | |
| parent | b9557b0a86206d938a738ea470736d011dff7e1a (diff) | |
| download | angular.js-a86cf20e67202d614bbcaf038c5e04db94483256.tar.bz2 | |
fix: don't inline css in csp mode.
Also add `angular-csp.css` to the resulting build.
Diffstat (limited to 'src/ng/directive/ngShowHide.js')
| -rw-r--r-- | src/ng/directive/ngShowHide.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ng/directive/ngShowHide.js b/src/ng/directive/ngShowHide.js index cdfa0604..5b13a57b 100644 --- a/src/ng/directive/ngShowHide.js +++ b/src/ng/directive/ngShowHide.js @@ -9,6 +9,7 @@ * provided to the ngShow attribute. The element is shown or hidden by removing or adding * the `ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined * in AngularJS and sets the display style to none (using an !important flag). + * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}). * * <pre> * <!-- when $scope.myValue is truthy (element is visible) --> @@ -161,6 +162,7 @@ var ngShowDirective = ['$animate', function($animate) { * provided to the ngHide attribute. The element is shown or hidden by removing or adding * the `ng-hide` CSS class onto the element. The `.ng-hide` CSS class is predefined * in AngularJS and sets the display style to none (using an !important flag). + * For CSP mode please add `angular-csp.css` to your html file (see {@link ng.directive:ngCsp ngCsp}). * * <pre> * <!-- when $scope.myValue is truthy (element is hidden) --> |
