summaryrefslogtreecommitdiffstats
path: root/module/web/static/js/utils/initHB.js
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-06-08 17:37:43 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-06-08 17:37:44 +0200
commit2cf160d497e501bf254bd8be054c0f5880ab90ca (patch)
tree03a720b6142cc03fe7ef258fa8d17da92b30a462 /module/web/static/js/utils/initHB.js
parentMerge pull request #151 from vuolter/invertedconf (diff)
downloadpyload-2cf160d497e501bf254bd8be054c0f5880ab90ca.tar.xz
restructured webui to single-page-app, removed jinja
Diffstat (limited to 'module/web/static/js/utils/initHB.js')
-rw-r--r--module/web/static/js/utils/initHB.js10
1 files changed, 0 insertions, 10 deletions
diff --git a/module/web/static/js/utils/initHB.js b/module/web/static/js/utils/initHB.js
deleted file mode 100644
index c977f063d..000000000
--- a/module/web/static/js/utils/initHB.js
+++ /dev/null
@@ -1,10 +0,0 @@
-// Loads all helper and set own handlebars rules
-define(['underscore', 'handlebars',
- '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\/.]))/, /^(?:\[[^\]]*\])/, /^(?:.)/, /^(?:$)/];
- _.compile = Handlebars.compile;
-
- return Handlebars;
- }); \ No newline at end of file