summaryrefslogtreecommitdiff
path: root/js/codeq/comms.js
diff options
context:
space:
mode:
authorAleš Smodiš <aless@guru.si>2015-10-01 17:25:40 +0200
committerAleš Smodiš <aless@guru.si>2015-10-01 17:25:40 +0200
commit439406a5100b24b90bbec0c70c6338101abe735d (patch)
tree85fa9010599f0216d0d777776b70c833b569504d /js/codeq/comms.js
parent026a0d5fb64d8c0ee5eb45e545b1ac294ac0e85c (diff)
Use codeq.templator() for hints. Support for images.
Diffstat (limited to 'js/codeq/comms.js')
-rw-r--r--js/codeq/comms.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/js/codeq/comms.js b/js/codeq/comms.js
index f416e88..d7d0935 100644
--- a/js/codeq/comms.js
+++ b/js/codeq/comms.js
@@ -419,6 +419,10 @@
'getGuiTranslation': function (lang) {
return ajaxGet(ajaxResPrefix + lang + '.json');
+ },
+
+ 'getResourceTree': function () {
+ return ajaxGet(ajaxDataPrefix + 'resources.json');
}
};
})();