hyperstack-org / hyperstack-org/hyperstack

hyper-spec does not require json

未关闭
#341 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug needs doc
主要语言
JavaScript
星标
538
派生
41
PR 合并指标
30 天内没有已合并 PR

描述

newer Opal versions do not automatically include the json library, which hyper_spec depends on (depends on Object#to_json)

In most cases it doesn't matter since the json library will get included by some other dependency (i.e. opal-browser, opal-jquery, and most of the hyperstack gems)

There is however a chance that you could be using hyper-spec with a slimmed down opal App and get an error saying to_json aint there.

For now we can document that you have to require to_json (at least for test) but it would be nice to learn how to do this from within opal sprockets so it was automagic.

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。