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 /src/widget/select.js | |
| parent | 6aa3cfc31b14bfe74d89030fb6c2d615e44f2845 (diff) | |
| download | angular.js-6a98c52c847ecc620118f3ccfdd66c3956c0fb01.tar.bz2 | |
chore(compiler): change default restriction to attribute only for directives
Diffstat (limited to 'src/widget/select.js')
| -rw-r--r-- | src/widget/select.js | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/widget/select.js b/src/widget/select.js index f3c0f3dd..5ed1367f 100644 --- a/src/widget/select.js +++ b/src/widget/select.js @@ -1,7 +1,7 @@  'use strict';  /** - * @ngdoc widget + * @ngdoc directive   * @name angular.module.ng.$compileProvider.directive.select   *   * @description @@ -424,6 +424,7 @@ var selectDirective = ['$compile', '$parse', function($compile,   $parse) {  var optionDirective = ['$interpolate', function($interpolate) {    return { +    restrict: 'E',      priority: 100,      compile: function(element, attr) {        if (isUndefined(attr.value)) { | 
