flashair
flashair copied to clipboard
Uncaught ReferenceError: next is not defined
Hi. Just wanna ask where this next function came from.
I'm doing:
var start = 0, limit = 1;
recent(start, limit)
function recent(start, limit) {
FlashAir.API.getRecent(start, start + limit)
.done(function(recent) {
console.log(recent)
})
}
but gives me this error:
Uncaught ReferenceError: next is not defined
at Object.getRecent (flashair.js:118)
at recent (flashairCameraEvents.js:49)
at HTMLDocument.<anonymous> (flashairCameraEvents.js:47)
at j (jquery.js:3099)
at Object.fireWith [as resolveWith] (jquery.js:3211)
at Function.ready (jquery.js:3417)
at HTMLDocument.I (jquery.js:3433)```