History

Fix wrong syntax for JSDoc comments. For reference, this is an internal syntax defined in tools/jsdoc/plugins/hifi.js

Julian Groß committed 3 years ago

Commit 326b00c1 parent 0f158973 files · +75 −75Browse files

Showing the changes to libraries/script-engine/src/ScriptValueUtils.cpp (1 of 3 files). Show all

Unified · Split

libraries/script-engine/src/ScriptValueUtils.cpp+5−5
@@ -720,7 +720,7 @@ ScriptValue qColorToScriptValue(ScriptEngine* engine, const QColor& color) { · 719 unmodified lines
720720 return object;
721721 }
722722
723−/**jsdoc
723+/*@jsdoc
724724 * An axis-aligned cube, defined as the bottom right near (minimum axes values) corner of the cube plus the dimension of its
725725 * sides.
726726 * @typedef {object} AACube
@@ -817,7 +817,7 @@ bool pickRayFromScriptValue(const ScriptValue& object, PickRay& pickRay) { · 90 unmodified lines
817817 return true;
818818 }
819819
820−/**jsdoc
820+/*@jsdoc
821821 * Details of a collision between avatars and entities.
822822 * @typedef {object} Collision
823823 * @property {ContactEventType} type - The contact type of the collision event.
@@ -862,7 +862,7 @@ bool quuidFromScriptValue(const ScriptValue& object, QUuid& uuid) { · 38 unmodified lines
862862 return true;
863863 }
864864
865−/**jsdoc
865+/*@jsdoc
866866 * A 2D size value.
867867 * @typedef {object} Size
868868 * @property {number} height - The height value.
@@ -881,7 +881,7 @@ bool qSizeFFromScriptValue(const ScriptValue& object, QSizeF& qSizeF) { · 12 unmodified lines
881881 return true;
882882 }
883883
884−/**jsdoc
884+/*@jsdoc
885885 * The details of an animation that is playing.
886886 * @typedef {object} Avatar.AnimationDetails
887887 * @property {string} role - <em>Not used.</em>
@@ -955,7 +955,7 @@ bool meshesFromScriptValue(const ScriptValue& value, MeshProxyList& out) { · 67 unmodified lines
955955 return true;
956956 }
957957
958−/**jsdoc
958+/*@jsdoc
959959 * A triangle in a mesh.
960960 * @typedef {object} MeshFace
961961 * @property {number[]} vertices - The indexes of the three vertices that make up the face.