Skip to content
This repository has been archived by the owner on Mar 2, 2018. It is now read-only.

coffee-script.js:8 Uncaught TypeError: Cannot read property 'charCodeAt' of undefined #50

Open
sahaj2912 opened this issue Oct 5, 2016 · 0 comments

Comments

@sahaj2912
Copy link

hi All,

I am trying to render Jumly sequence diagram in my Primefaces application(.xhtml page) , I could see diagram is perfectly render when we try to display in HTML but this provide error when i try to display at .xhtml page..

So my question is : Is it possible to render sequence diagram in .xhtml as it doesn't load

sequence instruction in variable e and hence it is undefined and that's why it provide the above exception

here is code .xhtml code


<script type="text/javascript" src='resource/js/jquery-2.0.0.js' ></script> <script> $.noConflict(); // Code that uses other library's $ can follow here. </script> <script type="text/javascript" src='resource/js/coffee-script.js' charset="utf-8" ></script> <script type="text/javascript" src='resource/js/jumly.min.js' ></script> <style> .sequence-diagram .horizontal {width: 200px} .sequence-diagram .note {min-width: 200px} .sequence-diagram .interaction {margin-top: 30px} </style> /h:head <script type='text/jumly+sequence'> @found "App", -> @note "each time the App starts..." @message "Hi! can you provide me a deviceToken?", "APNS", -> @reply 'sure!: "deviceToken"' @message 'Hello server, this is my "deviceToken" :)', "Server", -> @note "each time the server wants to send a msg" @message 'please send this "message" to device with "deviceToken"', "APNS", -> @note """ is the server an "authorized provider"? yes. is the App device "legitimate"? yes. OK, we will deliver it. """ @message 'hey, App! a "message" for you!', "App", -> @message "Thanks for the msg! What's new?", "Server" </script>

/h:body


Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant