| OLD | NEW |
| 1 <!-- | 1 <!-- |
| 2 // Copyright 2014 The Chromium Authors. All rights reserved. | 2 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 3 // Use of this source code is governed by a BSD-style license that can be | 3 // Use of this source code is governed by a BSD-style license that can be |
| 4 // found in the LICENSE file. | 4 // found in the LICENSE file. |
| 5 --> | 5 --> |
| 6 <import src="sky-binder.sky" as="binder" /> | 6 <import src="sky-binder.sky" as="binder" /> |
| 7 <script> | 7 <script> |
| 8 // TODO(esprehn): It would be nice if these were exposed by the platform so | 8 // TODO(esprehn): It would be nice if these were exposed by the platform so |
| 9 // the framework didn't need to hard code a list. | 9 // the framework didn't need to hard code a list. |
| 10 var globalAttributesNames = new Set([ | 10 var globalAttributesNames = new Set([ |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 | 158 |
| 159 registerElement('style', { | 159 registerElement('style', { |
| 160 'media': 'string', | 160 'media': 'string', |
| 161 }); | 161 }); |
| 162 | 162 |
| 163 registerElement('template', { | 163 registerElement('template', { |
| 164 'if': 'string', | 164 'if': 'string', |
| 165 'repeat': 'string', | 165 'repeat': 'string', |
| 166 }); | 166 }); |
| 167 | 167 |
| 168 registerElement('iframe', { |
| 169 'src': 'string', |
| 170 }); |
| 171 |
| 168 module.exports = { | 172 module.exports = { |
| 169 registerElement: registerElement, | 173 registerElement: registerElement, |
| 170 getRegistration: getRegistration, | 174 getRegistration: getRegistration, |
| 171 checkAttribute: checkAttribute, | 175 checkAttribute: checkAttribute, |
| 172 isGlobalAttribute: isGlobalAttribute, | 176 isGlobalAttribute: isGlobalAttribute, |
| 173 isExpandableAttribute: isExpandableAttribute, | 177 isExpandableAttribute: isExpandableAttribute, |
| 174 }; | 178 }; |
| 175 </script> | 179 </script> |
| OLD | NEW |