Merge branch 4.5 into 4.6
[civicrm-core.git] / CRM / Utils / JS.php
index f631a2b09abed46b3377d53426f25c8926b378e9..d29e3c9c46f45ea848d5bc2128339596b5b733b3 100644 (file)
@@ -1,5 +1,4 @@
 <?php
-
 /*
 +--------------------------------------------------------------------+
 | CiviCRM version 4.6                                                |
@@ -24,7 +23,7 @@
 | GNU Affero General Public License or the licensing of CiviCRM,     |
 | see the CiviCRM license FAQ at http://civicrm.org/licensing        |
 +--------------------------------------------------------------------+
-*/
+ */
 
 /**
  * Parse Javascript content and extract translatable strings.
  */
 class CRM_Utils_JS {
   /**
-   * Parse a javascript file for translatable strings
+   * Parse a javascript file for translatable strings.
    *
-   * @param string $jsCode raw Javascript code
-   * @return array of translatable strings
+   * @param string $jsCode
+   *   Raw Javascript code.
+   * @return array
+   *   Array of translatable strings
    */
   public static function parseStrings($jsCode) {
     $strings = array();
@@ -63,4 +64,5 @@ class CRM_Utils_JS {
     }
     return array_values($strings);
   }
+
 }