bcdice / bcdice-js

BCDice ported package for TypeScript and JavaScript by Opal.
BSD 3-Clause "New" or "Revised" License
21 stars 9 forks source link

Loaderの自作に必要な関数をexportする #27

Closed h-mikisato closed 3 years ago

h-mikisato commented 3 years ago

自作LoaderでdynamicLoadを上書きする時に、getGameSystemClassがexportされていないので外部で作成できないので、該当関数をexportしたいです

懸念点: この関数はそもそもexportするべき性質のものか?この関数はexportせずに、Loader基底クラスの方にこれを呼び出す関数を実装するべきか?

esnya commented 3 years ago

性質的にはこのまま export で妥当と思います。もともと、他所で使っていないから export されていなかったようなそんなものですし……