Is there no `trim` polyfill in Ember as of yet?
On Apr 8, 2014 5:54 PM, "Marcio Junior" <notifications@github.com> wrote:

> In packages_es6/ember-metal/lib/expand_properties.js:
>
> > @@ -38,7 +39,10 @@ function expandProperties(pattern, callback) {
> >      list = match[2];
> >
> >      forEach(list.split(','), function (suffix) {
> > -      callback(prefix + suffix);
> > +      console.log(suffix);
> > +      if (!isBlank(suffix)) {
> > +        callback(prefix + suffix.trim());
>
> string.trim() isn't supported in old browsers like ie <=8 so I guess we
> will need a polyfill here. There is a sample here<https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/Trim>
>
> --
> Reply to this email directly or view it on GitHub<https://github.com/emberjs/ember.js/pull/4671/files#r11413772>
> .
>