hyperstack-org / hyperstack-org/hyperstack

return native strings instead of String Objects from attributes

オープン
#312 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
538
フォーク
41
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。