Skip to content

Commit

Permalink
[docs] Fix some typos
Browse files Browse the repository at this point in the history
  • Loading branch information
juandopazo committed Jan 3, 2014
1 parent 46900a4 commit 940c37d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/datatable/js/core.js
Expand Up @@ -999,7 +999,7 @@ It defaults to the value of the [key](#property_key) property or the text
{ key: 'MfgvaPrtNum', label: 'Part Number' }
@property label
@@type {String}
@type {String}
*/
/**
Used to create stacked headers.
Expand Down
4 changes: 2 additions & 2 deletions src/node/js/node-core.js
Expand Up @@ -156,7 +156,7 @@ Y_Node.getDOMNode = function(node) {
* @method scrubVal
* @static
*
* @param {any} node The Node instance or an HTMLElement
* @param {HTMLElement|HTMLElement[]|Node} node The Node instance or an HTMLElement
* @return {Node | NodeList | Any} Depends on what is returned from the DOM node.
*/
Y_Node.scrubVal = function(val, node) {
Expand Down Expand Up @@ -764,7 +764,7 @@ Y.mix(Y_Node.prototype, {
* Invokes a method on the Node instance
* @method invoke
* @param {String} method The name of the method to invoke
* @param {any[]} [args*] Arguments to invoke the method with.
* @param {any} [args*] Arguments to invoke the method with.
* @return {any} Whatever the underly method returns.
* DOM Nodes and Collections return values
* are converted to Node/NodeList instances.
Expand Down
2 changes: 1 addition & 1 deletion src/widget/js/Widget.js
Expand Up @@ -371,7 +371,7 @@ Y.extend(Widget, Y.Base, {
* </code>
*
* @method getClassName
* @param {String[]} [classnames*] One or more classname bits to be joined and prefixed
* @param {String} [classnames*] One or more classname bits to be joined and prefixed
*/
getClassName: function () {
return _getClassName.apply(ClassNameManager, [this._cssPrefix].concat(Y.Array(arguments), true));
Expand Down

0 comments on commit 940c37d

Please sign in to comment.