Skip to content

Instantly share code, notes, and snippets.

@davestewart
Created June 22, 2011 22:52
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davestewart/1041464 to your computer and use it in GitHub Desktop.
Save davestewart/1041464 to your computer and use it in GitHub Desktop.
Multiple JSDoc parameters example
/**
* Set the Frame of the Context object
* @param value {Context} A Context object with a valid frame property
* @param value {Boolean} Pass true to grab the current frame
* @param value {String} The name of the frame
* @param value {Number} The 0-based index of the frame
* @param value {Frame} A Frame
* @param [allLayers] {Boolean} Optionally search all layers, when specifying a named frame
* @returns
*/
setFrame:function(value, allLayers)
{
// method body
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment