From 3baba6fb4b6c17ff77eb4a13a812ccde9263dce2 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 1 Jun 2011 23:01:03 +0000 Subject: gave the build scripts a run so that new ids can be generated. Added new docs to the quickstart.pdf misc doc fixes --- .../protected/pages/Controls/ClientScriptLoader.page | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'demos/quickstart/protected/pages/Controls/ClientScriptLoader.page') 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 @@ -

TClientScriptLoader

+

TClientScriptLoader

@@ -44,7 +44,7 @@ When the files in the PackagePath 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.

-

Grouping Javascript Files

+

Grouping Javascript Files

Allowable scripts and script dependencies can be grouped by using a "packages.php" file with the following format. This "packages.php" is optional, if absent the file names @@ -81,7 +81,7 @@ on both 'package1' and 'package2' groupings. That is, 'pac will combine, in order, 'file1.js', 'file2.js', 'file3.js', and 'file4.js'.

-

Loading Javascript Packages

+

Loading Javascript Packages

To load a particular javascript file or package, set the PackageScripts property with value 'package1' to load the 'package1' scripts. @@ -96,10 +96,10 @@ Dependencies of the packages are automatically resolved by the script loader php </script> -

Each <com:TClientScriptLoader> generates an HTML <script> +

Each <com:TClientScriptLoader> generates an HTML <script> element to load the required javascript files.

-

Removing Javascript Comments

+

Removing Javascript Comments

The DebugMode property when false removes comments and white spaces from the published javascript files. If the DebugMode 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. -

Compressing Javascript with GZip

+

Compressing Javascript with GZip

The EnableGzip property (default is true) enables the published javascripts to be served as zipped if the browser and php server allows it. -- cgit v1.2.3