Skip to content

Commit

Permalink
[#391] Move commands into a separate file.
Browse files Browse the repository at this point in the history
This adds a new public function, Cadence.addCommand(),
which can be used to register a particular command name with
a callback function.

All core commands are separately defined in a file called commands.js.
  • Loading branch information
cburschka committed May 28, 2016
1 parent 267dc58 commit dda64d8
Show file tree
Hide file tree
Showing 4 changed files with 963 additions and 951 deletions.
1 change: 1 addition & 0 deletions Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ endif
VPATH = ${SRC_PATH}

CORE_FILES = js/core/strings.js js/core/chat.js js/core/xmpp.js \
js/core/commands.js \
js/core/ui.js js/core/visual.js js/core/init.js \
js/core/config.js js/core/emoticons.js

Expand Down
Loading

0 comments on commit dda64d8

Please sign in to comment.