Skip to content

Commit

Permalink
API doc tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Moore committed Nov 30, 2009
1 parent 4e1cef1 commit 07606c1
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
9 changes: 6 additions & 3 deletions sandbox/substitute/substitute.html
Expand Up @@ -19,9 +19,8 @@ <h1>substitute</h1>
Y.log(msg);
}

var Event=Y.Event, Dom=Y.DOM, l=Y.Lang;

Y.on('domready', function() {
var Event=Y.Event, Dom=Y.DOM, l=Y.Lang,
test = function() {

////////////////////////////////////////////////////////////////////////////////

Expand Down Expand Up @@ -144,6 +143,10 @@ <h1>substitute</h1>

////////////////////////////////////////////////////////////////////////////////

};

Y.on('domready', function() {
test();
});

});
Expand Down
6 changes: 3 additions & 3 deletions src/event-custom/js/event-target.js
Expand Up @@ -424,7 +424,7 @@ ET.prototype = {
* </li>
* </ul>
*
* @return {Event.Custom} the custom event
* @return {CustomEvent} the custom event
*
*/
publish: function(type, opts) {
Expand Down Expand Up @@ -511,7 +511,7 @@ ET.prototype = {
* configured to emit an event facade, the event facade will replace that
* parameter after the properties the object literal contains are copied to
* the event facade.
* @return {Event.Target} the event host
* @return {EventTarget} the event host
*
*/
fire: function(type) {
Expand Down Expand Up @@ -552,7 +552,7 @@ ET.prototype = {
* @method getEvent
* @param type {string} the type, or name of the event
* @param prefixed {string} if true, the type is prefixed already
* @return {Event.Custom} the custom event or null
* @return {CustomEvent} the custom event or null
*/
getEvent: function(type, prefixed) {
var pre, e;
Expand Down

0 comments on commit 07606c1

Please sign in to comment.