mercredi 1 juillet 2015

Ember on IE7 - Object doesn't support this action

I have been successfully running an ember app on IE8 and above. Now I need to support IE7 as well.

I have now installed ember.js v1.0.0 but I am getting the following error: "Object doesn't support this action". Seems like method.apply is the problem.

here:

if (method) {
    // Older IE doesn't support apply, but Chrome needs it
        if (method.apply) {
            return function() {
                method.apply(consoleObj, arguments);
            };
         } else {
            return function() {
            var message = Array.prototype.join.call(arguments, ', ');
            method(message);
          };
          }   } }

Any ideas on how to get past this problem? This is line 390 of ember.js

Thanks!




Aucun commentaire:

Enregistrer un commentaire