Showing the changes to libraries/script-engine/src/ScriptEngine.cpp (1 of 14 files). Show all
Unified · Split
| @@ -579,6 +579,8 @@ static void scriptableResourceFromScriptValue(const QScriptValue& value, Scripta · 578 unmodified lines | ||
| 579 | 579 | } |
| 580 | 580 | |
| 581 | 581 | /**jsdoc |
| 582 | + * The <code>Resource</code> API provides values that define the possible loading states of a resource. | |
| 583 | + * | |
| 582 | 584 | * @namespace Resource |
| 583 | 585 | * |
| 584 | 586 | * @hifi-interface |
| @@ -587,7 +589,7 @@ static void scriptableResourceFromScriptValue(const QScriptValue& value, Scripta · 2 unmodified lines | ||
| 587 | 589 | * @hifi-server-entity |
| 588 | 590 | * @hifi-assignment-client |
| 589 | 591 | * |
| 590 | − * @property {Resource.State} State | |
| 592 | + * @property {Resource.State} State - The possible loading states of a resource. <em>Read-inly.</em> | |
| 591 | 593 | */ |
| 592 | 594 | static QScriptValue createScriptableResourcePrototype(ScriptEnginePointer engine) { |
| 593 | 595 | auto prototype = engine->newObject(); |