From 763b142db70ce77952cb46cfccf84d9800f15651 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 11 Mar 2013 19:49:20 +0100 Subject: websocket login via session, websocket pushes server status, webui renders server status --- module/web/static/js/utils/initHB.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/web/static/js/utils/initHB.js') diff --git a/module/web/static/js/utils/initHB.js b/module/web/static/js/utils/initHB.js index f3a0955b3..c977f063d 100644 --- a/module/web/static/js/utils/initHB.js +++ b/module/web/static/js/utils/initHB.js @@ -1,6 +1,6 @@ // Loads all helper and set own handlebars rules define(['underscore', 'handlebars', - 'helpers/formatSize', 'helpers/fileHelper'], + 'helpers/formatSize', 'helpers/fileHelper', 'helpers/formatTime'], function(_, Handlebars) { // Replace with own lexer rules compiled from handlebars.l Handlebars.Parser.lexer.rules = [/^(?:[^\x00]*?(?=(<%)))/, /^(?:[^\x00]+)/, /^(?:[^\x00]{2,}?(?=(\{\{|$)))/, /^(?:\{\{>)/, /^(?:<%=)/, /^(?:<%\/)/, /^(?:\{\{\^)/, /^(?:<%\s*else\b)/, /^(?:\{<%%)/, /^(?:\{\{&)/, /^(?:<%![\s\S]*?%>)/, /^(?:<%)/, /^(?:=)/, /^(?:\.(?=[%} ]))/, /^(?:\.\.)/, /^(?:[\/.])/, /^(?:\s+)/, /^(?:%%>)/, /^(?:%>)/, /^(?:"(\\["]|[^"])*")/, /^(?:'(\\[']|[^'])*')/, /^(?:@[a-zA-Z]+)/, /^(?:true(?=[%}\s]))/, /^(?:false(?=[%}\s]))/, /^(?:[0-9]+(?=[%}\s]))/, /^(?:[a-zA-Z0-9_$-]+(?=[=%}\s\/.]))/, /^(?:\[[^\]]*\])/, /^(?:.)/, /^(?:$)/]; -- cgit v1.2.3