From d78aa662af435c36bd521c6b6d133a3094691d20 Mon Sep 17 00:00:00 2001 From: David Botton Date: Mon, 22 Feb 2021 14:56:43 -0500 Subject: [PATCH] Instructions for local verion of Ace --- README.md | 1 + demos/03-demo.lisp | 5 +++++ demos/README.md | 1 + 3 files changed, 7 insertions(+) diff --git a/README.md b/README.md index e97e881..9ad5a5d 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/demos/03-demo.lisp b/demos/03-demo.lisp index 7bc8d0e..73296e1 100644 --- a/demos/03-demo.lisp +++ b/demos/03-demo.lisp @@ -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)) diff --git a/demos/README.md b/demos/README.md index ae6e5d4..54932b6 100644 --- a/demos/README.md +++ b/demos/README.md @@ -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)