mirror of
https://github.com/overte-org/overte.git
synced 2025-04-22 21:54:10 +02:00
Fix typos
This commit is contained in:
parent
942347158a
commit
2ad1d7a2a2
2 changed files with 3 additions and 3 deletions
libraries
|
@ -66,7 +66,7 @@ public slots:
|
|||
bool isValidFilePath(QString input) { return AssetUtils::isValidFilePath(input); }
|
||||
|
||||
/**jsdoc
|
||||
* Gets the normalized ATP URL for a path or hash: ensures that it has <code>"atp:/"</code> at the start.
|
||||
* Gets the normalized ATP URL for a path or hash: ensures that it has <code>"atp:"</code> at the start.
|
||||
* @function Assets.getATPUrl
|
||||
* @param {string} url - The URL to normalize.
|
||||
* @returns {string} The normalized ATP URL.
|
||||
|
@ -93,7 +93,7 @@ public slots:
|
|||
* Calculates the SHA256 hash of given data.
|
||||
* @function Assets.hashData
|
||||
* @param {string|ArrayBuffer} data - The data to calculate the hash of.
|
||||
* @returns {ArrayBuffere} The SHA256 hash of the <code>data</code>.
|
||||
* @returns {ArrayBuffer} The SHA256 hash of the <code>data</code>.
|
||||
*/
|
||||
QByteArray hashData(const QByteArray& data) { return AssetUtils::hashData(data); }
|
||||
|
||||
|
|
|
@ -324,7 +324,7 @@ public:
|
|||
* <p class="important">Not implemented: This method is not implemented yet.</p>
|
||||
* @function Assets.deleteAsset
|
||||
* @param {Assets.DeleteOptions} options - The content to delete and delete options.
|
||||
* @param {object} scope - he scope that the <code>callback</code> function is defined in.
|
||||
* @param {object} scope - The scope that the <code>callback</code> function is defined in.
|
||||
* @param {Assets~deleteAssetCallback} callback - The function to call upon completion.
|
||||
*/
|
||||
Q_INVOKABLE void deleteAsset(QScriptValue options, QScriptValue scope, QScriptValue callback = QScriptValue());
|
||||
|
|
Loading…
Reference in a new issue