Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
Add MDN reference to XRHitTestResult (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
kungfooman authored Dec 5, 2023
1 parent 21e5455 commit e5c519b
Showing 1 changed file with 42 additions and 41 deletions.
83 changes: 42 additions & 41 deletions publish.js
Original file line number Diff line number Diff line change
Expand Up @@ -259,47 +259,48 @@ var unwrapType = function (name, display) {

// External type links
const builtins = {
"undefined": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Undefined",
"null": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Null",
"array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array",
"arraybuffer": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer",
"boolean": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean",
"element": "https://developer.mozilla.org/en-US/docs/Web/API/Element",
"error": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error",
"function": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function",
"htmlimageelement": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement",
"htmlvideoelement": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement",
"htmlaudioelement": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement",
"htmlcanvaselement": "https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement",
"globalthis.keyboardevent": "https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent",
"globalthis.mouseevent": "https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent",
"number": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number",
"object": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object",
"string": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String",
"globalthis.touch": "https://developer.mozilla.org/en-US/docs/Web/API/Touch",
"globalthis.touchevent": "https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent",
"audio": "https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio",
"audionode": "https://developer.mozilla.org/en-US/docs/Web/API/AudioNode",
"audiobuffer": "https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer",
"audiocontext": "https://developer.mozilla.org/en-US/docs/Web/API/AudioContext",
"audiobuffersourcenode": "https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode",
"window": "https://developer.mozilla.org/en-US/docs/Web/API/Window",
"int8array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array",
"uint8array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array",
"uint8clampedarray": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray",
"int16array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array",
"uint16array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array",
"int32array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array",
"uint32array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array",
"float32array": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array",
"gamepad": "https://developer.mozilla.org/en-US/docs/Web/API/Gamepad",
"document": "https://developer.mozilla.org/en-US/docs/Web/API/Document",
"xmlhttprequest": "https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest",
"svgimageelement": "https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement",
"blob": "https://developer.mozilla.org/en-US/docs/Web/API/Blob",
"imagedata": "https://developer.mozilla.org/en-US/docs/Web/API/ImageData",
"imagebitmap": "https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap",
"this": "https://www.typescriptlang.org/docs/handbook/advanced-types.html#polymorphic-this-types",
'undefined': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Undefined',
'null': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Null',
'array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array',
'arraybuffer': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ArrayBuffer',
'boolean': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Boolean',
'element': 'https://developer.mozilla.org/en-US/docs/Web/API/Element',
'error': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Error',
'function': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function',
'htmlimageelement': 'https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement',
'htmlvideoelement': 'https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement',
'htmlaudioelement': 'https://developer.mozilla.org/en-US/docs/Web/API/HTMLAudioElement',
'htmlcanvaselement': 'https://developer.mozilla.org/en-US/docs/Web/API/HTMLCanvasElement',
'globalthis.keyboardevent': 'https://developer.mozilla.org/en-US/docs/Web/API/KeyboardEvent',
'globalthis.mouseevent': 'https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent',
'number': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Number',
'object': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object',
'string': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String',
'globalthis.touch': 'https://developer.mozilla.org/en-US/docs/Web/API/Touch',
'globalthis.touchevent': 'https://developer.mozilla.org/en-US/docs/Web/API/TouchEvent',
'audio': 'https://developer.mozilla.org/en-US/docs/Web/HTML/Element/audio',
'audionode': 'https://developer.mozilla.org/en-US/docs/Web/API/AudioNode',
'audiobuffer': 'https://developer.mozilla.org/en-US/docs/Web/API/AudioBuffer',
'audiocontext': 'https://developer.mozilla.org/en-US/docs/Web/API/AudioContext',
'audiobuffersourcenode': 'https://developer.mozilla.org/en-US/docs/Web/API/AudioBufferSourceNode',
'window': 'https://developer.mozilla.org/en-US/docs/Web/API/Window',
'int8array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int8Array',
'uint8array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8Array',
'uint8clampedarray': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint8ClampedArray',
'int16array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int16Array',
'uint16array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint16Array',
'int32array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Int32Array',
'uint32array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Uint32Array',
'float32array': 'https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Float32Array',
'gamepad': 'https://developer.mozilla.org/en-US/docs/Web/API/Gamepad',
'document': 'https://developer.mozilla.org/en-US/docs/Web/API/Document',
'xmlhttprequest': 'https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest',
'svgimageelement': 'https://developer.mozilla.org/en-US/docs/Web/API/SVGImageElement',
'blob': 'https://developer.mozilla.org/en-US/docs/Web/API/Blob',
'imagedata': 'https://developer.mozilla.org/en-US/docs/Web/API/ImageData',
'imagebitmap': 'https://developer.mozilla.org/en-US/docs/Web/API/ImageBitmap',
'this': 'https://www.typescriptlang.org/docs/handbook/advanced-types.html#polymorphic-this-types',
'xrhittestresult': 'https://developer.mozilla.org/en-US/docs/Web/API/XRHitTestResult',
"*": "#" // blerg
};

Expand Down

0 comments on commit e5c519b

Please sign in to comment.