Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / source / String.html
index 98cf8f6..691d191 100644 (file)
@@ -1,4 +1,21 @@
-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-String'>/**
+<!DOCTYPE html>
+<html>
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title>The source code</title>
+  <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
+  <script type="text/javascript" src="../prettify/prettify.js"></script>
+  <style type="text/css">
+    .highlight { display: block; background-color: #ddd; }
+  </style>
+  <script type="text/javascript">
+    function highlight() {
+      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+    }
+  </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+  <pre class="prettyprint lang-js"><span id='Ext-String'>/**
 </span> * @class Ext.String
  *
  * A collection of useful static methods to deal with strings
@@ -11,10 +28,11 @@ Ext.String = {
     formatRe: /\{(\d+)\}/g,
     escapeRegexRe: /([-.*+?^${}()|[\]\/\\])/g,
 
-<span id='Ext-String-property-htmlEncode'>    /**
+<span id='Ext-String-method-htmlEncode'>    /**
 </span>     * Convert certain characters (&amp;, &lt;, &gt;, and ') to their HTML character equivalents for literal display in web pages.
      * @param {String} value The string to encode
      * @return {String} The encoded text
+     * @method
      */
     htmlEncode: (function() {
         var entities = {
@@ -37,10 +55,11 @@ Ext.String = {
         };
     })(),
 
-<span id='Ext-String-property-htmlDecode'>    /**
+<span id='Ext-String-method-htmlDecode'>    /**
 </span>     * Convert certain characters (&amp;, &lt;, &gt;, and ') from their HTML character equivalents.
      * @param {String} value The string to decode
      * @return {String} The decoded text
+     * @method
      */
     htmlDecode: (function() {
         var entities = {
@@ -207,4 +226,6 @@ var s = Ext.String.format('&amp;lt;div class=&quot;{0}&quot;&gt;{1}&amp;lt;/div&
         });
     }
 };
-</pre></pre></body></html>
\ No newline at end of file
+</pre>
+</body>
+</html>