From 4974c1aa6589b1e6fe7e6d6bf11cf8810bc64292 Mon Sep 17 00:00:00 2001 From: Alon Levy Date: Tue, 16 Dec 2014 18:26:18 +0200 Subject: client fixes to run with new layout directives for src names: any js file should be relative any resource should be absolute i.e. all images are /res/img/bla and all js files are bla.js / view/node_view.js etc --- res/templates/index.html | 10 +++++----- src/client/app.js | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/res/templates/index.html b/res/templates/index.html index 7595a4cf..beec1459 100644 --- a/res/templates/index.html +++ b/res/templates/index.html @@ -2,11 +2,11 @@ Rhizi Prototype - - + + - - + + @@ -120,7 +120,7 @@ diff --git a/src/client/app.js b/src/client/app.js index 39acdde7..ae84c953 100644 --- a/src/client/app.js +++ b/src/client/app.js @@ -1,5 +1,5 @@ (function() { - var lib_path = '../lib/'; + var lib_path = '/res/lib/'; var config = { paths: { jquery: lib_path + 'jquery', -- cgit v1.3.1