File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 11'use strict' ;
22const nodeDocUrl = '' ;
3- const jsDocUrl = 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/' +
4- 'Reference/Global_Objects/' ;
5- const jsPrimitiveUrl = 'https://developer.mozilla.org/en-US/docs/Web/' +
6- 'JavaScript/Data_structures' ;
3+ const jsDocPrefix = 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/' ;
4+ const jsDocUrl = jsDocPrefix + 'Reference/Global_Objects/' ;
5+ const jsPrimitiveUrl = jsDocPrefix + 'Data_structures' ;
76const jsPrimitives = {
87 'Integer' : 'Number' , // this is for extending
98 'Number' : 'Number' ,
@@ -37,6 +36,8 @@ const typeMap = {
3736 'http.IncomingMessage' : 'http.html#http_class_http_incomingmessage' ,
3837 'http.Server' : 'http.html#http_class_http_server' ,
3938 'http.ServerResponse' : 'http.html#http_class_http_serverresponse' ,
39+ 'Iterator' : jsDocPrefix +
40+ 'Reference/Iteration_protocols#The_iterator_protocol'
4041} ;
4142
4243module . exports = {
You can’t perform that action at this time.
0 commit comments