mirror of
https://github.com/scratchfoundation/scratchjr.git
synced 2024-11-28 18:15:37 -05:00
Fixing iOS.mediacounter variable
This commit is contained in:
parent
bac2962c98
commit
1f1a56b1a7
1 changed files with 2 additions and 3 deletions
|
@ -8,7 +8,6 @@ import {isiOS, gn} from '../utils/lib';
|
|||
// But, it is also used for the AndroidInterface. All function calls here
|
||||
// are mapped to Android/iOS native calls.
|
||||
|
||||
/* eslint-disable no-unused-vars */
|
||||
export let path;
|
||||
export let camera;
|
||||
export let database = 'projects';
|
||||
|
@ -77,12 +76,12 @@ export default class iOS {
|
|||
}
|
||||
|
||||
static getmedia (file, fcn) {
|
||||
iOS.mediacounter++;
|
||||
mediacounter++;
|
||||
var nextStep = function (file, key, whenDone) {
|
||||
var result = tabletInterface.io_getmedialen(file, key);
|
||||
iOS.processdata(key, 0, result, '', whenDone);
|
||||
};
|
||||
nextStep(file, iOS.mediacounter, fcn);
|
||||
nextStep(file, mediacounter, fcn);
|
||||
}
|
||||
|
||||
static getmediadata (key, offset, len, fcn) {
|
||||
|
|
Loading…
Reference in a new issue