diff options
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/ClientScriptLoader.page')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/ClientScriptLoader.page | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/demos/quickstart/protected/pages/Controls/ClientScriptLoader.page b/demos/quickstart/protected/pages/Controls/ClientScriptLoader.page index 590aa2d8..f81deb0b 100644 --- a/demos/quickstart/protected/pages/Controls/ClientScriptLoader.page +++ b/demos/quickstart/protected/pages/Controls/ClientScriptLoader.page @@ -1,6 +1,6 @@ <com:TContent ID="body" > -<h1>TClientScriptLoader</h1> +<h1 id="62003">TClientScriptLoader</h1> <com:DocLink ClassPath="System.Web.UI.WebControls.TClientScriptLoader" /> @@ -44,7 +44,7 @@ When the files in the <tt>PackagePath</tt> are published as assets, a script loa to that asset directory. The script loader, combines multiple javascript files and serve up as gzip if possible. </p> -<h2>Grouping Javascript Files</h2> +<h2 id="62004">Grouping Javascript Files</h2> <p class="block-content"> Allowable scripts and script dependencies can be grouped by using a "<tt>packages.php</tt>" file with the following format. This "<tt>packages.php</tt>" is optional, if absent the file names @@ -81,7 +81,7 @@ on both '<tt>package1</tt>' and '<tt>package2</tt>' groupings. That is, '<tt>pac will combine, in order, '<tt>file1.js</tt>', '<tt>file2.js</tt>', '<tt>file3.js</tt>', and '<tt>file4.js</tt>'. </p> -<h2>Loading Javascript Packages</h2> +<h2 id="62005">Loading Javascript Packages</h2> <p class="block-content">To load a particular javascript file or package, set the <tt>PackageScripts</tt> property with value '<tt>package1</tt>' to load the '<tt>package1</tt>' scripts. @@ -96,10 +96,10 @@ Dependencies of the packages are automatically resolved by the script loader php </script> </com:TTextHighlighter> -<p>Each <tt><com:TClientScriptLoader></tt> generates an HTML <tt><script></tt> +<p id="310008" class="block-content">Each <tt><com:TClientScriptLoader></tt> generates an HTML <tt><script></tt> element to load the required javascript files.</p> -<h2>Removing Javascript Comments</h2> +<h2 id="62006">Removing Javascript Comments</h2> <p class="block-content">The <tt>DebugMode</tt> property when false removes comments and white spaces from the published javascript files. If the <tt>DebugMode</tt> property is not set, the debug mode is determined from the @@ -113,7 +113,7 @@ directory for the next requests. That is, in non-debug mode the scripts are cach in the assets directory until they are deleted. </div> -<h2>Compressing Javascript with GZip</h2> +<h2 id="62007">Compressing Javascript with GZip</h2> <p class="block-content"> The <tt>EnableGzip</tt> property (default is true) enables the published javascripts to be served as zipped if the browser and php server allows it. |