Permalink
Browse files

better style, more tests for cache functions

  • Loading branch information...
Max Melentiev
Max Melentiev committed Apr 8, 2013
1 parent ab3e541 commit a44831637c228bd8e405680c75978b98d08a54c6
Showing with 130 additions and 123 deletions.
  1. +1 −2 Makefile
  2. +10 −5 compile.js
  3. +44 −45 doT.js
  4. +1 −1 doT.min.js
  5. +8 −14 express.js
  6. +1 −1 package.json
  7. +7 −8 src/compile.coffee
  8. +33 −38 src/doT.coffee
  9. +4 −9 src/express.coffee
  10. +21 −0 test/dot_spec.coffee
View
@@ -1,7 +1,6 @@
BIN := node_modules/.bin
UGLIFY := $(BIN)/uglifyjs
COFFEE := $(BIN)/coffee
-MOCHA := $(BIN)/mocha
TARGETS := doT.js compile.js express.js
UGLIFIED:= doT.min.js
@@ -22,4 +21,4 @@ clean:
rm -f $(TARGETS) $(UGLIFIED)
test: compile
- $(MOCHA)
+ npm test
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View
89 doT.js

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
View

Some generated files are not rendered by default. Learn more.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit a448316

Please sign in to comment.