Skip to content

Instantly share code, notes, and snippets.

Avatar

Tim Hollingshead thollingshead

  • Esri
  • St. Louis, MO
View GitHub Profile
@thollingshead
thollingshead / Dojo_Widget.sublime-snippet
Last active Feb 4, 2016
Sublime snippet for Dojo widget boilerplate.
View Dojo_Widget.sublime-snippet
<snippet>
<content><![CDATA[
define([
'dijit/_WidgetBase',
'dojo/_base/declare'
], function(
_WidgetBase,
declare
) {
@thollingshead
thollingshead / Dojo_Module.sublime-snippet
Created Feb 4, 2016
Sublime snippet for Dojo module boilerplate.
View Dojo_Module.sublime-snippet
<snippet>
<content><![CDATA[
define([
${1:'dojo/_base/declare'}
], function(
${2:declare}
) {
return declare([$3], {
$4
});
@thollingshead
thollingshead / Dojo_Templated_Widget.sublime-snippet
Created Feb 4, 2016
Sublime snippet for Dojo templated widget boilerplate
View Dojo_Templated_Widget.sublime-snippet
<snippet>
<content><![CDATA[
define([
'dijit/_TemplatedMixin',
'dijit/_WidgetBase',
'dojo/_base/declare',
${2:
'dojo/i18n!./$1/nls/resources',}
'dojo/text!./$1/templates/$1.html'${5:,
@thollingshead
thollingshead / Commented_Dojo_Widget.sublime-snippet
Created Feb 4, 2016
Sublime snippet for Dojo widget boilerplate, with commented out lifecycle methods.
View Commented_Dojo_Widget.sublime-snippet
<snippet>
<content><![CDATA[
define([
'dijit/_WidgetBase',
'dojo/_base/declare'
], function(
_WidgetBase,
declare
) {
You can’t perform that action at this time.