You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.
I just noticed that some properties of the template data created by jQuery URL Parser is not in lower case (e.g. userInfo). Since I'm busy working on #20 and #64 I thought I'd document it here so I don't forget.
Solution: After building the data object, iterate over the data object and create a lower case version of any properties containing upper case characters (do not delete the original in case it's required internally by another framework.
for own key, value of data when/[A-Z]+/.test key
data[key.toLowerCase()] = value
The text was updated successfully, but these errors were encountered:
I just noticed that some properties of the template data created by jQuery URL Parser is not in lower case (e.g.
userInfo
). Since I'm busy working on #20 and #64 I thought I'd document it here so I don't forget.Solution: After building the data object, iterate over the data object and create a lower case version of any properties containing upper case characters (do not delete the original in case it's required internally by another framework.
The text was updated successfully, but these errors were encountered: