diff options
author | Marko Pušnik <marko.pusnik@guru.si> | 2015-12-11 18:43:09 +0100 |
---|---|---|
committer | Marko Pušnik <marko.pusnik@guru.si> | 2015-12-11 18:43:09 +0100 |
commit | 3fbcf26d59e6cd7e8c10cb4f3ae912810c6d8d1a (patch) | |
tree | e3a8ab8e6257890efd82a1e5301de79ab4ef1539 | |
parent | 8b223c8ad6e096105703776a59937da62d8cb3d5 (diff) |
Fix URL for mobile apps to properly show pictures/resources within hint/plan; raising the pg version to 1.0;
-rw-r--r-- | config.xml | 6 | ||||
-rw-r--r-- | js/codeq/core.js | 2 |
2 files changed, 6 insertions, 2 deletions
@@ -4,7 +4,7 @@ <widget xmlns = "http://www.w3.org/ns/widgets" xmlns:gap = "http://phonegap.com/ns/1.0" id = "si.uni-lj.fri.gameteam.codeq" - version = "0.2.0"> + version = "1.0.0"> <!-- 1.0 first release @@ -20,6 +20,10 @@ Artificial Intelligence Laboratory, Faculty of Computer and Information Science, University of Ljubljana. </author> + <platform name="ios" /> + <platform name="android" /> + <platform name="winphone" /> + <!-- If you do not want any permissions to be added to your app, add the following tag to your config.xml; you will still have the INTERNET diff --git a/js/codeq/core.js b/js/codeq/core.js index 28767f7..cb6f54c 100644 --- a/js/codeq/core.js +++ b/js/codeq/core.js @@ -307,7 +307,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ traversedPath.push(fragment); if (branch[resourceName]) candidate = traversedPath.join('/') + '/' + resourceName; } - if (candidate) return candidate; + if (candidate) return codeq.ajaxPrefix + candidate; codeq.log.error('Resource ' + resourceName + ' was not found; path: "' + resourceBranches.join('/') + '"'); return null; }; |