Skip to content

Commit 0e4ee6a

Browse files
committed
Updated to 1.1.5 version
1 parent 99b1882 commit 0e4ee6a

File tree

1 file changed

+17
-17
lines changed

1 file changed

+17
-17
lines changed

README.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Or **install it manually**:
5656

5757
Available methods in this library:
5858

59-
### Add scripts or styles:
59+
### - Add scripts or styles:
6060

6161
```php
6262
Asset::add($type, $data);
@@ -77,7 +77,7 @@ Asset::add($type, $data);
7777

7878
**# Return** (boolean)
7979

80-
### Check if a particular style or script has been added:
80+
### - Check if a particular style or script has been added:
8181

8282
```php
8383
Asset::isAdded($type, $name);
@@ -90,7 +90,7 @@ Asset::isAdded($type, $name);
9090

9191
**# Return** (boolean)
9292

93-
### Remove script or style:
93+
### - Remove script or style:
9494

9595
```php
9696
Asset::remove($type, $name);
@@ -103,7 +103,7 @@ Asset::remove($type, $name);
103103

104104
**# Return** (boolean true)
105105

106-
### Sets whether to merge the content of files into a single file:
106+
### - Sets whether to merge the content of files into a single file:
107107

108108
```php
109109
Asset::unify($uniqueID, $params, $minify);
@@ -117,7 +117,7 @@ Asset::unify($uniqueID, $params, $minify);
117117

118118
**# Return** (boolean true)
119119

120-
### Output stylesheet:
120+
### - Output stylesheet:
121121

122122
```php
123123
Asset::outputStyles($output);
@@ -129,7 +129,7 @@ Asset::outputStyles($output);
129129

130130
**# Return** (string|false) → Output or false
131131

132-
### Output scripts:
132+
### - Output scripts:
133133

134134
```php
135135
Asset::outputScripts($place, $output);
@@ -165,7 +165,7 @@ use Josantonius\Asset\Asset;
165165

166166
Example of use for this library:
167167

168-
**Add styles:**
168+
### - Add styles:
169169

170170
```php
171171
Asset::add('style', [
@@ -180,7 +180,7 @@ Asset::add('style', [
180180
]);
181181
```
182182

183-
**Add scripts:**
183+
### - Add scripts:
184184

185185
```php
186186
Asset::add('script', [
@@ -197,33 +197,33 @@ Asset::add('script', [
197197
]);
198198
```
199199

200-
**Check if resources have been added correctly:**
200+
### - Check if resources have been added correctly:
201201

202202
```php
203203
Asset::isAdded('script', 'script-first'); // true
204204
Asset::isAdded('style', 'style-first'); // true
205205
```
206206

207-
**Delete added resources:**
207+
### - Delete added resources:
208208

209209
```php
210210
Asset::remove('style', 'style-first') // true
211211
Asset::remove('script', 'script-first'); // true
212212
```
213213

214-
**Unify:**
214+
### - Unify:
215215

216216
```php
217217
Asset::unify('UniqueID', 'http://josantonius.com/min/');
218218
```
219219

220-
**Unify and minify:**
220+
### - Unify and minify:
221221

222222
```php
223223
Asset::unify('UniqueID', 'http://josantonius.com/min/', true);
224224
```
225225

226-
**Unify specifying different url paths for styles and scripts:**
226+
### - Unify specifying different url paths for styles and scripts:
227227

228228
```php
229229
Asset::unify('UniqueID', [
@@ -233,7 +233,7 @@ Asset::unify('UniqueID', [
233233
]);
234234
```
235235

236-
**Unify and minify specifying different url paths for styles and scripts:**
236+
### - Unify and minify specifying different url paths for styles and scripts:
237237

238238
```php
239239
Asset::unify('UniqueID', [
@@ -244,19 +244,19 @@ Asset::unify('UniqueID', [
244244
], true);
245245
```
246246

247-
**Output styles:**
247+
### - Output styles:
248248

249249
```php
250250
echo Asset::outputStyles();
251251
```
252252

253-
**Output footer scripts:**
253+
### - Output footer scripts:
254254

255255
```php
256256
echo Asset::outputScripts('footer');
257257
```
258258

259-
**Output header scripts:**
259+
### - Output header scripts:
260260

261261
```php
262262
echo Asset::outputScripts('header');

0 commit comments

Comments
 (0)