Instructions for local verion of Ace

This commit is contained in:
David Botton 2021-02-22 14:56:43 -05:00
parent 08d5f03248
commit d78aa662af
3 changed files with 7 additions and 0 deletions

View file

@ -195,6 +195,7 @@ Demo Summary
- 01-demo.lisp - Sparkey the Snake Game
- 02-demo.lisp - Chat - Private instant messenger
- 03-demo.lisp - IDE - A very simple common lisp IDE
(see source if editor dosen't load)
High Order Extensions to CLOG (so far)

View file

@ -177,6 +177,11 @@
(let ((app (make-instance 'app-data)))
(setf (connection-data-item body "app-data") app))
(clog-gui-initialize body)
;; This is the Ace js code editor. This cdn works for most, if fails (getting
;; New as a blank window,etc) you can cd clog/static-files/ and run
;; git clone https://github.com/ajaxorg/ace-builds/
;; and uncomment this line and comment out the next:
;; (load-script (html-document body) "/ace-builds/src-noconflict/ace.js")
(load-script (html-document body) "https://pagecdn.io/lib/ace/1.4.12/ace.js")
(add-class body "w3-teal")
(let* ((menu (create-gui-menu-bar body))

View file

@ -37,3 +37,4 @@ Demo Summary
- 01-demo.lisp - Sparkey the Snake Game
- 02-demo.lisp - Chat - Private instant messenger
- 03-demo.lisp - IDE - A very simple common lisp IDE
(see source if editor dosen't load)