From 6309d1889bf03a6898be1a901e5f71f4d577f2a0 Mon Sep 17 00:00:00 2001 From: "Amir E. Aharoni" Date: Thu, 25 Apr 2013 14:48:37 +0300 Subject: [PATCH] Comments format --- src/jquery.uls.core.js | 26 +++++++++++++++----------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/src/jquery.uls.core.js b/src/jquery.uls.core.js index 5546155..7490682 100644 --- a/src/jquery.uls.core.js +++ b/src/jquery.uls.core.js @@ -114,23 +114,27 @@ ULS.prototype = { constructor: ULS, - // A "hook" that runs after the ULS constructor. - // 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. + /** + * A "hook" that runs after the ULS constructor. + * 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. + */ ready: function () { if ( this.options.onReady ) { this.options.onReady.call( this ); } }, - // 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. + /** + * 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. + */ visible: function () { if ( this.options.onVisible ) { this.options.onVisible.call( this );