mirror of
https://gitlab.com/eql/lqml.git
synced 2025-12-06 02:30:38 -08:00
revisions
This commit is contained in:
parent
caca998979
commit
052d7c2a97
3 changed files with 36 additions and 12 deletions
|
|
@ -15,12 +15,18 @@
|
|||
(defvar *remote-ip* #+interpreter nil
|
||||
#-interpreter #.(remote-ip))
|
||||
|
||||
#+(or android ios)
|
||||
(defun load* (file)
|
||||
(load (make-string-input-stream
|
||||
(funcall (%sym 'curl :qml)
|
||||
(x:cc *remote-ip* file)))))
|
||||
|
||||
(export 'load*)
|
||||
|
||||
#+(or android ios)
|
||||
(defun qml:view-status-changed (status)
|
||||
(when (= 1 status)
|
||||
(load (make-string-input-stream
|
||||
(funcall (%sym 'curl :qml)
|
||||
(x:cc *remote-ip* "lisp/qml-reload/on-reloaded.lisp"))))))
|
||||
(load* "lisp/qml-reload/on-reloaded.lisp")))
|
||||
|
||||
#+(or android ios)
|
||||
(let ((load t)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue