paulsamuels / SBConstants

MIT License
311 stars 28 forks source link

Fix #6 - handle identifiers with spaces #8

Closed paulsamuels closed 10 years ago

paulsamuels commented 10 years ago

If an identifier has a space or a hyphen we should sanitise the key by stripping these characters. We should also ensure that this does not create any collisions with existing keys or throw an error

orta commented 10 years ago

Brilliant! :+1: