Tweaked gitignore

gitignore removed all composer and npm files, so automated builds would fail
This commit is contained in:
Henry Whitaker
2020-04-12 21:24:03 +01:00
parent 698687f12d
commit ea5808047f
27863 changed files with 3399604 additions and 5 deletions

25
conf/site/node_modules/collect.js/docs/api/toArray.md generated vendored Normal file
View File

@@ -0,0 +1,25 @@
# `toArray()`
The toArray method converts the collection into a plain array.
If the collection is an object, an array containing the values will be returned.
```js
const collection = collect([1, 2, 3, 'b', 'c']);
collection.toArray();
// [1, 2, 3, 'b', 'c']
```
```js
const collection = collect({
name: 'Elon Musk',
companies: ['Tesla', 'Space X', 'SolarCity'],
});
collection.toArray();
// ['Elon Musk', ['Tesla', 'Space X', 'SolarCity']]
```
[View source on GitHub](https://github.com/ecrmnn/collect.js/blob/master/src/methods/toArray.js)