hyperstack-org / hyperstack-org/hyperstack

return native strings instead of String Objects from attributes

Đang mở
#312 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
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ả

Not completely sure why this is happening, but at the JS level column values that are of type text or string, get turned into JS String objects (i.e. `new String(s)`) This is transparent through the Opal system, but when passing such values to JS methods sometimes this causes confusion especially if the method is explicitily checking for typeof x === string

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.