diff options
| author | Misko Hevery | 2012-03-07 22:47:01 -0800 | 
|---|---|---|
| committer | Misko Hevery | 2012-03-08 10:07:49 -0800 | 
| commit | 6a98c52c847ecc620118f3ccfdd66c3956c0fb01 (patch) | |
| tree | 722ac5c8f1a847ba62c242fb60f2bc1a417120f8 /docs/src/templates/docs.js | |
| parent | 6aa3cfc31b14bfe74d89030fb6c2d615e44f2845 (diff) | |
| download | angular.js-6a98c52c847ecc620118f3ccfdd66c3956c0fb01.tar.bz2 | |
chore(compiler): change default restriction to attribute only for directives
Diffstat (limited to 'docs/src/templates/docs.js')
| -rw-r--r-- | docs/src/templates/docs.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/src/templates/docs.js b/docs/src/templates/docs.js index b9fc0407..95cac2c9 100644 --- a/docs/src/templates/docs.js +++ b/docs/src/templates/docs.js @@ -158,6 +158,6 @@ angular.module('ngdocs', ['ngdocs.directives'], function($locationProvider, $fil    });    $compileProvider.directive('code', function() { -    return { terminal: true }; +    return { restrict: 'E', terminal: true };    });  }); | 
