view view/layout/dojo.tt @ 8:7d92a42f8e18

improved doxygen library
author sergey
date Wed, 14 May 2014 17:28:22 +0400
parents
children 573272ec604b
line wrap: on
line source

[%
	modules = document.dojo.modules.unique;
	style = document.dojo.style || 'tundra';
	dojo.js = cdn.dojo.SetView('js').dojo.dojo;
    dijit.css = cdn.dojo.dijit.themes.${style}.${style}.SetView('css');
    dojo.css = cdn.dojo.dojo.resources.dojo.SetView('css');
    
	document.css.push(dojo.css);
	document.css.push(dijit.css);
	document.scripts.push({ text = 'dojoConfig = ' _ toJSON(document.dojo.config) _ ';' });
	document.scripts.push({ src = dojo.js });
	IF modules.size;
		document.scripts.push({ text = "require(" _ toJSON(modules) _ ");"});
	END;
%]