1AppRegistry.registerBundle({applicationId:'button-link|0.0.1',bundle: {"en":{},"sv":{}}}); 2AppRegistry.registerModule({applicationId:'button-link|0.0.1',path:'/template/main',module:function(define){define(function(require){var _=require('underscore');return function(obj){ 3var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; 4with(obj||{}){ 5__p+=''; 6 if(icon !== 'none') { 7__p+='\n <i class="'+ 8((__t=( icon ))==null?'':__t)+ 9' quick-link__icon" aria-hidden="true"></i> \n'; 10 } 11__p+='\n<span class="quick-link__text">\n '+ 12((__t=( title ))==null?'':__t)+ 13'\n</span>'; 14} 15return __p; 16};});}}); 17AppRegistry.registerModule({applicationId:'button-link|0.0.1',path:'/main',module:function(define){'use strict';define(function(require) { 18 'use strict'; 19 20 var _ = require('underscore'); 21 var Component = require('Component'); 22 var template = require('/template/main'); 23 24 return Component.extend({ 25 tagName: 'a', 26 attributes: { 27 class: 'quick-link' 28 }, 29 template: template, 30 onRendered: function() { 31 if (this.state.size === 'small') { 32 this.$el.addClass('quick-link--small'); 33 } 34 this.$el.attr('href', this.state.url); 35 if (this.state.icon === 'none') { 36 this.$el.addClass('quick-link--no-icon'); 37 } 38 }, 39 filterState: function(state) { 40 return _.extend({}, state); 41 } 42 }); 43}); 44}});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.