aboutsummaryrefslogtreecommitdiffstats
path: root/src/widget/form.js
diff options
context:
space:
mode:
authorMisko Hevery2012-03-07 22:47:01 -0800
committerMisko Hevery2012-03-08 10:07:49 -0800
commit6a98c52c847ecc620118f3ccfdd66c3956c0fb01 (patch)
tree722ac5c8f1a847ba62c242fb60f2bc1a417120f8 /src/widget/form.js
parent6aa3cfc31b14bfe74d89030fb6c2d615e44f2845 (diff)
downloadangular.js-6a98c52c847ecc620118f3ccfdd66c3956c0fb01.tar.bz2
chore(compiler): change default restriction to attribute only for directives
Diffstat (limited to 'src/widget/form.js')
-rw-r--r--src/widget/form.js4
1 files changed, 2 insertions, 2 deletions
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) {
</doc:scenario>
</doc:example>
*/
-var ngFormDirective = [function() {
+var formDirective = [function() {
return {
name: 'form',
restrict: 'E',