Skip to content

Commit

Permalink
[WIP] started the evented version of the code…and fixed a bug (issue #38
Browse files Browse the repository at this point in the history
)
  • Loading branch information
etgryphon committed Apr 24, 2012
1 parent 9199058 commit 3cd398c
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 35 deletions.
15 changes: 12 additions & 3 deletions Makefile
@@ -1,6 +1,15 @@
MIN_NAME=stativus-min.js
EVENTED_NAME=stativus-evt-min.js

minified : stativus.js
all: minified evented

minified: stativus.js
@@rm -f ./libs/$(MIN_NAME)
@@uglifyjs --define DEBUG_MODE=false ./stativus.js > ./libs/$(MIN_NAME)
@@echo 'Minified version built'
@@uglifyjs --define DEBUG_MODE=false --define EVENTABLE=false ./stativus.js > ./libs/$(MIN_NAME)
@@echo 'Basic Minified version built'

evented: stativus.js
@@rm -f ./libs/$(EVENTED_NAME)
@@uglifyjs --define DEBUG_MODE=false --define EVENTABLE=true ./stativus.js > ./libs/$(EVENTED_NAME)
@@echo 'Minified Evented version built'

6 changes: 6 additions & 0 deletions libs/stativus-evt-min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 3cd398c

Please sign in to comment.