Show
Ignore:
Timestamp:
02/28/08 15:49:03 (11 months ago)
Author:
peller
Message:

Use declare to create custom calendar instead of templatePath in markup. Fixes #1287, Refs #6030

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dijit/trunk/tests/test_Calendar.html

    r12703 r12774  
    5050                        #calendar5 .dijitCalendarMonth { font-family: serif; letter-spacing: 0.2em; font-size: 2em } 
    5151                </style> 
     52                <script> 
     53                        dojo.declare("BigCalendar", dijit._Calendar, { 
     54                                templatePath: "../../dijit/tests/_altCalendar.html", 
     55                                templateString: "" 
     56                        }); 
     57                </script> 
     58                <input id="calendar5" dojoType="BigCalendar" dayWidth="abbr" value="2008-03-15"> 
     59<!--  
    5260                <input id="calendar5" dojoType="dijit._Calendar" dayWidth="abbr" templatePath="../dijit/tests/_altCalendar.html" value="2008-03-15"> 
     61 --> 
    5362        </body> 
    5463</html>