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

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

Issue 10164004: Remove frogsh. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Rebased Created 8 years, 8 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 | « dart/utils/apidoc/mdn/prettyPrint.dart ('k') | dart/utils/css/cssoptions.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #library("util"); 1 #library("util");
2 2
3 #import("../../../frog/lib/node/node.dart");
4 #import("dart:json"); 3 #import("dart:json");
5 4
6 Map<String, Map> _allProps; 5 Map<String, Map> _allProps;
7 6
8 Map<String, Map> get allProps() { 7 Map<String, Map> get allProps() {
9 if (_allProps == null) { 8 if (_allProps == null) {
10 // Database of expected property names for each type in WebKit. 9 // Database of expected property names for each type in WebKit.
11 _allProps = JSON.parse(fs.readFileSync('data/dartIdl.json', 'utf8')); 10 _allProps = JSON.parse(fs.readFileSync('data/dartIdl.json', 'utf8'));
12 } 11 }
13 return _allProps; 12 return _allProps;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 if (entry != null) { 75 if (entry != null) {
77 num score = scoreEntry(entry, type); 76 num score = scoreEntry(entry, type);
78 if (score > bestScore) { 77 if (score > bestScore) {
79 bestScore = score; 78 bestScore = score;
80 bestEntry = entry; 79 bestEntry = entry;
81 } 80 }
82 } 81 }
83 } 82 }
84 return bestEntry; 83 return bestEntry;
85 } 84 }
OLDNEW
« no previous file with comments | « dart/utils/apidoc/mdn/prettyPrint.dart ('k') | dart/utils/css/cssoptions.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698