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 --- src/widget/form.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/widget/form.js') diff --git a/src/widget/form.js b/src/widget/form.js index 24f4ff42..e3823f41 100644 --- a/src/widget/form.js +++ b/src/widget/form.js @@ -117,7 +117,7 @@ FormController.prototype.registerWidget = function(widget, alias) { /** - * @ngdoc widget + * @ngdoc directive * @name angular.module.ng.$compileProvider.directive.form * * @scope @@ -204,7 +204,7 @@ FormController.prototype.registerWidget = function(widget, alias) { */ -var ngFormDirective = [function() { +var formDirective = [function() { return { name: 'form', restrict: 'E', -- cgit v1.2.3