PageSourceSearch

https://www.kunskapsgymnasiet.se/webapp-resource/2.6ce5045216a58f9…/1570456975997/webapp-assets.js

js kunskapsgymnasiet.se collected 2026-10-04 14:36:03 UTC 2,959 bytes, 70 lines download raw bytes

1AppRegistry.registerBundle({applicationId:'af.ksg.teaser|0.9',bundle: {}});
2AppRegistry.registerModule({applicationId:'af.ksg.teaser|0.9',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 (type === 'image') { 
7__p+='\n<div class="af-teaser af-teaser--image">\n    <a href="'+
8((__t=( href ))==null?'':__t)+
9'"\n       class="af-teaser__img"\n       style="background-image: url(\''+
10((__t=( img ))==null?'':__t)+
11'\')">\n        <div class="af-teaser__overlay">\n            <h3 class="af-teaser__heading">'+
12((__t=( heading ))==null?'':_.escape(__t))+
13'</h3>\n            <p class="af-teaser__text">'+
14((__t=( shorttext ))==null?'':_.escape(__t))+
15'</p>\n        </div>\n    </a>\n</div>\n';
16 } else if (type === 'quote') { 
17__p+='\n<article class="af-teaser af-teaser--quote">\n    <div class="af-teaser__body">\n        <img class="af-teaser__img" src="'+
18((__t=( img ))==null?'':__t)+
19'">\n        <blockquote class="af-teaser__quote">\n            <p class="af-teaser__quote__text">'+
20((__t=( quotetext ))==null?'':_.escape(__t))+
21'</p>\n            <footer class="af-teaser__quote__cite">'+
22((__t=( quoted ))==null?'':_.escape(__t))+
23'</footer>\n        </blockquote>\n    </div>\n</article>\n';
24 } else if (type === 'standard' || type === 'white') { 
25__p+='\n<article\n        class="af-teaser af-teaser--std '+
26((__t=( (type === 'standard') ? 'af-teaser--stdBlue' : 'af-teaser--stdWhite' ))==null?'':__t)+
27'">\n    <div class="af-teaser__body">\n        <h2 class="af-teaser__heading">\n            '+
28((__t=( heading ))==null?'':_.escape(__t))+
29'\n        </h2>\n        <p class="af-teaser__text">'+
30((__t=( longtext ))==null?'':_.escape(__t))+
31'</p>\n        ';
32 if (href && linktext) { 
33__p+='\n        <p class="af-moreLnk">\n            <a href="'+
34((__t=( href ))==null?'':__t)+
35'" class="af-teaser__more"'+
36((__t=( isexternal ? ' rel="external"' : ''))==null?'':__t)+
37'>'+
38((__t=( linktext ))==null?'':_.escape(__t))+
39'</a>\n        </p>\n        ';
40 } 
41__p+='\n    </div>\n    ';
42 if (type === 'standard') { 
43__p+='\n    <div class="af-teaser__img"\n         style="background-image: url(\''+
44((__t=( img ))==null?'':__t)+
45'\')"></div>\n    ';
46 } else { 
47__p+='\n    <div class="af-teaser__image">\n        <img src="'+
48((__t=( img ))==null?'':__t)+
49'" class="af-teaser__image__img" alt="">\n    </div>\n    ';
50 } 
51__p+='\n</article>\n\n';
52 } 
53__p+='\n';
54}
55return __p;
56};});}});
57AppRegistry.registerModule({applicationId:'af.ksg.teaser|0.9',path:'/main',module:function(define){'use strict';define(function (require) {
58
59    'use strict';
60
61    const _         = require('underscore'),
62          Component = require('Component'),
63          template  = require('/template/main');
64
65    return Component.extend({
66        template   : template
67    });
68
69});
70}});

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.