Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ensure template data is lower case #66
I just noticed that some properties of the template data created by jQuery URL Parser is not in lower case (e.g.
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