mirror of
https://github.com/overte-org/overte.git
synced 2025-06-04 00:11:32 +02:00
Fix assets example not using correct API
This commit is contained in:
parent
fdbbd70eed
commit
9773c58da6
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