Permalink
Browse files

fixed the multiChannel support

  • Loading branch information...
1 parent 4abde5f commit 666d2d4e17c6d69de946075a2c95fee378267389 @ptejada committed Sep 1, 2012
Showing with 9 additions and 3 deletions.
  1. +8 −2 demo/multiChannel/index.htm
  2. +1 −1 js/dev/client.js
@@ -45,7 +45,13 @@
</div>
- <!-- Load ApePubSub min File -->
- <script type="text/javaScript" src="../../js/ApePubSub.js"></script>
+ <!-- Load ApePubSub dev File -->
+ <script type="text/javaScript" src="../../js/dev/utilities.js"></script>
+ <script type="text/javaScript" src="../../js/dev/client.js"></script>
+ <script type="text/javaScript" src="../../js/dev/onMessage.js"></script>
+ <script type="text/javaScript" src="../../js/dev/transport.js"></script>
+ <script type="text/javaScript" src="../../js/dev/channel.js"></script>
+ <script type="text/javaScript" src="../../js/dev/user.js"></script>
+ <script type="text/javaScript" src="../../js/dev/session.js"></script>
</body>
</html>
View
@@ -140,7 +140,7 @@ APS.prototype.trigger = function(ev, args){
if(!(args instanceof Array)) args = [args];
//GLobal
- if("client" in this){
+ if("_client" in this){
for(var i in this._client._events[ev]){
if(this._client._events[ev].hasOwnProperty(i)){
this.log("{{{ " + ev + " }}} on client ", this._client);

0 comments on commit 666d2d4

Please sign in to comment.