EntitySpaces / entityspaces.js

A JavaScript Data Access Framework that uses Knockout
www.entityspaces.net
36 stars 11 forks source link

es.EsEntity extender errors #2

Closed ghost closed 12 years ago

ghost commented 12 years ago

Had to change line 797 from:

       ko.utils.arrayForEach(extenders, function (extender) {

            //Make sure to set the 'this' properly by using 'call'

            extender.call(self);
        });

To:

        ko.utils.arrayForEach(extenders, function (extender) {
            if(extender) {
                //Make sure to set the 'this' properly by using 'call'
                extender.call(self);
            }
        });
EntitySpaces commented 12 years ago

This has now been fixed.