public/build/static/application.js
function(rel, href, mimetype) {
            if (_.isObject(rel)) {
                _.each(rel, function(value, name) {
                    this.link(name, value);
                }, this);
                return;
            }

            var mt =  this.$('link[rel="'+rel+'"]');
            if (mt.length === 0) {
                mt =  $("<link>", {}).attr("rel", rel).appendTo(this.$el);
            }
            if (mimetype != null) mt.attr("type", mimetype);
            if (href != null) {
                mt.attr('href', href);
            } else {
                return mt.attr('href');
            }
        }
function(rel, href, mimetype) {
            if (_.isObject(rel)) {
                _.each(rel, function(value, name) {
                    this.link(name, value);
                }, this);
                return;
            }

            var mt =  this.$('link[rel="'+rel+'"]');
            if (mt.length === 0) {
                mt =  $("<link>", {}).attr("rel", rel).appendTo(this.$el);
            }
            if (mimetype != null) mt.attr("type", mimetype);
            if (href != null) {
                mt.attr('href', href);
            } else {
                return mt.attr('href');
            }
        }
function ( rel , href , mimetype ) { if ( _ . isObject ( rel ) ) { _ . each ( rel , function ( value , name ) { this . link ( name , value ) ; } , this ) ; return ; } var mt = this . $ ( 'link[rel="' + rel + '"]' ) ; if ( mt . length === 0 ) { mt = $ ( "<link>" , { } ) . attr ( "rel" , rel ) . appendTo ( this . $el ) ; } if ( mimetype != null ) mt . attr ( "type" , mimetype ) ; if ( href != null ) { mt . attr ( 'href' , href ) ; } else { return mt . attr ( 'href' ) ; } }
Set or get a link tag value

@method link
@param {string} ref name of the link tag
@param {string} [href] value to set on the link tag
@param {string} [mimetype] mimetype for this link
@return {string} value of the link tag
Set or get a link tag value