Plato on Github
Report Home
dojo/testsDOH/_base/loader/coolio/calendar-amd.js
Maintainability
91.79
Lines of code
7
Difficulty
6.13
Estimated Errors
0.03
Function weight
By Complexity
By SLOC
define(["dojo", "dijit/Calendar"], function(dojo, calendar){ // a coolio/calendarAsync-created calendar will be created in the cdojo and cdijit instances // but, during dev, this is a detail we can ignore...the config makes in just work return function(id){ return new calendar({}, dojo.byId(id)); }; });