| OLD | NEW | 
|---|
| 1 // Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file | 1 // Copyright (c) 2014, the Dart project authors.  Please see the AUTHORS file | 
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a | 
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. | 
| 4 | 4 | 
| 5 import 'package:analysis_server/driver.dart'; | 5 /// Unless overridden by a Zone, [print] in dart:core will call this function | 
| 6 | 6 /// if defined. | 
| 7 /** | 7 function dartPrint(message) { | 
| 8  * Create and run an HTTP-based analysis server. | 8   console.log(message); | 
| 9  */ | 9   window.parent.postMessage(message, '*'); | 
| 10 void main(List<String> args) { |  | 
| 11   Driver driver = new Driver(); |  | 
| 12   driver.start(args); |  | 
| 13 } | 10 } | 
| OLD | NEW | 
|---|