jslint doesn't like that.


On Tue, Jan 21, 2014 at 6:14 PM, João Paulo Bochi
<notifications@github.com>wrote:

> In spec/integration-spec.js:
>
> > @@ -46,7 +46,7 @@ describe('ko validation integration', function () {
> >          'integer': [ 'Must be number' ]
> >        }),
> >        noNumbersField: ko.observable('').extend({
> > -        'invalidChars': [ '1234567890'.split(''), 'Must not have numbers.' ]
> > +        'invalidChars': [ String.prototype.split.call(['1234567890'], ''), 'Must not have numbers.' ]
>
> have you tried ('1234567890').split('')?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/racker/ko-validation/pull/53/files#r9052419>
> .
>



-- 
Bruno *Trecenti*
thoughtworks.com