diff options
| author | Misko Hevery | 2011-05-23 14:17:55 -0700 | 
|---|---|---|
| committer | Vojta Jina | 2011-06-15 01:14:22 +0200 | 
| commit | e83465c362c53ac7451183a775456f3112262f6e (patch) | |
| tree | 5d69e91e2e300472ea37816100437754f577be49 /src/markups.js | |
| parent | f370be85cb680a7cac7a23999a865b9c9e731238 (diff) | |
| download | angular.js-e83465c362c53ac7451183a775456f3112262f6e.tar.bz2 | |
Fix scenario runner on IE7, IE8
* add ng:disabled, ng:checked, ng:multiple, ng:readonly, ng:selected
* fetch fixed cookbook/advancedform (use ng:disabled)
* fire keydown instead of change on input
* remove frame when test finishes
Diffstat (limited to 'src/markups.js')
| -rw-r--r-- | src/markups.js | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/src/markups.js b/src/markups.js index 5e240a92..7edde728 100644 --- a/src/markups.js +++ b/src/markups.js @@ -236,7 +236,11 @@ angularTextMarkup('option', function(text, textNode, parentElement){   */  var NG_BIND_ATTR = 'ng:bind-attr'; -var SPECIAL_ATTRS = {'ng:src': 'src', 'ng:href': 'href'}; +var SPECIAL_ATTRS = {}; +forEach('src,href,checked,disabled,multiple,readonly,selected'.split(','), function(name) { +  SPECIAL_ATTRS['ng:' + name] = name; +}); +  angularAttrMarkup('{{}}', function(value, name, element){    // don't process existing attribute markup    if (angularDirective(name) || angularDirective("@" + name)) return; | 
