Skip to content

Commit

Permalink
JS: switch from josh.js console to jqconsole.
Browse files Browse the repository at this point in the history
js/web/jqconsole.min.js and web/ansi.css are from
https://github.com/replit/jq-console and licensed MIT.
  • Loading branch information
kanaka committed Apr 26, 2014
1 parent 9b1563a commit e439350
Show file tree
Hide file tree
Showing 22 changed files with 325 additions and 600 deletions.
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +0,0 @@
[submodule "js/josh.js"]
path = js/josh.js
url = git://github.com/sdether/josh.js
1 change: 1 addition & 0 deletions docs/TODO
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ Java:
- step9_interop

Javascript:
- switch to himera page/styling for online console

Make:
- allow '_' in make variable names
Expand Down
8 changes: 4 additions & 4 deletions js/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ TESTS = tests/types.js tests/reader.js tests/step5_tco.js
SOURCES_BASE = node_readline.js types.js reader.js printer.js
SOURCES_LISP = env.js core.js stepA_more.js
SOURCES = $(SOURCES_BASE) $(SOURCES_LISP)
WEB_SOURCES = $(SOURCES:node_readline.js=josh_readline.js)
WEB_SOURCES = $(SOURCES:node_readline.js=jq_readline.js)

all: node_modules mal.js mal_web.js
all: node_modules mal.js web/mal.js

node_modules:
npm install
Expand All @@ -16,11 +16,11 @@ mal.js: $(SOURCES)
cat $+ | grep -v "= *require('./" >> $@
chmod +x $@

mal_web.js: $(WEB_SOURCES)
web/mal.js: $(WEB_SOURCES)
cat $+ | grep -v "= *require('./" > $@

clean:
rm -f mal.js mal_web.js
rm -f mal.js web/mal.js

.PHONY: stats tests $(TESTS)

Expand Down
1 change: 0 additions & 1 deletion js/josh.js
Submodule josh.js deleted from 257237
Loading

0 comments on commit e439350

Please sign in to comment.