RIAEvangelist / node-dominos-pizza-api

This is a node.js wrapper for the dominos pizza apis
MIT License
545 stars 132 forks source link

Address.parse should trim strings #11

Closed RIAEvangelist closed 9 years ago

RIAEvangelist commented 9 years ago

before/while assigning parsed address values to address object we should trim the strings.

this would allow for more universal and less validated input. meaning easier for developers.

trim example