Skip to content

Commit

Permalink
new changes
Browse files Browse the repository at this point in the history
  • Loading branch information
xydudu committed Jul 25, 2012
1 parent e65bac3 commit 24b7840
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
18 changes: 12 additions & 6 deletions controller/index.js

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

4 changes: 2 additions & 2 deletions view/index.jade
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ html
script(src="http://honey.hunantv.com/src/config.js")
script(src="http://honey.hunantv.com/src/honey.source.js")
body
h1 Honey Pusher 1
h1 Honey Pusher Demo (UID: #{ id })
script
online = 0;
honey.go('lib_jquery, lib_socket, mod_pusher', function() {
honey.pusher({
socket: '#{ pusher }',
data: {project: 'ihunantv', key: '1', channels: 'server, movie, music'}
data: {project: 'ihunantv', key: '#{ id }', channels: 'server, movie, music'}
}, function(socket) {
socket.on('subscribe', function(msg) {
Expand Down

0 comments on commit 24b7840

Please sign in to comment.