Comments format

This commit is contained in:
Amir E. Aharoni
2013-04-25 14:48:37 +03:00
parent a568b3244e
commit 6309d1889b

View File

@@ -114,23 +114,27 @@
ULS.prototype = { ULS.prototype = {
constructor: ULS, constructor: ULS,
// A "hook" that runs after the ULS constructor. /**
// At this point it is not guaranteed that the ULS has its dimensions * A "hook" that runs after the ULS constructor.
// and that the languages lists are initialized. * At this point it is not guaranteed that the ULS has its dimensions
// * and that the languages lists are initialized.
// To use it, pass a function as the onReady parameter *
// in the options when initializing ULS. * To use it, pass a function as the onReady parameter
* in the options when initializing ULS.
*/
ready: function () { ready: function () {
if ( this.options.onReady ) { if ( this.options.onReady ) {
this.options.onReady.call( this ); this.options.onReady.call( this );
} }
}, },
// A "hook" that runs after the ULS panel becomes visible /**
// by using the show method. * A "hook" that runs after the ULS panel becomes visible
// * by using the show method.
// To use it, pass a function as the onVisible parameter *
// in the options when initializing ULS. * To use it, pass a function as the onVisible parameter
* in the options when initializing ULS.
*/
visible: function () { visible: function () {
if ( this.options.onVisible ) { if ( this.options.onVisible ) {
this.options.onVisible.call( this ); this.options.onVisible.call( this );