Closed grahams closed 11 years ago
Hi Sean - Thanks for the pull request. You mentioned that you "added a test for this", but I don't see it in the pull request. Can you please add the test?
Sorry for the confusion, by test I meant 'testing the variable', not a unit test. I'll take a look at your unit test stuff and add one.
Wouldn't you know it, writing unit tests helped me find a bug! :) I'll submit a new pull request with the added tests and fixed bug.
This builds on the previous addition that allowed title localization on any element. For input elements, the localizeInputElement didn't consider that the value might be an object with value/title keys. I added a test for this.