hyperstack-org / hyperstack-org/hyperstack

hyper-spec does not require json

Đang mở
#341 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug needs doc
Ngôn ngữ chính
JavaScript
Star
538
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.