summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.xml6
-rw-r--r--js/codeq/core.js2
2 files changed, 6 insertions, 2 deletions
diff --git a/config.xml b/config.xml
index e40a3a8..cb2f6a1 100644
--- a/config.xml
+++ b/config.xml
@@ -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;
};