Skip to content

Commit 7eb5599

Browse files
committed
revert
1 parent 4db92c6 commit 7eb5599

1 file changed

Lines changed: 12 additions & 48 deletions

File tree

README.md

Lines changed: 12 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -145,8 +145,7 @@ This method fetches data asynchronously. So it is quite fast :smile:
145145
// response.forEach((item) => {console.log(item.size)}) // 80,50,20
146146
```
147147

148-
<details>
149-
<summary>### Contests</summary>
148+
### Contests
150149

151150
Use **getContestTypeByName** to return data about the effects of moves when used in contests.
152151

@@ -175,10 +174,7 @@ Use **getSuperContestEffectById** to return data about the effects of moves when
175174
});
176175
```
177176

178-
</details>
179-
180-
<details>
181-
<summary>### Encounters</summary>
177+
### Encounters
182178

183179
Use **getEncounterMethodByName** to return data about the conditions in which a trainer may encounter a pokemon in the wild.
184180

@@ -207,10 +203,7 @@ Use **getEncounterConditionValueByName** to return data the various states that
207203
});
208204
```
209205

210-
</details>
211-
212-
<details>
213-
<summary>### Evolution</summary>
206+
### Evolution
214207

215208
Use **getEvolutionChainById** to return data evolution chains.
216209

@@ -230,10 +223,7 @@ Use **getEvolutionTriggerByName** to return data about triggers which cause poke
230223
});
231224
```
232225

233-
</details>
234-
235-
<details>
236-
<summary>### Games</summary>
226+
### Games
237227

238228
Use **getGenerationByName** to return data about the different generations of pokemon games.
239229

@@ -271,10 +261,7 @@ Use **getVersionGroupByName** to return data about specific version groups of po
271261
});
272262
```
273263

274-
</details>
275-
276-
<details>
277-
<summary>### Items</summary>
264+
### Items
278265

279266
Use **getItemByName** to return data about specific items.
280267

@@ -321,10 +308,7 @@ Use **getItemPocketByName** to return data about specific pockets in a players b
321308
});
322309
```
323310

324-
</details>
325-
326-
<details>
327-
<summary>### Machines</summary>
311+
### Machines
328312

329313
Use **getMachineById** to return data about specific machine.
330314

@@ -335,10 +319,7 @@ Use **getMachineById** to return data about specific machine.
335319
});
336320
```
337321

338-
</details>
339-
340-
<details>
341-
<summary>### Moves</summary>
322+
### Moves
342323

343324
Use **getMoveByName** to return data about specific pokemon move.
344325

@@ -403,10 +384,7 @@ Use **getMoveTargetByName** to return data about specific pokemon move target.
403384
});
404385
```
405386

406-
</details>
407-
408-
<details>
409-
<summary>### Locations</summary>
387+
### Locations
410388

411389
Use **getLocationByName** to return data about specific pokemon location.
412390

@@ -444,10 +422,7 @@ Use **getRegionByName** to return data about specific pokemon region.
444422
});
445423
```
446424

447-
</details>
448-
449-
<details>
450-
<summary>### Pokemon</summary>
425+
### Pokemon
451426

452427
Use **getAbilityByName** to return data about specific pokemon ability.
453428

@@ -584,10 +559,7 @@ Use **getTypeByName** to return data about specific pokemon type.
584559
});
585560
```
586561

587-
</details>
588-
589-
<details>
590-
<summary>### Utility</summary>
562+
### Utility
591563

592564
Use **getLanguageByName** to return data about specific pokemon language.
593565

@@ -598,10 +570,7 @@ Use **getLanguageByName** to return data about specific pokemon language.
598570
});
599571
```
600572

601-
</details>
602-
603-
<details>
604-
<summary>### Custom URLs and paths</summary>
573+
### Custom URLs and paths
605574

606575
Use **resource** to return data about any URL or path.
607576

@@ -617,8 +586,6 @@ Use **resource** to return data about any URL or path.
617586
});
618587
```
619588

620-
</details>
621-
622589
## Root Endpoints
623590

624591
For each root endpoint we provide a method to get all the items contained by that endpoint. By default the method will return every item in the endpoint. If you want you can configure its offset and limit.
@@ -671,8 +638,7 @@ This is what you will get:
671638
}
672639
```
673640

674-
<details>
675-
<summary>### List of supported root endpoints</summary>
641+
### List of supported root endpoints
676642

677643
- .getEndpointsList()
678644
- .getBerriesList()
@@ -724,8 +690,6 @@ This is what you will get:
724690
- .getTypesList()
725691
- .getLanguagesList()
726692

727-
</details>
728-
729693
## Internet Explorer 8
730694

731695
In order to target this browser if must load a Promise polyfill before `pokeapi-js-wrapper`. You can choose one of your chioce, we recommed [jakearchibald/es6-promise](https://cdnjs.com/libraries/es6-promise) or [stefanpenner/es6-promise](https://github.com/stefanpenner/es6-promise)

0 commit comments

Comments
 (0)