jquery - Uncaught ReferenceError: org is not defined in CometD -


I am about to setup a sample chat application using CometD and download all the necessary files from [Git] () I am doing

When I try to run the application it says, " Unfair reference references: the organization is not defined "

Can be through?

My JS files are in the following order

  & lt; Script type = "text / javascript" src = "http://myserver.com/cometd/common/src/main/webapp/org/cometd/AckExtension.js"></script> & Lt; Script type = "text / javascript" src = "http://myserver.com/cometd/common/src/main/webapp/org/cometd/ReloadExtension.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "http://myserver.com/cometd/jquery/src/main/webapp/jquery/jquery-1.11.0.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "http://myserver.com/cometd/jquery/src/main/webapp/jquery/jquery.cookie.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "http://myserver.com/cometd/jquery/src/main/webapp/jquery/jquery.cometd.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "http://myserver.com/cometd/jquery/src/main/webapp/jquery/jquery.cometd-reload.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" src = "chat.js" & gt; & Lt; / Script & gt; & Lt; Script type = "text / javascript" & gt; Var config = {contextPath: location.href.replace (/ https ?: \ / \ / [^ \ /] * /, ''). Replace (/ \ / jquery-examples \ /.*$/, '')} & lt; / Script & gt;  

You can enter a & lt; Script & gt; org / cometd.js file.

I suggest that you use either basically as you have explained, or who you follow.


Comments

Popular posts from this blog

ios - How do I use CFArrayRef in Swift? -

eclipse plugin - Run java code error: Workspace is closed -

c - Error on building source code in VC 6 -