PageSourceSearch

https://www.eskilstuna.se/webapp-resource/4.46061409177d7ef9303192…/1770972999373/webapp-assets.js

js eskilstuna.se collected 2026-09-24 09:14:04 UTC 2,218 bytes, 59 lines download raw bytes

1AppRegistry.registerBundle({applicationId:'operational-information-list|0.0.3',bundle: {"en":{},"sv":{}}});
2AppRegistry.registerModule({applicationId:'operational-information-list|0.0.3',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+='<div id="'+
6((__t=( appContext.getWebAppNamespace('app') ))==null?'':__t)+
7'">\r\n	<!-- Up the quality of your app by server render placeholders to later seamlessly be replaced by the VUE instance! -->\r\n</div>\r\n\r\n\r\n\r\n\n<!--SCRIPT_TAG_TO_JS_FILE--><script src="'+
8((__t=( getResourceUrl('vue/app.766cb259.js') ))==null?'':__t)+
9'"></script>\n';
10}
11return __p;
12};});}});
13AppRegistry.registerModule({applicationId:'operational-information-list|0.0.3',path:'/main',module:function(define){'use strict';define(function(require) {
14	'use strict';
15
16	var _ = require('underscore');
17	var Component = require('Component');
18	var router = require('router');
19	var template = require('/template/main');
20
21	return Component.extend({
22		template: template,
23		// Initialize the VUE app!
24		onAttached: function() {
25			var appId = this._templateFunctions().appContext.getWebAppNamespace(
26				'app'
27			);
28			// A bugg in SiteVision crashes the browser tab if big Vue apps are rendered in edit mode. 
29			// This prevents the vue client to be rendered in edit mode.
30			window.operational_information_list(document.querySelector('#' + appId), this.state);
31			
32		},
33		filterState: function(state) {
34			return _.extend({}, state, {
35				searchUrl: router.getUrl('/search'),
36				filterUrl: router.getUrl('/filter'),
37			});
38		},
39		templateFunctions: function() {
40			var _this = this;
41
42			return {
43				renderPartial: function(partialName, data) {
44					var template = require('/template/partials/' + partialName);
45					if (template) {
46						if (data) {
47							return _this.renderTemplate(template, data);
48						} else {
49							return _this.renderTemplate(template, _this.state);
50						}
51					} else {
52						return 'No partial template found';
53					}
54				}
55			};
56		}
57	});
58});
59}});

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.