From cfd688cbffbd5fbe33a817671d44f5b98500d60f Mon Sep 17 00:00:00 2001 From: Jason Woofenden Date: Sat, 2 Nov 2013 12:47:33 -0400 Subject: [PATCH] improve tab-completion in source code --- .gitignore | 6 +++--- Makefile | 18 +++++++++--------- style.less | 1 + t | 2 +- template.html | 4 ++-- 5 files changed, 16 insertions(+), 15 deletions(-) diff --git a/.gitignore b/.gitignore index 71ea8f6..1d6409b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,7 +1,7 @@ index.html index.html.gz -main.js -main_min.js -style.css +index.js +index_min.js +index.css wordlist_compressed.js wordlist_min.js diff --git a/Makefile b/Makefile index 962d6ff..929563b 100644 --- a/Makefile +++ b/Makefile @@ -6,19 +6,19 @@ install: all wordlist_compressed.js: compress.coffee wordlist.txt coffee compress.coffee -main.js: main.coffee - coffee -bc main.coffee +index.js: main.coffee + coffee -bc -o .coffee-tmp main.coffee && mv .coffee-tmp/main.js index.js -main_min.js: wordlist_compressed.js main.js - cat /usr/share/javascript/jquery/jquery.min.js main.js | uglifyjs -nc -o $@ +index_min.js: wordlist_compressed.js index.js + cat /usr/share/javascript/jquery/jquery.min.js index.js | uglifyjs -nc -o $@ -wordlist_min.js: wordlist_compressed.js main.js +wordlist_min.js: wordlist_compressed.js index.js cat wordlist_compressed.js | uglifyjs -nc -o $@ -style.css: style.less - lessc style.less style.css +index.css: style.less + lessc style.less index.css -index.html: main_min.js wordlist_min.js template.html style.css +index.html: index_min.js wordlist_min.js template.html index.css bash combine.bash template.html > $@ || (rm -f $@; exit 1) index.html.gz: index.html @@ -26,4 +26,4 @@ index.html.gz: index.html clean: - rm -f main.js main_min.js wordlist_compressed.js wordlist_min.js style.css index.html index.html.gz + rm -f index.js index_min.js wordlist_compressed.js wordlist_min.js index.css index.html index.html.gz diff --git a/style.less b/style.less index ee67ce3..ac8d122 100644 --- a/style.less +++ b/style.less @@ -190,6 +190,7 @@ body { background-color: spin(lighten(desaturate(@tile-color, 70%), 9%), 100); } &.hp0 { + cursor: default; color: lighten(desaturate(@tile-color, 100%), 10%); background-color: lighten(desaturate(@tile-color, 100%), 10%); } diff --git a/t b/t index 8fd025c..c796533 100755 --- a/t +++ b/t @@ -3,5 +3,5 @@ while true do inotifywait -q -e close_write -e delete_self `git ls-files` >/dev/null 2>&1 || exit - verbose make && dwb -x reload + verbose make #&& dwb -x reload done diff --git a/template.html b/template.html index efc4d56..2f9849d 100644 --- a/template.html +++ b/template.html @@ -6,7 +6,7 @@ @@ -79,7 +79,7 @@ cat style.css