Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Tweaking union types (mainly removing spaces) so the doc parser under…

…stands them, refs #13101 !strict
  • Loading branch information...
commit 3c0927e7a9b170eaed86ea9f5fea69c0147d9c8d 1 parent 1561446
@wkeese wkeese authored
View
6 Tooltip.js
@@ -63,7 +63,7 @@ define([
// (To left if there's no space on the right, or if rtl == true)
// innerHTML: String
// Contents of the tooltip
- // aroundNode: DomNode || place.__Rectangle
+ // aroundNode: DomNode|dijit/place.__Rectangle
// Specifies that tooltip should be next to this node / area
// position: String[]?
// List of positions to try to position tooltip (ex: ["right", "above"])
@@ -362,7 +362,7 @@ define([
this._set("connectId", newId);
},
- addTarget: function(/*DOMNODE || String*/ node){
+ addTarget: function(/*OomNode|String*/ node){
// summary:
// Attach tooltip to specified node if it's not already connected
@@ -374,7 +374,7 @@ define([
}
},
- removeTarget: function(/*DomNode || String*/ node){
+ removeTarget: function(/*DomNode|String*/ node){
// summary:
// Detach tooltip from specified node
View
4 Tree.js
@@ -947,7 +947,7 @@ var Tree = declare("dijit.Tree", [_Widget, _TemplatedMixin], {
}));
},
- _setPathAttr: function(/*Item[] || String[]*/ path){
+ _setPathAttr: function(/*Item[]|String[]*/ path){
// summary:
// Singular variant of _setPathsAttr
if(path.length){
@@ -958,7 +958,7 @@ var Tree = declare("dijit.Tree", [_Widget, _TemplatedMixin], {
}
},
- _setPathsAttr: function(/*Item[][] || String[][]*/ paths){
+ _setPathsAttr: function(/*Item[][]|String[][]*/ paths){
// summary:
// Select the tree nodes identified by passed paths.
// paths:
View
2  _base/focus.js
@@ -251,7 +251,7 @@ define([
// Override focus singleton's focus function so that dijit.focus()
// has backwards compatible behavior of restoring selection (although
// probably no one is using that).
- focus.focus = function(/*Object || DomNode */ handle){
+ focus.focus = function(/*Object|DomNode */ handle){
// summary:
// Sets the focused node and the selection according to argument.
// To set focus to an iframe's content, pass in the iframe itself.
View
2  form/ComboBoxMixin.js
@@ -33,7 +33,7 @@ define([
baseClass: "dijitTextBox dijitComboBox",
/*=====
- // store: [const] dojo/store/api/Store || dojo/data/api/Read
+ // store: [const] dojo/store/api/Store|dojo/data/api/Read
// Reference to data provider object used by this ComboBox.
//
// Should be dojo/store/api/Store, but dojo/data/api/Read supported
View
2  layout/AccordionContainer.js
@@ -130,7 +130,7 @@ define([
// this widget.
/*=====
- // buttonWidget: Function || String
+ // buttonWidget: Function|String
// Class to use to instantiate title
// (Wish we didn't have a separate widget for just the title but maintaining it
// for backwards compatibility, is it worth it?)
View
2  layout/ContentPane.js
@@ -58,7 +58,7 @@ return declare("dijit.layout.ContentPane", [_Widget, _Container, _ContentPaneRes
// Changing href after creation doesn't have any effect; Use set('href', ...);
href: "",
- // content: String || DomNode || NodeList || dijit._Widget
+ // content: String|DomNode|NodeList|dijit/_Widget
// The innerHTML of the ContentPane.
// Note that the initialization parameter / argument to set("content", ...)
// can be a String, DomNode, Nodelist, or _Widget.
View
4 tree/ForestStoreModel.js
@@ -253,8 +253,8 @@ return declare("dijit.tree.ForestStoreModel", TreeStoreModel, {
onSetItem: function(/* item */ item,
/* attribute-name-string */ attribute,
- /* object | array */ oldValue,
- /* object | array */ newValue){
+ /* Object|Array */ oldValue,
+ /* Object|Array */ newValue){
// summary:
// Updates the tree view according to changes to an item in the data store.
// Developers should override this method to be more efficient based on their app/data.
View
4 tree/TreeStoreModel.js
@@ -359,8 +359,8 @@ define([
// See `onNewItem` for more details on handling updates to an item's children.
// item: Item
// attribute: attribute-name-string
- // oldValue: object | array
- // newValue: object | array
+ // oldValue: Object|Array
+ // newValue: Object|Array
// tags:
// extension
Please sign in to comment.
Something went wrong with that request. Please try again.