From 6a98c52c847ecc620118f3ccfdd66c3956c0fb01 Mon Sep 17 00:00:00 2001 From: Misko Hevery Date: Wed, 7 Mar 2012 22:47:01 -0800 Subject: chore(compiler): change default restriction to attribute only for directives --- docs/src/templates/docs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs/src/templates/docs.js') 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 }; }); }); -- cgit v1.2.3