backbone-formview.js
function (alias, construct) {
            var aliases = {};
            var currAliases = Backbone.FormView.prototype.fieldAlias;
            if (construct) {
                aliases[alias] = construct;
            } else { aliases = alias; }
            defaults(currAliases, aliases);
        }
function (alias, construct) {
            var aliases = {};
            var currAliases = Backbone.FormView.prototype.fieldAlias;
            if (construct) {
                aliases[alias] = construct;
            } else { aliases = alias; }
            defaults(currAliases, aliases);
        }
function ( alias , construct ) { var aliases = { } ; var currAliases = Backbone . FormView . prototype . fieldAlias ; if ( construct ) { aliases [ alias ] = construct ; } else { aliases = alias ; } defaults ( currAliases , aliases ) ; }
Add a Field Alias to the list of field aliases. For example
You have a view constructor DateFieldView and you want to
make it easy to put that field in a schema, you can use this
static function to add an allias 'Date' for that constructor
@memberOf Backbone.FormView
@param {String} alias     Name of the alias
@param {String|Function} construct Constructor used for the field
Add a Field Alias to the list of field aliases . For example You have a view constructor DateFieldView and you want to make it easy to put that field in a schema you can use this static function to add an allias Date for that constructor