Mercurial > pub > site.implab
comparison view/layout/dojo.tt @ 11:573272ec604b
almost comlete doxygen library
author | sergey |
---|---|
date | Thu, 15 May 2014 18:24:02 +0400 |
parents | 7d92a42f8e18 |
children |
comparison
equal
deleted
inserted
replaced
10:83ad674a8cdd | 11:573272ec604b |
---|---|
1 [% | 1 [% IF document.dojo.enable || document.dojo.modules.size; |
2 modules = document.dojo.modules.unique; | 2 IF document.dojo.config.parseOnLoad; |
3 document.dojo.modules.push('dojo/parser'); | |
4 END; | |
5 mods = document.dojo.modules.unique; | |
3 style = document.dojo.style || 'tundra'; | 6 style = document.dojo.style || 'tundra'; |
4 dojo.js = cdn.dojo.SetView('js').dojo.dojo; | 7 dojo.js = cdn.dojo.SetView('js').dojo.dojo; |
5 dijit.css = cdn.dojo.dijit.themes.${style}.${style}.SetView('css'); | 8 dijit.css = cdn.dojo.dijit.themes.${style}.${style}.SetView('css'); |
6 dojo.css = cdn.dojo.dojo.resources.dojo.SetView('css'); | 9 dojo.css = cdn.dojo.dojo.resources.dojo.SetView('css'); |
7 | 10 |
8 document.css.push(dojo.css); | 11 document.class.push('tundra'); |
9 document.css.push(dijit.css); | 12 |
13 document.css.unshift(dojo.css); | |
14 document.css.unshift(dijit.css); | |
10 document.scripts.push({ text = 'dojoConfig = ' _ toJSON(document.dojo.config) _ ';' }); | 15 document.scripts.push({ text = 'dojoConfig = ' _ toJSON(document.dojo.config) _ ';' }); |
11 document.scripts.push({ src = dojo.js }); | 16 document.scripts.push({ src = dojo.js }); |
12 IF modules.size; | 17 IF mods.size; |
13 document.scripts.push({ text = "require(" _ toJSON(modules) _ ");"}); | 18 document.scripts.push({ text = "require(" _ toJSON(mods) _ ");"}); |
14 END; | 19 END; |
15 %] | 20 END %] |