Skip to content

port to ES6 module system#220

Open
ccancellieri wants to merge 1 commit intoandredumas:masterfrom
ccancellieri:modules
Open

port to ES6 module system#220
ccancellieri wants to merge 1 commit intoandredumas:masterfrom
ccancellieri:modules

Conversation

@ccancellieri
Copy link
Copy Markdown

This fixes the integration with my ES6 projects. not sure if you want to merge my work anyhow I'm happy to share ;)

@illuzen
Copy link
Copy Markdown

illuzen commented Apr 6, 2019

Let's fix those errors and get this merged, yeah? I'm using this fork for now.

export const svg = function(d3) {
return {
arrow: require('./arrow')(require('../util')().functor)
arrow: _arrow(util().functor)()
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is a bug of calling arrow. It passes as a function by removing ().
arrow: _arrow(util().functor)() should be arrow: _arrow(util().functor)

@hkmoon
Copy link
Copy Markdown

hkmoon commented Feb 28, 2020

The gist of using esModule based techan.js in jupyter notebook is https://gist.github.com/hkmoon/baa4926c5650638cbec7fe5d6693103a

@trasherdk trasherdk mentioned this pull request Jul 11, 2021
gruppler added a commit to gruppler/techan.js that referenced this pull request Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants