| OLD | NEW |
| 1 #!/usr/bin/python | 1 #!/usr/bin/python |
| 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 2 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
| 3 # for details. All rights reserved. Use of this source code is governed by a | 3 # for details. All rights reserved. Use of this source code is governed by a |
| 4 # BSD-style license that can be found in the LICENSE file. | 4 # BSD-style license that can be found in the LICENSE file. |
| 5 | 5 |
| 6 """This module provides shared functionality for the system to generate | 6 """This module provides shared functionality for the system to generate |
| 7 Dart:html APIs from the IDL database.""" | 7 Dart:html APIs from the IDL database.""" |
| 8 | 8 |
| 9 import emitter | 9 import emitter |
| 10 | 10 |
| (...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 'loadend': 'loadEnd', | 134 'loadend': 'loadEnd', |
| 135 'loadstart': 'loadStart', | 135 'loadstart': 'loadStart', |
| 136 'message': 'message', | 136 'message': 'message', |
| 137 'mousedown': 'mouseDown', | 137 'mousedown': 'mouseDown', |
| 138 'mousemove': 'mouseMove', | 138 'mousemove': 'mouseMove', |
| 139 'mouseout': 'mouseOut', | 139 'mouseout': 'mouseOut', |
| 140 'mouseover': 'mouseOver', | 140 'mouseover': 'mouseOver', |
| 141 'mouseup': 'mouseUp', | 141 'mouseup': 'mouseUp', |
| 142 'mousewheel': 'mouseWheel', | 142 'mousewheel': 'mouseWheel', |
| 143 'mute': 'mute', | 143 'mute': 'mute', |
| 144 'negotationneeded': 'negotationNeeded', | 144 'negotiationneeded': 'negotiationNeeded', |
| 145 'nomatch': 'noMatch', | 145 'nomatch': 'noMatch', |
| 146 'noupdate': 'noUpdate', | 146 'noupdate': 'noUpdate', |
| 147 'obsolete': 'obsolete', | 147 'obsolete': 'obsolete', |
| 148 'offline': 'offline', | 148 'offline': 'offline', |
| 149 'online': 'online', | 149 'online': 'online', |
| 150 'open': 'open', | 150 'open': 'open', |
| 151 'pagehide': 'pageHide', | 151 'pagehide': 'pageHide', |
| 152 'pageshow': 'pageShow', | 152 'pageshow': 'pageShow', |
| 153 'paste': 'paste', | 153 'paste': 'paste', |
| 154 'pause': 'pause', | 154 'pause': 'pause', |
| (...skipping 1075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1230 def GenerateLibraries(self, dart_files): | 1230 def GenerateLibraries(self, dart_files): |
| 1231 auxiliary_dir = os.path.relpath(self._auxiliary_dir, self._output_dir) | 1231 auxiliary_dir = os.path.relpath(self._auxiliary_dir, self._output_dir) |
| 1232 self._GenerateLibFile( | 1232 self._GenerateLibFile( |
| 1233 'html_dart2js.darttemplate', | 1233 'html_dart2js.darttemplate', |
| 1234 os.path.join(self._output_dir, 'html_dart2js.dart'), | 1234 os.path.join(self._output_dir, 'html_dart2js.dart'), |
| 1235 dart_files, | 1235 dart_files, |
| 1236 AUXILIARY_DIR=systembase.MassagePath(auxiliary_dir)) | 1236 AUXILIARY_DIR=systembase.MassagePath(auxiliary_dir)) |
| 1237 | 1237 |
| 1238 def Finish(self): | 1238 def Finish(self): |
| 1239 pass | 1239 pass |
| OLD | NEW |