add onComplete to Movie
This commit is contained in:
@@ -52,6 +52,8 @@
|
|||||||
(set lastInstructionPointer -2)
|
(set lastInstructionPointer -2)
|
||||||
(collectedBlocks cleanup))
|
(collectedBlocks cleanup))
|
||||||
(doCleanup)
|
(doCleanup)
|
||||||
|
(when onComplete
|
||||||
|
(onComplete))
|
||||||
})
|
})
|
||||||
|
|
||||||
(defReaderMacro &bof "" [stream] `(#when (StringTools.contains kissFile className) (doPreload cc)))
|
(defReaderMacro &bof "" [stream] `(#when (StringTools.contains kissFile className) (doPreload cc)))
|
||||||
|
|||||||
@@ -141,6 +141,7 @@
|
|||||||
cc))))))
|
cc))))))
|
||||||
|
|
||||||
(prop &mut :Bool paused false)
|
(prop &mut :Bool paused false)
|
||||||
|
(prop &mut :Continuation onComplete null)
|
||||||
|
|
||||||
(method pause []
|
(method pause []
|
||||||
(unless paused
|
(unless paused
|
||||||
|
|||||||
Reference in New Issue
Block a user