diff options
Diffstat (limited to 'src/ng/directive/booleanAttrs.js')
| -rw-r--r-- | src/ng/directive/booleanAttrs.js | 39 | 
1 files changed, 3 insertions, 36 deletions
| diff --git a/src/ng/directive/booleanAttrs.js b/src/ng/directive/booleanAttrs.js index 8f7399a6..a0966da7 100644 --- a/src/ng/directive/booleanAttrs.js +++ b/src/ng/directive/booleanAttrs.js @@ -201,42 +201,6 @@  /**   * @ngdoc directive - * @name ng.directive:ngMultiple - * @restrict A - * - * @description - * The HTML specs do not require browsers to preserve the special attributes such as multiple. - * (The presence of them means true and absence means false) - * This prevents the angular compiler from correctly retrieving the binding expression. - * To solve this problem, we introduce the `ngMultiple` directive. - * - * @example -     <doc:example> -       <doc:source> -         Check me check multiple: <input type="checkbox" ng-model="checked"><br/> -         <select id="select" ng-multiple="checked"> -           <option>Misko</option> -           <option>Igor</option> -           <option>Vojta</option> -           <option>Di</option> -         </select> -       </doc:source> -       <doc:scenario> -         it('should toggle multiple', function() { -           expect(element('.doc-example-live #select').prop('multiple')).toBeFalsy(); -           input('checked').check(); -           expect(element('.doc-example-live #select').prop('multiple')).toBeTruthy(); -         }); -       </doc:scenario> -     </doc:example> - * - * @element SELECT - * @param {expression} ngMultiple Angular expression that will be evaluated. - */ - - -/** - * @ngdoc directive   * @name ng.directive:ngReadonly   * @restrict A   * @@ -334,6 +298,9 @@ var ngAttributeAliasDirectives = {};  // boolean attrs are evaluated  forEach(BOOLEAN_ATTR, function(propName, attrName) { +  // binding to multiple is not supported +  if (propName == "multiple") return; +    var normalized = directiveNormalize('ng-' + attrName);    ngAttributeAliasDirectives[normalized] = function() {      return { | 
