Skip to content

Instantly share code, notes, and snippets.

View dbowling's full-sized avatar
🌱
Always learning.

Dan Bowling dbowling

🌱
Always learning.
View GitHub Profile
dojo.addOnLoad(function(){
dijit.registry.byClass("dijit.form.DateTextBox").forEach(function(w){
if(w.class == 'hugDatePicker'){
w.validator = function(value, constraints){
var deferred = isValidDate(value);
return deferred.then(function(value){