From ce89f2b1577fcdf3ce015a9c1d1f2c5024ef0961 Mon Sep 17 00:00:00 2001 From: coderaiser Date: Sat, 15 Sep 2012 14:19:11 -0400 Subject: [PATCH] fixed bug with test mode --- server.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.js b/server.js index 063d1ead..d76cbbc9 100644 --- a/server.js +++ b/server.js @@ -164,7 +164,7 @@ CloudServer.init = (function(){ /* створюємо файл app cache */ var lAppCache = CloudServer.AppCache; - if(lAppCache){ + if(lAppCache && this.Config.server){ lAppCache.addFiles( [{'//themes.googleusercontent.com/static/fonts/droidsansmono/v4/ns-m2xQYezAtqh7ai59hJUYuTAAIFFn5GTWtryCmBQ4.woff' : './font/DroidSansMono.woff'}, {'//ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js' : './lib/client/jquery.js'},