From faac427cc71c9ca91a6955cb068659de43be3bdd Mon Sep 17 00:00:00 2001 From: Dmitriy Simushev Date: Mon, 18 Feb 2013 15:46:57 +0000 Subject: [PATCH] Remove layout initialization options in Chat JS app --- .../webim/js/compiled/chat/layouts/chat.js | 2 +- .../webim/js/compiled/chat/modules/chat.js | 14 +++++++------- src/messenger/webim/js/compiled/chat_app.js | 16 ++++++++-------- .../webim/js/source/chat/layouts/chat.js | 16 ++++++++++++++++ .../webim/js/source/chat/modules/chat.js | 19 +++++++------------ src/messenger/webim/libs/chat.php | 5 +---- .../chat_layout.handlebars | 4 ++-- .../dialogs/default/js/compiled/templates.js | 2 +- 8 files changed, 43 insertions(+), 35 deletions(-) diff --git a/src/messenger/webim/js/compiled/chat/layouts/chat.js b/src/messenger/webim/js/compiled/chat/layouts/chat.js index e9c04ae8..7d5dfe48 100644 --- a/src/messenger/webim/js/compiled/chat/layouts/chat.js +++ b/src/messenger/webim/js/compiled/chat/layouts/chat.js @@ -5,4 +5,4 @@ Copyright (c) 2005-2011 Mibew Messenger Community License: http://mibew.org/license.php */ -(function(a,b){a.Layouts.Chat=b.Marionette.Layout.extend({template:Handlebars.templates.chat_layout,regions:{controlsRegion:"#controls-region",avatarRegion:"#avatar-region",messagesRegion:{selector:"#messages-region",regionType:a.Regions.Messages},statusRegion:"#status-region",messageFormRegion:"#message-form-region",soundRegion:"#sound-region"}})})(Mibew,Backbone); +(function(a,b){a.Layouts.Chat=b.Marionette.Layout.extend({template:Handlebars.templates.chat_layout,regions:{controlsRegion:"#controls-region",avatarRegion:"#avatar-region",messagesRegion:{selector:"#messages-region",regionType:a.Regions.Messages},statusRegion:"#status-region",messageFormRegion:"#message-form-region",soundRegion:"#sound-region"},serializeData:function(){return{user:a.Objects.Models.user.toJSON()}}})})(Mibew,Backbone); diff --git a/src/messenger/webim/js/compiled/chat/modules/chat.js b/src/messenger/webim/js/compiled/chat/modules/chat.js index df562e32..44077be7 100644 --- a/src/messenger/webim/js/compiled/chat/modules/chat.js +++ b/src/messenger/webim/js/compiled/chat/modules/chat.js @@ -5,10 +5,10 @@ Copyright (c) 2005-2011 Mibew Messenger Community License: http://mibew.org/license.php */ -(function(a){a.Objects.Models.Controls={};a.Objects.Models.Status={};var j=[],k=a.Application,l=k.module("Chat",{startWithParent:!1});l.addInitializer(function(b){var e=b.chatModule,g=a.Objects,d=a.Objects.Models,c=a.Objects.Models.Controls,h=a.Objects.Models.Status,f=new a.Layouts.Chat({model:new Backbone.Model(e.layoutData||{})});a.Objects.chatLayout=f;k.mainRegion.show(f);d.thread=new a.Models.Thread(e.thread);d.user=new a.Models.ChatUser(e.user);d.page=new a.Models.Page(b.page);b=new a.Collections.Controls; -d.user.get("isAgent")||(c.userName=new a.Models.UserNameControl({weight:220}),b.add(c.userName),c.sendMail=new a.Models.SendMailControl({weight:200,link:e.links.mail,windowParams:e.windowsParams.mail}),b.add(c.sendMail));d.user.get("isAgent")&&(c.redirect=new a.Models.RedirectControl({weight:200,link:e.links.redirect}),b.add(c.redirect),c.history=new a.Models.HistoryControl({weight:180,link:e.links.history,windowParams:e.windowsParams.history}),b.add(c.history));c.sound=new a.Models.SoundControl({weight:160}); -b.add(c.sound);c.refresh=new a.Models.RefreshControl({weight:140});b.add(c.refresh);e.links.ssl&&(c.secureMode=new a.Models.SecureModeControl({weight:120,link:e.links.ssl}),b.add(c.secureMode));c.close=new a.Models.CloseControl({weight:100});b.add(c.close);g.Collections.controls=b;f.controlsRegion.show(new a.Views.ControlsCollection({collection:b}));h.message=new a.Models.StatusMessage({hideTimeout:5E3});h.typing=new a.Models.StatusTyping({hideTimeout:5E3});g.Collections.status=new a.Collections.Status([h.message, -h.typing]);f.statusRegion.show(new a.Views.StatusCollection({collection:g.Collections.status}));d.user.get("isAgent")||(d.avatar=new a.Models.Avatar,f.avatarRegion.show(new a.Views.Avatar({model:d.avatar})));g.Collections.messages=new a.Collections.Messages;d.messageForm=new a.Models.MessageForm(e.messageForm);f.messageFormRegion.show(new a.Views.MessageForm({model:d.messageForm}));f.messagesRegion.show(new a.Views.MessagesCollection({collection:g.Collections.messages}));d.sound=new a.Models.Sound; -f.soundRegion.show(new a.Views.Sound({model:d.sound}));j.push(g.server.callFunctionsPeriodically(function(){var b=a.Objects.Models.thread,c=a.Objects.Models.user;return[{"function":"update",arguments:{"return":{typing:"typing",canPost:"canPost"},references:{},threadId:b.get("id"),token:b.get("token"),lastId:b.get("lastId"),typed:c.get("typing"),user:!c.get("isAgent")}}]},function(b){b.errorCode?a.Objects.Models.Status.message.setMessage(b.errorMessage||"refresh failed"):(b.typing&&a.Objects.Models.Status.typing.show(), -a.Objects.Models.user.set({canPost:b.canPost||!1}))}))});l.addFinalizer(function(){a.Objects.chatLayout.close();for(var b=0;b array(), 'links' => array(), - 'windowsParams' => array(), - 'layoutData' => array() + 'windowsParams' => array() ); // Set thread params @@ -367,7 +366,6 @@ function setup_chatview_for_user(Thread $thread, $level) { $data['level'] = $level; // Set user info - $data['chat']['layoutData']['user'] = true; $data['chat']['user'] = array( 'name' => htmlspecialchars(topage($thread->userName)), 'canChangeName' => (bool)(Settings::get('usercanchangename') == "1"), @@ -411,7 +409,6 @@ function setup_chatview_for_operator(Thread $thread, $operator) { $data = setup_chatview($thread); // Set operator info - $data['chat']['layoutData']['user'] = false; $data['chat']['user'] = array( 'name' => htmlspecialchars( topage( diff --git a/src/messenger/webim/styles/dialogs/default/handlebars_templates/chat_layout.handlebars b/src/messenger/webim/styles/dialogs/default/handlebars_templates/chat_layout.handlebars index 352e587e..5d61509c 100644 --- a/src/messenger/webim/styles/dialogs/default/handlebars_templates/chat_layout.handlebars +++ b/src/messenger/webim/styles/dialogs/default/handlebars_templates/chat_layout.handlebars @@ -9,9 +9,9 @@ {{! Chat region}}
- {{#if user}} + {{#unless user.isAgent}}
- {{/if}} + {{/unless}} {{! Chat messages region}}
{{! Chat status region}} diff --git a/src/messenger/webim/styles/dialogs/default/js/compiled/templates.js b/src/messenger/webim/styles/dialogs/default/js/compiled/templates.js index 76530cf5..1e22459b 100644 --- a/src/messenger/webim/styles/dialogs/default/js/compiled/templates.js +++ b/src/messenger/webim/styles/dialogs/default/js/compiled/templates.js @@ -4,4 +4,4 @@ Copyright (c) 2005-2011 Mibew Messenger Community License: http://mibew.org/license.php */ -(function(){var a=Handlebars.template,b=Handlebars.templates=Handlebars.templates||{};b.user_name_control=a(function(a,b,c,d,e){function l(a,b){var d="",e,f,g;d+='\n ',g={hash:{},data:b},d+=i((e=c.L10n,e?e.call(a,"chat.client.name",g):j.call(a,"L10n","chat.client.name",g)))+"\n ",f=c["if"].call(a,a.nameInput,{hash:{},inverse:k.program(4,n,b),fn:k.program(2,m,b),data:b});if(f||f===0)d+=f;return d+="\n",d}function m(a,b){var d="",e,f;return d+='\n
\n \n ',d}function n(a,b){var d="",e,f;return d+='\n '+i((e=(e=a.user,e==null||e===!1?e:e.name),typeof e===h?e.apply(a):e))+'\n \n ',d}function o(a,b){var d="",e,f;return d+="\n",f={hash:{},data:b},d+=i((e=c.L10n,e?e.call(a,"chat.client.name",f):j.call(a,"L10n","chat.client.name",f)))+" "+i((e=(e=a.user,e==null||e===!1?e:e.name),typeof e===h?e.apply(a):e))+"\n",d}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g,h="function",i=this.escapeExpression,j=c.helperMissing,k=this;return g=c["if"].call(b,(f=b.user,f==null||f===!1?f:f.canChangeName),{hash:{},inverse:k.program(6,o,e),fn:k.program(1,l,e),data:e}),g||g===0?g:""}),b.status_typing=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g,h=c.helperMissing,i=this.escapeExpression;return g={hash:{},data:e},i((f=c.L10n,f?f.call(b,"typing.remote",g):h.call(b,"L10n","typing.remote",g)))}),b.chat_layout=a(function(a,b,c,d,e){function l(a,b){return'\n
\n '}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i=this,j=c.helperMissing,k=this.escapeExpression;f+='\n
\n
\n \n
\n
\n
\n\n\n
\n
\n ',g=c["if"].call(b,b.user,{hash:{},inverse:i.noop,fn:i.program(1,l,e),data:e});if(g||g===0)f+=g;return f+='\n \n
\n \n
\n
\n
\n\n\n
\n\n\n\n\n'+'\n
',f}),b.avatar=a(function(a,b,c,d,e){function j(a,b){var d="",e;return d+='',d}function k(a,b){return'
'}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g="function",h=this.escapeExpression,i=this;return f=c["if"].call(b,b.imageLink,{hash:{},inverse:i.program(3,k,e),fn:i.program(1,j,e),data:e}),f||f===0?f:""}),b.close_control=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i=c.helperMissing,j=this.escapeExpression;return f+='
',f}),b.history_control=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i=c.helperMissing,j=this.escapeExpression;return f+='
',f}),b.status_message=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g="function",h=this.escapeExpression;return(f=c.message)?f=f.call(b,{hash:{},data:e}):(f=b.message,f=typeof f===g?f.apply(b):f),h(f)}),b.secure_mode_control=a(function(a,b,c,d,e){return this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{},'
'}),b.sound_control=a(function(a,b,c,d,e){function j(a,b){var d="",e,f;return d+='\n
\n',d}function k(a,b){var d="",e,f;return d+='\n
\n',d}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g=c.helperMissing,h=this.escapeExpression,i=this;return f=c["if"].call(b,b.enabled,{hash:{},inverse:i.program(3,k,e),fn:i.program(1,j,e),data:e}),f||f===0?f:""}),b.message=a(function(a,b,c,d,e){function n(a,b){var d="",e;return d+="",(e=c.name)?e=e.call(a,{hash:{},data:b}):(e=a.name,e=typeof e===j?e.apply(a):e),d+=k(e)+": ",d}function o(a,b){var d,e;return e={hash:{},data:b},k((d=c.apply,d?d.call(a,a.message,"urlReplace, nl2br, allowTags",e):l.call(a,"apply",a.message,"urlReplace, nl2br, allowTags",e)))}function p(a,b){var d,e;return e={hash:{},data:b},k((d=c.apply,d?d.call(a,a.message,"urlReplace, nl2br",e):l.call(a,"apply",a.message,"urlReplace, nl2br",e)))}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i,j="function",k=this.escapeExpression,l=c.helperMissing,m=this;f+="",i={hash:{},data:e},f+=k((g=c.formatTime,g?g.call(b,b.created,i):l.call(b,"formatTime",b.created,i)))+" \n",h=c["if"].call(b,b.name,{hash:{},inverse:m.noop,fn:m.program(1,n,e),data:e});if(h||h===0)f+=h;f+="\n",h=c["if"].call(b,b.allowFormatting,{hash:{},inverse:m.program(5,p,e),fn:m.program(3,o,e),data:e});if(h||h===0)f+=h;return f+="
",f}),b.message_form=a(function(a,b,c,d,e){function m(a,b){return'\n
\n \n
\n'}function n(a,b){var d="",e,f,g;d+='\n
\n
\n ',f=c["if"].call(a,(e=a.user,e==null||e===!1?e:e.isAgent),{hash:{},inverse:l.noop,fn:l.program(4,o,b),data:b});if(f||f===0)d+=f;return d+='\n
\n ',g={hash:{},data:b},d+=j((e=c.L10n,e?e.call(a,"chat.window.send_message_short_and_shortcut",g):k.call(a,"L10n","chat.window.send_message_short_and_shortcut",g)))+"\n
\n",d}function o(a,b){var d="",e,f,g;d+='\n \n ",d}function p(a,b){var c="",d;return c+="\n \n ",c}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i="function",j=this.escapeExpression,k=c.helperMissing,l=this;f+='
\n',h=c["if"].call(b,(g=b.user,g==null||g===!1?g:g.canPost),{hash:{},inverse:l.noop,fn:l.program(1,m,e),data:e});if(h||h===0)f+=h;f+='\n
\n\n
\n',h=c["if"].call(b,(g=b.user,g==null||g===!1?g:g.canPost),{hash:{},inverse:l.noop,fn:l.program(3,n,e),data:e});if(h||h===0)f+=h;return f+='\n
\n
',f}),b.send_mail_control=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i=c.helperMissing,j=this.escapeExpression;return f+='
',f}),b.refresh_control=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i=c.helperMissing,j=this.escapeExpression;return f+='
',f}),b.redirect_control=a(function(a,b,c,d,e){function k(a,b){var d="",e,f;return d+='\n
\n',d}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g,h=c.helperMissing,i=this.escapeExpression,j=this;return g=c["if"].call(b,(f=b.user,f==null||f===!1?f:f.canPost),{hash:{},inverse:j.noop,fn:j.program(1,k,e),data:e}),g||g===0?g:""}),b.status=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g="function",h=this.escapeExpression;return(f=c.title)?f=f.call(b,{hash:{},data:e}):(f=b.title,f=typeof f===g?f.apply(b):f),h(f)})})() \ No newline at end of file +(function(){var a=Handlebars.template,b=Handlebars.templates=Handlebars.templates||{};b.user_name_control=a(function(a,b,c,d,e){function l(a,b){var d="",e,f,g;d+='\n ',g={hash:{},data:b},d+=i((e=c.L10n,e?e.call(a,"chat.client.name",g):j.call(a,"L10n","chat.client.name",g)))+"\n ",f=c["if"].call(a,a.nameInput,{hash:{},inverse:k.program(4,n,b),fn:k.program(2,m,b),data:b});if(f||f===0)d+=f;return d+="\n",d}function m(a,b){var d="",e,f;return d+='\n
\n \n ',d}function n(a,b){var d="",e,f;return d+='\n '+i((e=(e=a.user,e==null||e===!1?e:e.name),typeof e===h?e.apply(a):e))+'\n \n ',d}function o(a,b){var d="",e,f;return d+="\n",f={hash:{},data:b},d+=i((e=c.L10n,e?e.call(a,"chat.client.name",f):j.call(a,"L10n","chat.client.name",f)))+" "+i((e=(e=a.user,e==null||e===!1?e:e.name),typeof e===h?e.apply(a):e))+"\n",d}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g,h="function",i=this.escapeExpression,j=c.helperMissing,k=this;return g=c["if"].call(b,(f=b.user,f==null||f===!1?f:f.canChangeName),{hash:{},inverse:k.program(6,o,e),fn:k.program(1,l,e),data:e}),g||g===0?g:""}),b.status_typing=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g,h=c.helperMissing,i=this.escapeExpression;return g={hash:{},data:e},i((f=c.L10n,f?f.call(b,"typing.remote",g):h.call(b,"L10n","typing.remote",g)))}),b.chat_layout=a(function(a,b,c,d,e){function m(a,b){return'\n
\n '}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i,j=this,k=c.helperMissing,l=this.escapeExpression;f+='\n
\n
\n \n
\n
\n
\n\n\n
\n
\n ',h=c.unless.call(b,(g=b.user,g==null||g===!1?g:g.isAgent),{hash:{},inverse:j.noop,fn:j.program(1,m,e),data:e});if(h||h===0)f+=h;return f+='\n \n
\n \n
\n
\n
\n\n\n
\n\n\n\n\n'+'\n
',f}),b.avatar=a(function(a,b,c,d,e){function j(a,b){var d="",e;return d+='',d}function k(a,b){return'
'}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g="function",h=this.escapeExpression,i=this;return f=c["if"].call(b,b.imageLink,{hash:{},inverse:i.program(3,k,e),fn:i.program(1,j,e),data:e}),f||f===0?f:""}),b.close_control=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i=c.helperMissing,j=this.escapeExpression;return f+='
',f}),b.history_control=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i=c.helperMissing,j=this.escapeExpression;return f+='
',f}),b.status_message=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g="function",h=this.escapeExpression;return(f=c.message)?f=f.call(b,{hash:{},data:e}):(f=b.message,f=typeof f===g?f.apply(b):f),h(f)}),b.secure_mode_control=a(function(a,b,c,d,e){return this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{},'
'}),b.sound_control=a(function(a,b,c,d,e){function j(a,b){var d="",e,f;return d+='\n
\n',d}function k(a,b){var d="",e,f;return d+='\n
\n',d}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g=c.helperMissing,h=this.escapeExpression,i=this;return f=c["if"].call(b,b.enabled,{hash:{},inverse:i.program(3,k,e),fn:i.program(1,j,e),data:e}),f||f===0?f:""}),b.message=a(function(a,b,c,d,e){function n(a,b){var d="",e;return d+="",(e=c.name)?e=e.call(a,{hash:{},data:b}):(e=a.name,e=typeof e===j?e.apply(a):e),d+=k(e)+": ",d}function o(a,b){var d,e;return e={hash:{},data:b},k((d=c.apply,d?d.call(a,a.message,"urlReplace, nl2br, allowTags",e):l.call(a,"apply",a.message,"urlReplace, nl2br, allowTags",e)))}function p(a,b){var d,e;return e={hash:{},data:b},k((d=c.apply,d?d.call(a,a.message,"urlReplace, nl2br",e):l.call(a,"apply",a.message,"urlReplace, nl2br",e)))}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i,j="function",k=this.escapeExpression,l=c.helperMissing,m=this;f+="",i={hash:{},data:e},f+=k((g=c.formatTime,g?g.call(b,b.created,i):l.call(b,"formatTime",b.created,i)))+" \n",h=c["if"].call(b,b.name,{hash:{},inverse:m.noop,fn:m.program(1,n,e),data:e});if(h||h===0)f+=h;f+="\n",h=c["if"].call(b,b.allowFormatting,{hash:{},inverse:m.program(5,p,e),fn:m.program(3,o,e),data:e});if(h||h===0)f+=h;return f+="
",f}),b.message_form=a(function(a,b,c,d,e){function m(a,b){return'\n
\n \n
\n'}function n(a,b){var d="",e,f,g;d+='\n
\n
\n ',f=c["if"].call(a,(e=a.user,e==null||e===!1?e:e.isAgent),{hash:{},inverse:l.noop,fn:l.program(4,o,b),data:b});if(f||f===0)d+=f;return d+='\n
\n ',g={hash:{},data:b},d+=j((e=c.L10n,e?e.call(a,"chat.window.send_message_short_and_shortcut",g):k.call(a,"L10n","chat.window.send_message_short_and_shortcut",g)))+"\n
\n",d}function o(a,b){var d="",e,f,g;d+='\n \n ",d}function p(a,b){var c="",d;return c+="\n \n ",c}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i="function",j=this.escapeExpression,k=c.helperMissing,l=this;f+='
\n',h=c["if"].call(b,(g=b.user,g==null||g===!1?g:g.canPost),{hash:{},inverse:l.noop,fn:l.program(1,m,e),data:e});if(h||h===0)f+=h;f+='\n
\n\n
\n',h=c["if"].call(b,(g=b.user,g==null||g===!1?g:g.canPost),{hash:{},inverse:l.noop,fn:l.program(3,n,e),data:e});if(h||h===0)f+=h;return f+='\n
\n
',f}),b.send_mail_control=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i=c.helperMissing,j=this.escapeExpression;return f+='
',f}),b.refresh_control=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f="",g,h,i=c.helperMissing,j=this.escapeExpression;return f+='
',f}),b.redirect_control=a(function(a,b,c,d,e){function k(a,b){var d="",e,f;return d+='\n
\n',d}this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g,h=c.helperMissing,i=this.escapeExpression,j=this;return g=c["if"].call(b,(f=b.user,f==null||f===!1?f:f.canPost),{hash:{},inverse:j.noop,fn:j.program(1,k,e),data:e}),g||g===0?g:""}),b.status=a(function(a,b,c,d,e){this.compilerInfo=[2,">= 1.0.0-rc.3"],c=c||a.helpers,e=e||{};var f,g="function",h=this.escapeExpression;return(f=c.title)?f=f.call(b,{hash:{},data:e}):(f=b.title,f=typeof f===g?f.apply(b):f),h(f)})})() \ No newline at end of file