@@ -47,14 +47,19 @@ You can use this Facade anywhere in your application
4747 <head >
4848 ...
4949 {{ Minify::stylesheet('/css/main.css') }}
50- //or by passing multiple files
50+ // or by passing multiple files
5151 {{ Minify::stylesheet(array('/css/main.css', '/css/bootstrap.css')) }}
52- //add custom attributes
52+ // add custom attributes
5353 {{ Minify::stylesheet(array('/css/main.css', '/css/bootstrap.css'), array('foo' => 'bar')) }}
5454 // add full uri of the resource
55- {{ Minify::stylesheet(array('/css/main.css', '/css/bootstrap.css'))->withFullUrl() }}
56- // Minify and combine all stylesheet files in given folder
55+ {{ Minify::stylesheet(array('/css/main.css', '/css/bootstrap.css'))->withFullUrl() }}
56+
57+ // minify and combine all stylesheet files in given folder
5758 {{ Minify::stylesheetDir('/css/') }}
59+ // add custom attributes to minify and combine all stylesheet files in given folder
60+ {{ Minify::stylesheetDir('/css/', array('foo' => 'bar')) }}
61+ // minify and combine all stylesheet files in given folder with full uri
62+ {{ Minify::stylesheetDir('/css/')->withFullUrl() }}
5863 </head >
5964 ...
6065</html >
@@ -70,14 +75,19 @@ You can use this Facade anywhere in your application
7075 ...
7176 </body >
7277 {{ Minify::javascript('/js/jquery.js') }}
73- //or by passing multiple files
78+ // or by passing multiple files
7479 {{ Minify::javascript(array('/js/jquery.js', '/js/jquery-ui.js')) }}
75- //add custom attributes
80+ // add custom attributes
7681 {{ Minify::javascript(array('/js/jquery.js', '/js/jquery-ui.js'), array('bar' => 'baz')) }}
7782 // add full uri of the resource
7883 {{ Minify::javascript(array('/js/jquery.js', '/js/jquery-ui.js'))->withFullUrl() }}
79- // Minify and combine all javascript files in given folder
84+
85+ // minify and combine all javascript files in given folder
8086 {{ Minify::javascriptDir('/js/') }}
87+ // add custom attributes to minify and combine all javascript files in given folder
88+ {{ Minify::javascriptDir('/js/', array('bar' => 'baz')) }}
89+ // minify and combine all javascript files in given folder with full uri
90+ {{ Minify::javascriptDir('/js/')->withFullUrl() }}
8191</html >
8292
8393```
@@ -106,10 +116,10 @@ return array(
106116 | CSS path and CSS build path
107117 |--------------------------------------------------------------------------
108118 |
109- | Minify is an extention that can minify your css files into one build file.
119+ | Minify is an extension that can minify your css files into one build file.
110120 | The css_path property is the location where your CSS files are located
111121 | The css_builds_path property is the location where the builded files are
112- | stored. THis is relative to the css_path property.
122+ | stored. This is relative to the css_path property.
113123 |
114124 */
115125
@@ -120,10 +130,10 @@ return array(
120130 | JS path and JS build path
121131 |--------------------------------------------------------------------------
122132 |
123- | Minify is an extention that can minify your JS files into one build file.
133+ | Minify is an extension that can minify your JS files into one build file.
124134 | The JS_path property is the location where your JS files are located
125135 | The JS_builds_path property is the location where the builded files are
126- | stored. THis is relative to the css_path property.
136+ | stored. This is relative to the css_path property.
127137 |
128138 */
129139
0 commit comments