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 | /**jsdoc | 581 | /**jsdoc |
| 582 | * The <code>Resource</code> API provides values that define the possible loading states of a resource. | ||
| 583 | * | ||
| 582 | * @namespace Resource | 584 | * @namespace Resource |
| 583 | * | 585 | * |
| 584 | * @hifi-interface | 586 | * @hifi-interface |
| @@ -587,7 +589,7 @@ static void scriptableResourceFromScriptValue(const QScriptValue& value, Scripta · 2 unmodified lines | |||
| 587 | * @hifi-server-entity | 589 | * @hifi-server-entity |
| 588 | * @hifi-assignment-client | 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 | static QScriptValue createScriptableResourcePrototype(ScriptEnginePointer engine) { | 594 | static QScriptValue createScriptableResourcePrototype(ScriptEnginePointer engine) { |
| 593 | auto prototype = engine->newObject(); | 595 | auto prototype = engine->newObject(); |