1AppRegistry.registerBundle({applicationId:'afNewsTeasers|4.0',bundle: {"en":{"link":"More news","heading":"News"},"sv":{"link":"Alla nyheter","heading":"Nyheter"}}}); 2AppRegistry.registerModule({applicationId:'afNewsTeasers|4.0',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+='<section class="af-newsTeasers">\n\n <header class="af-newsTeasers__header">\n <h2 class="af-newsTeasers__heading">\n '+ 6((__t=( i18n('heading') ))==null?'':__t)+ 7'\n </h2>\n </header>\n\n <div class="af-newsTeasers__body">\n\n '; 8 9 for (let i = 0; i < items.length; i++) { 10 let item = items[i]; 11 12__p+='\n <article class="af-newsTeasers__item">\n <div class="af-newsTeasers__item__body">\n <header class="af-newsTeasers__item__header">\n <a href="'+ 13((__t=( item.href ))==null?'':__t)+ 14'" class="af-newsTeasers__item__header__lnk">\n <h3 class="af-newsTeasers__item__header__heading">\n '+ 15((__t=( item.name ))==null?'':__t)+ 16'\n </h3>\n </a>\n </header>\n '; 17 if (item.summary) { 18__p+='\n <p class="af-newsTeasers__item__summary">\n '+ 19((__t=( item.summary ))==null?'':__t)+ 20'\n </p>\n '; 21 } 22__p+='\n <footer class="af-newsTeasers__item__footer">\n '; 23 if (item.published) { 24__p+='\n <time datetime="'+ 25((__t=( item.published_iso8601 ))==null?'':__t)+ 26'"\n class="af-newsTeasers__item__footer__date">\n <span class="af-newsTeasers__item__footer__date__short">'+ 27((__t=( item.published_short ))==null?'':__t)+ 28'</span>\n <span class="af-newsTeasers__item__footer__date__long">'+ 29((__t=( item.published ))==null?'':__t)+ 30'</span>\n </time>\n '; 31 } 32__p+='\n '; 33 if (item.categories.length > 0) { 34__p+='\n '; 35 for (let i = 0; i < item.categories.length; i++) { 36__p+='\n '; 37 if (pageUrl) { 38__p+='\n <a href="'+ 39((__t=( pageUrl ))==null?'':__t)+ 40'?c='+ 41((__t=( item.categories[i].slug ))==null?'':__t)+ 42'"\n class="af-newsTeasers__item__footer__category">'+ 43((__t=( item.categories[i].name ))==null?'':__t)+ 44'</a>'+ 45((__t=( (i < item.categories.length - 1 ? ', ' : '') ))==null?'':__t)+ 46'\n '; 47 } else { 48__p+='\n <span class="af-newsTeasers__item__footer__category">\n '+ 49((__t=( item.categories[i].name ))==null?'':__t)+ 50''+ 51((__t=( (i < item.categories.length - 1 ? ', ' : '') ))==null?'':__t)+ 52'\n </span>\n '; 53 } 54__p+='\n '; 55 } 56__p+='\n '; 57 } 58__p+='\n </footer>\n </div>\n </article>\n '; 59 } 60__p+='\n\n </div>\n\n '; 61 if (pageUrl) { 62__p+='\n <footer class="af-newsTeasers__footer">\n <a href="'+
63((__t=( category.url ? category.url : pageUrl ))==null?'':__t)+ 64'"\n class="af-newsTeasers__footer__lnk stdBtn">\n '+ 65((__t=( i18n('link') ))==null?'':__t)+ 66'\n </a>\n </footer>\n '; 67 } 68__p+='\n\n</section>\n'; 69} 70return __p; 71};});}}); 72AppRegistry.registerModule({applicationId:'afNewsTeasers|4.0',path:'/main',module:function(define){'use strict';define(function (require) { 73 74 'use strict'; 75 76 var _ = require('underscore'), 77 Component = require('Component'), 78 template = require('/template/main'); 79 80 return Component.extend({ 81 template: template 82 }); 83}); 84}});
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.