mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 03:17:02 +02:00
Merge pull request #8437 from huffman/fix/assets-example
Fix assets example not using correct API
This commit is contained in:
commit
b4943a4c4b
1 changed files with 1 additions and 1 deletions
|
@ -2,7 +2,7 @@ var data = "this is some data";
|
||||||
var extension = "txt";
|
var extension = "txt";
|
||||||
var uploadedFile;
|
var uploadedFile;
|
||||||
|
|
||||||
Assets.uploadData(data, extension, function (url) {
|
Assets.uploadData(data, function (url) {
|
||||||
print("data uploaded to:" + url);
|
print("data uploaded to:" + url);
|
||||||
uploadedFile = url;
|
uploadedFile = url;
|
||||||
Assets.downloadData(url, function (data) {
|
Assets.downloadData(url, function (data) {
|
||||||
|
|
Loading…
Reference in a new issue