annotate view/layout/dojo.tt @ 10:83ad674a8cdd

updated styles
author sergey
date Thu, 15 May 2014 01:51:42 +0400
parents 7d92a42f8e18
children 573272ec604b
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
8
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
1 [%
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
2 modules = document.dojo.modules.unique;
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
3 style = document.dojo.style || 'tundra';
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
4 dojo.js = cdn.dojo.SetView('js').dojo.dojo;
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
5 dijit.css = cdn.dojo.dijit.themes.${style}.${style}.SetView('css');
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
6 dojo.css = cdn.dojo.dojo.resources.dojo.SetView('css');
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
7
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
8 document.css.push(dojo.css);
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
9 document.css.push(dijit.css);
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
10 document.scripts.push({ text = 'dojoConfig = ' _ toJSON(document.dojo.config) _ ';' });
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
11 document.scripts.push({ src = dojo.js });
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
12 IF modules.size;
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
13 document.scripts.push({ text = "require(" _ toJSON(modules) _ ");"});
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
14 END;
7d92a42f8e18 improved doxygen library
sergey
parents:
diff changeset
15 %]