hyperstack-org / hyperstack-org/hyperstack

hyper-spec does not require json

Ouverte
#341 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
bug needs doc
Langage dominant
JavaScript
Étoiles
538
Forks
41
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.