Browse Source

Fix spacing on Asset class documentation.

Taylor Otwell 13 years ago
parent
commit
26dcc276fe
1 changed files with 15 additions and 15 deletions
  1. 15 15
      system/asset.php

+ 15 - 15
system/asset.php

@@ -21,14 +21,14 @@ class Asset {
 	 * expressive code and a clean API.
 	 *
 	 * <code>
-	 *		// Get the default asset container
-	 *		$container = Asset::container();
+	 * // Get the default asset container
+	 * $container = Asset::container();
 	 *
-	 *		// Get the "footer" asset contanier
-	 *		$container = Asset::container('footer');
+	 * // Get the "footer" asset contanier
+	 * $container = Asset::container('footer');
 	 *
-	 *		// Add an asset to the "footer" container
-	 *		Asset::container('footer')->add('jquery', 'js/jquery.js');
+	 * // Add an asset to the "footer" container
+	 * Asset::container('footer')->add('jquery', 'js/jquery.js');
 	 * </code>
 	 *
 	 * @param  string            $container
@@ -49,8 +49,8 @@ class Asset {
 	 * This allows a convenient API for working with the default container.
 	 *
 	 * <code>
-	 *		// Add jQuery to the default container
-	 *		Asset::script('jquery', 'js/jquery.js');
+	 * // Add jQuery to the default container
+	 * Asset::script('jquery', 'js/jquery.js');
 	 * </code>
 	 *
 	 */
@@ -96,8 +96,8 @@ class Asset_Container {
 	 * extension, you may use the style or script methods to register assets.
 	 *
 	 * <code>
-	 *		// Register a jQuery asset
-	 *		Asset::add('jquery', 'js/jquery.js');
+	 * // Register a jQuery asset
+	 * Asset::add('jquery', 'js/jquery.js');
 	 * </code>
 	 *
 	 * You may also specify asset dependencies. This will instruct the class to
@@ -105,11 +105,11 @@ class Asset_Container {
 	 * For example, you may wish to make jQuery UI dependent on jQuery.
 	 *
 	 * <code>
-	 *		// Register jQuery UI as dependent on jQuery
-	 *		Asset::add('jquery-ui', 'js/jquery-ui.js', 'jquery');
+	 * // Register jQuery UI as dependent on jQuery
+	 * Asset::add('jquery-ui', 'js/jquery-ui.js', 'jquery');
 	 *
-	 *		// Register jQuery UI with multiple dependencies
-	 *		Asset::add('jquery-ui', 'js/jquery-ui.js', array('jquery', 'fader'));
+	 * // Register jQuery UI with multiple dependencies
+	 * Asset::add('jquery-ui', 'js/jquery-ui.js', array('jquery', 'fader'));
 	 * </code>
 	 *
 	 * @param  string  $name
@@ -236,7 +236,7 @@ class Asset_Container {
 	 * Get the link to a single registered JavaScript asset.
 	 *
 	 * <code>
-	 *		echo $container->get_script('jquery');
+	 * echo $container->get_script('jquery');
 	 * </code>
 	 *
 	 * @param  string  $name