diff --git a/static-files/js/beautify-css.js b/static-files/builder-js/beautify-css.js similarity index 100% rename from static-files/js/beautify-css.js rename to static-files/builder-js/beautify-css.js diff --git a/static-files/js/beautify-html.js b/static-files/builder-js/beautify-html.js similarity index 100% rename from static-files/js/beautify-html.js rename to static-files/builder-js/beautify-html.js diff --git a/static-files/js/beautify.js b/static-files/builder-js/beautify.js similarity index 100% rename from static-files/js/beautify.js rename to static-files/builder-js/beautify.js diff --git a/tools/clog-builder.lisp b/tools/clog-builder.lisp index 7d6d503..d272199 100644 --- a/tools/clog-builder.lisp +++ b/tools/clog-builder.lisp @@ -382,9 +382,9 @@ clog-builder window.") (make-instance 'console-in-stream :clog-obj body))) (clog-gui-initialize body :use-clog-debugger t :standard-output (stdout app)) (add-class body *builder-window-desktop-class*) - (load-script (html-document body) "/js/beautify.js" :load-only-once t) - (load-script (html-document body) "/js/beautify-css.js" :load-only-once t) - (load-script (html-document body) "/js/beautify-html.js" :load-only-once t) + (load-script (html-document body) "/builder-js/beautify.js" :load-only-once t) + (load-script (html-document body) "/builder-js/beautify-css.js" :load-only-once t) + (load-script (html-document body) "/builder-js/beautify-html.js" :load-only-once t) (when *password-protect* (input-dialog body "Enter password:" (lambda (result) (unless (equal result (if (functionp *password-protect*) @@ -634,6 +634,9 @@ clog-builder window.") (format nil "~A/preferences.lisp" (merge-pathnames "tools" (asdf:system-source-directory :clog)))) + (clog-connection:add-plugin-path "^/builder-js/" + (merge-pathnames "./static-files/" + (asdf:system-source-directory :clog))) (load *preferances-file* :if-does-not-exist nil :verbose t)