react-backbone.js
function() {
            var keys = arguments.length > 0 ? Array.prototype.slice.call(arguments, 0) : undefined;
            return {
                getInitialState: function() {
                    var self = this;
                    modelOrCollectionEventHandler(typeData.type, keys || 'updateOn', this, '{key}', function() {
                        self.deferUpdate();
                    });
                }
            };
        }
function() {
            var keys = arguments.length > 0 ? Array.prototype.slice.call(arguments, 0) : undefined;
            return {
                getInitialState: function() {
                    var self = this;
                    modelOrCollectionEventHandler(typeData.type, keys || 'updateOn', this, '{key}', function() {
                        self.deferUpdate();
                    });
                }
            };
        }
function ( ) { var keys = arguments . length > 0 ? Array . prototype . slice . call ( arguments , 0 ) : undefined ; return { getInitialState : function ( ) { var self = this ; modelOrCollectionEventHandler ( typeData . type , keys || 'updateOn' , this , '{key}' , function ( ) { self . deferUpdate ( ) ; } ) ; } } ; }
Gives any comonent the ability to force an update when an event is fired
Gives any comonent the ability to force an update when an event is fired