Skip to content

Commit

Permalink
Fix documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mramato committed Jan 28, 2014
1 parent 2399731 commit 81f1c0f
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Source/Widgets/BaseLayerPicker/ImageryProviderViewModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ define([
* @constructor
*
* @param {Object} description The object containing all parameters.
* @param {String|Observable} description.name The name of the layer.
* @param {String|Observable} description.tooltip The tooltip to show when the item is moused over.
* @param {String|Observable} description.iconUrl An icon representing the layer.
* @param {String} description.name The name of the layer.
* @param {String} description.tooltip The tooltip to show when the item is moused over.
* @param {String} description.iconUrl An icon representing the layer.
* @param {Function|Command} description.creationFunction A function or Command which creates the ImageryProvider or array of ImageryProviders to be added to the layers collection.
*
* @exception {DeveloperError} description.name is required.
Expand Down
4 changes: 2 additions & 2 deletions Source/Widgets/ToggleButtonViewModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ define([
*
* @param {Command} command The command which will be executed when the button is toggled.
* @param {Object} [options] Options defining the button's properties.
* @param {Boolean|Observable} [options.toggled=false] A boolean, or observable, indicating whether the button should be initially toggled.
* @param {String|Observable} [options.tooltip=''] A string, or observable, containing the button's tooltip.
* @param {Boolean} [options.toggled=false] A boolean indicating whether the button should be initially toggled.
* @param {String} [options.tooltip=''] A string containing the button's tooltip.
*/
var ToggleButtonViewModel = function(command, options) {
//>>includeStart('debug', pragmas.debug);
Expand Down
2 changes: 1 addition & 1 deletion Source/Widgets/createCommand.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ define([
* @exports createCommand
*
* @param {Function} func The function to execute.
* @param {Boolean|Observable} [canExecute=true] A boolean, or observable, indicating whether the function can currently be executed.
* @param {Boolean} [canExecute=true] A boolean indicating whether the function can currently be executed.
*
* @exception {DeveloperError} func is required.
*/
Expand Down

0 comments on commit 81f1c0f

Please sign in to comment.