Comments (4)
I think your webserver is serving the JS with the wrong charset headers.
This is because I'm using an accented character in one of my class names. Either you fix your webserver, change the tag to say charset=... or I stop using funny characters in my class names.
I'll most likely do the later.
from js-sequence-diagrams.
@bramp Cool, FWIW, I'm opening a local HTML file in Chrome using OS X's Finder. No web server involved. That is probably causing the difference. This was my use case because I'm making a one-off sequence diagram for a presentation, so I didn't go through the trouble to setup a web server for it, and just decided to use HTML/JS file in a directory.
It looks good, though, so thanks for that!
-Ben
from js-sequence-diagrams.
This has been fixed in 6912c48
from js-sequence-diagrams.
@bramp - Just so you know, the current CDNJS version of this file (hosted here) still has the invalid character in it. Snippet follows:
RaphaëlTheme=function(diagram){this.init(diagram)};_.extend(RaphaëlTheme.prototype
,BaseTheme.prototype,{init_font:function(){this._font={"font-size":16,
"font-family":"Andale Mono, monospace"}}});var HandRaphaëlTheme=function(diagram)
{this.init(diagram)};_.extend(HandRaphaëlTheme.prototype,
BaseTheme.prototype,{init_font:function(){this._font={"font-
Just so you know :) I'm going to use the JS from the link you provided at raw.githubusercontent.com
for now, but let me know if I can be any more help!
from js-sequence-diagrams.
Related Issues (20)
- Make diagrams collapsible HOT 1
- Why is there a fucknpm directory when installing via npm? HOT 3
- Why do not you support Chinese input? HOT 2
- Make this package installable with npm HOT 1
- Can we give the value of id to the text?
- How to Add Double-headed Arrow
- Cannot read property 'alias' undefined
- Master branch does not pass the lint out of the box
- Auto wrapping
- jQuery can't find sequenceDiagram function HOT 1
- how to create simple sequence diagram in vscode HOT 1
- When is the new version of js-sequence-diagrams released?
- Support horizontal line
- No support for loops, opt and alt. Is this project dead? HOT 1
- Was this what powered WebSequenceDiagrams.com? (sorry if this is a re-ask) HOT 1
- trying to avoid jQuery
- [feature-request] add support for activation bars HOT 2
- [feature-request] Change themes in the diagram text. HOT 1
- support multi sequence diagram in a single svg
- Size problem when set display none then block HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from js-sequence-diagrams.