Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Side by Side Diff: utils/apidoc/apidoc.dart

Issue 10332109: Make the crypto library an official dart:crypto library. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix long line Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/create_sdk.py ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2012, 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 /** 5 /**
6 * This generates the reference documentation for the core libraries that come 6 * This generates the reference documentation for the core libraries that come
7 * with dart. It is built on top of dartdoc, which is a general-purpose library 7 * with dart. It is built on top of dartdoc, which is a general-purpose library
8 * for generating docs from any Dart code. This library extends that to include 8 * for generating docs from any Dart code. This library extends that to include
9 * additional information and styling specific to our standard library. 9 * additional information and styling specific to our standard library.
10 * 10 *
(...skipping 92 matching lines...) Expand 10 before | Expand all | Expand 10 after
103 103
104 print('Cross-referencing dart:dom and dart:html...'); 104 print('Cross-referencing dart:dom and dart:html...');
105 HtmlDiff.initialize(); 105 HtmlDiff.initialize();
106 _diff = new HtmlDiff(printWarnings:false); 106 _diff = new HtmlDiff(printWarnings:false);
107 _diff.run(); 107 _diff.run();
108 world.reset(); 108 world.reset();
109 109
110 // Add all of the core libraries. 110 // Add all of the core libraries.
111 world.getOrAddLibrary('dart:core'); 111 world.getOrAddLibrary('dart:core');
112 world.getOrAddLibrary('dart:coreimpl'); 112 world.getOrAddLibrary('dart:coreimpl');
113 world.getOrAddLibrary('dart:json'); 113 world.getOrAddLibrary('dart:crypto');
114 world.getOrAddLibrary('dart:dom'); 114 world.getOrAddLibrary('dart:dom');
115 world.getOrAddLibrary('dart:html'); 115 world.getOrAddLibrary('dart:html');
116 world.getOrAddLibrary('dart:io'); 116 world.getOrAddLibrary('dart:io');
117 world.getOrAddLibrary('dart:isolate'); 117 world.getOrAddLibrary('dart:isolate');
118 world.getOrAddLibrary('dart:json');
118 world.getOrAddLibrary('dart:uri'); 119 world.getOrAddLibrary('dart:uri');
119 world.getOrAddLibrary('dart:utf'); 120 world.getOrAddLibrary('dart:utf');
120 world.process(); 121 world.process();
121 122
122 print('Generating docs...'); 123 print('Generating docs...');
123 final apidoc = new Apidoc(mdn, outputDir, mode, generateAppCache); 124 final apidoc = new Apidoc(mdn, outputDir, mode, generateAppCache);
124 125
125 Futures.wait([scriptCompiled, copiedStatic, copiedApiDocStatic]).then((_) { 126 Futures.wait([scriptCompiled, copiedStatic, copiedApiDocStatic]).then((_) {
126 apidoc.document(); 127 apidoc.document();
127 }); 128 });
(...skipping 378 matching lines...) Expand 10 before | Expand all | Expand 10 after
506 ''' 507 '''
507 <p class="correspond">This corresponds to $domTypesText in the 508 <p class="correspond">This corresponds to $domTypesText in the
508 ${a("dom.html", "dart:dom")} library.</p> 509 ${a("dom.html", "dart:dom")} library.</p>
509 '''; 510 ''';
510 } 511 }
511 512
512 return ''; 513 return '';
513 } 514 }
514 515
515 } 516 }
OLDNEW
« no previous file with comments | « tools/create_sdk.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698