Browse Source

formatting

Herbert Vojčík 14 years ago
parent
commit
6cf3254a5a
1 changed files with 19 additions and 19 deletions
  1. 19 19
      lib-app/facebook-ext.js

+ 19 - 19
lib-app/facebook-ext.js

@@ -48,12 +48,12 @@ import("lib-support/useful");
 /** Place for convenience extension functions for UI */
 fb.ui = {
   /**
-   * Creates tabs according to items parameter.
-   * If actual url matches one of them, it is selected.
-   * Next example renders tabs for .../callback/profile, .../callback/invite and .../callback/play.
-   @example
-   print(fb.ui.tabs("profile_Profile", "invite_Invite friends", "play_Play!"));
-   */
+       * Creates tabs according to items parameter.
+       * If actual url matches one of them, it is selected.
+       * Next example renders tabs for .../callback/profile, .../callback/invite and .../callback/play.
+       @example
+       print(fb.ui.tabs("profile_Profile", "invite_Invite friends", "play_Play!"));
+       */
   tabs: function (items) {
       var menu = FB_TABS();
       var lastSegment = request.path.split("/").pop();
@@ -68,19 +68,19 @@ fb.ui = {
       return menu;
   },
   /**
-   * Creates FB_INTL from supplied element.
-   * Element should have desc (description),
-   * body (text that may contain {tokens}),
-   * tokens (comma-separated list of token names
-   * to be inserted as FB_INTL_TOKEN, optional)
-   * and multiline (if defined, contains delimiter token name
-   * that is inserted as <br />, optional).
-   * fbIntl.tokens contains functions that populate token bodies,
-   * you should populate it if you want to have FB_INTL_TOKENs inserted.
-   * Token populator functions in localTokenFuns arg are also used, if supplied.
-   * If replacer function does not exist, the token is not inserted
-   * and no warning or error is raised.
-   */
+       * Creates FB_INTL from supplied element.
+       * Element should have desc (description),
+       * body (text that may contain {tokens}),
+       * tokens (comma-separated list of token names
+       * to be inserted as FB_INTL_TOKEN, optional)
+       * and multiline (if defined, contains delimiter token name
+       * that is inserted as <br />, optional).
+       * fbIntl.tokens contains functions that populate token bodies,
+       * you should populate it if you want to have FB_INTL_TOKENs inserted.
+       * Token populator functions in localTokenFuns arg are also used, if supplied.
+       * If replacer function does not exist, the token is not inserted
+       * and no warning or error is raised.
+       */
   fbIntl: function fbIntl (element, localTokenFuns) {
     var result = FB_INTL({desc: element.desc});