diff options
author | Richard Beales <[email protected]> | 2013-03-18 07:32:01 +0000 |
---|---|---|
committer | Richard Beales <[email protected]> | 2013-03-18 07:32:01 +0000 |
commit | 7c97d17aaf373339a8bcd917ad59ca6018148f0d (patch) | |
tree | 5a3c04f0f9529be392c1263d3feb75806eb43797 /lib/dijit/ToolbarSeparator.js.uncompressed.js | |
parent | 70db7424e7068701e60cc5bcdfe8f858be508179 (diff) | |
parent | c670a80ddd9b03bd4ea6d940a9ed682fd26248d7 (diff) |
Merge remote-tracking branch 'upstream/master'
Diffstat (limited to 'lib/dijit/ToolbarSeparator.js.uncompressed.js')
-rw-r--r-- | lib/dijit/ToolbarSeparator.js.uncompressed.js | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/lib/dijit/ToolbarSeparator.js.uncompressed.js b/lib/dijit/ToolbarSeparator.js.uncompressed.js new file mode 100644 index 000000000..e1b97d851 --- /dev/null +++ b/lib/dijit/ToolbarSeparator.js.uncompressed.js @@ -0,0 +1,31 @@ +define("dijit/ToolbarSeparator", [ + "dojo/_base/declare", // declare + "dojo/dom", // dom.setSelectable + "./_Widget", + "./_TemplatedMixin" +], function(declare, dom, _Widget, _TemplatedMixin){ + + // module: + // dijit/ToolbarSeparator + + + return declare("dijit.ToolbarSeparator", [_Widget, _TemplatedMixin], { + // summary: + // A spacer between two `dijit.Toolbar` items + + templateString: '<div class="dijitToolbarSeparator dijitInline" role="presentation"></div>', + + buildRendering: function(){ + this.inherited(arguments); + dom.setSelectable(this.domNode, false); + }, + + isFocusable: function(){ + // summary: + // This widget isn't focusable, so pass along that fact. + // tags: + // protected + return false; + } + }); +}); |