Skip to content
Browse files

I restructured the Git repo to have the library in the top directory …

…and then several examples in the examples directory. I did this so that I could put more examples in there AND update the module at the same time.
  • Loading branch information...
1 parent 4081cd7 commit d1b4db263ea82ab1dc004f34fe5c8c0f4a1883ac @bennadel committed Mar 12, 2012
View
0 js/cfwebsocket.js → cfwebsocket.js
File renamed without changes.
View
0 Application.cfc → examples/chat/Application.cfc
File renamed without changes.
View
0 WSApplication.cfc → examples/chat/WSApplication.cfc
File renamed without changes.
View
0 index.cfm → examples/chat/index.cfm
File renamed without changes.
View
0 js/lib/jquery/jquery-1.7.1.js → examples/chat/js/lib/jquery/jquery-1.7.1.js
File renamed without changes.
View
0 js/lib/require/domReady.js → examples/chat/js/lib/require/domReady.js
File renamed without changes.
View
0 js/lib/require/order.js → examples/chat/js/lib/require/order.js
File renamed without changes.
View
0 js/lib/require/require.js → examples/chat/js/lib/require/require.js
File renamed without changes.
View
0 js/lib/require/text.js → examples/chat/js/lib/require/text.js
File renamed without changes.
View
9 js/main.js → examples/chat/js/main.js
@@ -17,7 +17,7 @@ require.config({
require(
[
"jquery",
- "cfwebsocket",
+ "../../../cfwebsocket",
"domReady"
],
function( $, ColdFusionWebSocket ){
@@ -47,7 +47,7 @@ require(
var message = $( "<span />" )
.text( messageData )
.addClass( "message" )
- ;
+ ;
var item = $( "<li />" )
.addClass( "message" )
@@ -206,7 +206,10 @@ require(
var user = socket.parse( responseData );
// Log subscription event.
- logEvent( "A new user has entered the chat [ " + user.clientid + " ]." );
+ logEvent(
+ "A new user has entered the chat [ " +
+ user.clientid + " ]."
+ );
} else {

0 comments on commit d1b4db2

Please sign in to comment.
Something went wrong with that request. Please try again.