adrai / adrai/flowchart.js

Cannot render server-side

オープン
#78 コメント 7 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
8.7k
フォーク
1.2k
PR マージ指標
30日以内にマージされた PR はありません

説明

In node.js, when I call

```
require('flowchart.js')
```

I get the Raphael exception below:

```
/.../node_modules/raphael/dev/raphael.core.js:96
doc: document,
^

ReferenceError: document is not defined
at /.../node_modules/raphael/dev/raphael.core.js:96:18
at /.../node_modules/raphael/dev/raphael.core.js:15:26
at Object. (/.../node_modules/raphael/dev/raphael.core.js:19:2)
at Module._compile (module.js:413:34)
at Object.Module._extensions..js (module.js:422:10)
at Module.load (module.js:357:32)
at Function.Module._load (module.js:314:12)
at Module.require (module.js:367:17)
at require (internal/module.js:16:19)
at /.../node_modules/raphael/raphael.amd.js:16:23
```

Thank you for the good work !

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。