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