diff options
author | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-02-15 19:35:58 +0100 |
---|---|---|
committer | Timotej Lazar <timotej.lazar@fri.uni-lj.si> | 2016-02-15 19:35:58 +0100 |
commit | 07d17ee13777c1ea5ce00b26437ff4e778e19b22 (patch) | |
tree | cb71a39fc6dcad48fc308601f7ccbae579403ca8 /js/codeq/init.js | |
parent | ae2f16b29559d46abc398e1f6a0b290e75af862d (diff) |
Move template handling code into a separate file
Diffstat (limited to 'js/codeq/init.js')
-rw-r--r-- | js/codeq/init.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/js/codeq/init.js b/js/codeq/init.js index f96fb95..6030f7c 100644 --- a/js/codeq/init.js +++ b/js/codeq/init.js @@ -82,7 +82,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */ loadGuiTranslations() .then(codeq.comms.getResourceTree) .then(function (resourceTree) { - codeq.setResources(resourceTree); // save the loaded resource tree + codeq.template.setResources(resourceTree); // save the loaded resource tree codeq.fire('init'); // tell any interested modules that we are now initialized, perhaps they want to initialize too codeq.setLang(lang || 'en'); // initial language setting, this also translates the GUI |