1AppRegistry.registerBundle({applicationId:'mobile-header|0.0.6',bundle: {"en":{},"sv":{}}}); 2AppRegistry.registerModule({applicationId:'mobile-header|0.0.6',path:'/template/partials/message',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+='<h1>PLACEHOLDER TEXT!</h1>'; 6} 7return __p; 8};});}}); 9AppRegistry.registerModule({applicationId:'mobile-header|0.0.6',path:'/template/main',module:function(define){define(function(require){var _=require('underscore');return function(obj){ 10var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');}; 11with(obj||{}){ 12__p+='<div id="'+ 13((__t=( appContext.getWebAppNamespace('app') ))==null?'':__t)+ 14'">\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\r\n\r\n\r\n\r\n\r\n\n<!--SCRIPT_TAG_TO_JS_FILE--><script src="'+ 15((__t=( getResourceUrl('vue/app.1b91e712.js') ))==null?'':__t)+ 16'"></script>\n'; 17} 18return __p; 19};});}}); 20AppRegistry.registerModule({applicationId:'mobile-header|0.0.6',path:'/main',module:function(define){'use strict';define(function(require) { 21 'use strict'; 22 23 var _ = require('underscore'); 24 var Component = require('Component'); 25 var template = require('/template/main'); 26 27 return Component.extend({ 28 template: template, 29 // Initialize the VUE app! 30 onAttached: function() { 31 var appId = this._templateFunctions().appContext.getWebAppNamespace( 32 'app' 33 ); 34 // A bugg in SiteVision crashes the browser tab if big Vue apps are rendered in edit mode. 35 // This prevents the vue client to be rendered in edit mode. 36 if(!this.state.isEditMode) { 37 window.svhiq6bbb0174b6de4ac989439519e674c00a(document.querySelector('#' + appId), this.state); 38 } 39 }, 40 filterState: function(state) { 41 return _.extend({}, state); 42 }, 43 templateFunctions: function() { 44 var _this = this; 45 46 return { 47 renderPartial: function(partialName, data) { 48 var template = require('/template/partials/' + partialName); 49 if (template) { 50 if (data) { 51 return _this.renderTemplate(template, data); 52 } else { 53 return _this.renderTemplate(template, _this.state); 54 } 55 } else { 56 return 'No partial template found'; 57 } 58 } 59 }; 60 } 61 }); 62}); 63}});
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.