diff options
| author | Igor Minar | 2013-02-25 20:43:27 -0800 | 
|---|---|---|
| committer | Igor Minar | 2013-02-25 21:38:29 -0800 | 
| commit | 7ddbde8c1c00e08a63de9701e29bf5e8bed051b8 (patch) | |
| tree | dc8344c77b3b58a2fef8422bd86804bcfe4525c0 /test/testabilityPatch.js | |
| parent | 753fc9e58d5e554d4930548558efecc283557eeb (diff) | |
| download | angular.js-7ddbde8c1c00e08a63de9701e29bf5e8bed051b8.tar.bz2 | |
chore(sortedHtml): print attributes with empty value
I had to also fix some tests as they started failing on IE8.
We should figure out why these extra attributes are set in IE8,
but I'm too tired of IE to worry about it now. Since I'm
not introducing this issue just making it visible, I'm going
to commit this as is.
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index d55ff015..cef00993 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -114,7 +114,7 @@ function sortedHtml(element, showNgClass) {          var attr = attributes[i];          if(attr.name.match(/^ng[\:\-]/) || -            attr.value && +            (attr.value || attr.value == '') &&              attr.value !='null' &&              attr.value !='auto' &&              attr.value !='false' && | 
