Skip to content

Instantly share code, notes, and snippets.

@phiggins42
Created June 24, 2011 12:28
Show Gist options
  • Save phiggins42/1044676 to your computer and use it in GitHub Desktop.
Save phiggins42/1044676 to your computer and use it in GitHub Desktop.
define("my/module", ["dojo", "dijit", "dojo/text!my/template.html", "dijit/_Widget"], function(dojo, dijit, template){
return dojo.declare("my.module", [dijit._Widget], {
randomTemplate: template
})
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment