Commit Graph

3937 Commits

Author SHA1 Message Date
Henry
2470d4b599 Merge pull request #1 from 30-seconds/master
update
2018-10-08 21:44:58 +08:00
30secondsofcode
88a131144b Travis build: 606 2018-10-07 18:55:31 +00:00
Kyle Begovich
9d461919a6 [FEATURE] Adding Heron's formula for area of any triangle (#813)
Heron's Formula for Area of any (valid) triangle.

## Description
Adding heronArea.js and adding the corresponding entry in tag_database. More info on Heron's formula (and why it works) here: https://en.wikipedia.org/wiki/Heron%27s_formula. This is exceptionally helpful for simplifying any math being done inside your JS, and abstracts away any altitude calculations being done before the (1/2)bh calculation often used instead.

## PR Type
- [x] Snippets, Tests & Tags (new snippets, updated snippets, re-tagging of snippets, added/updated tests)
- [ ] Scripts & Website & Meta (anything related to files in the [scripts folder](https://github.com/30-seconds/30-seconds-of-code/tree/master/scripts), how the repository's automated procedures work and the website)
- [ ] Glossary & Secondary Features (anything related to the glossary, such as new or updated terms or other secondary features)
- [ ] General, Typos, Misc. & Meta (everything else, typos, general stuff and meta files in the repository - e.g. the issue template)

## Guidelines
- [x] I have read the guidelines in the [CONTRIBUTING](https://github.com/30-seconds/30-seconds-of-code/blob/master/CONTRIBUTING.md) document.
2018-10-07 20:53:51 +02:00
30secondsofcode
cf80ddae2e Travis build: 604 2018-10-07 13:26:08 +00:00
Gravity_Salad
77ddd8a7e8 [FEATURE] Add getImages snippet (#806)
<!-- Use a descriptive title, prefix it with [FIX], [FEATURE] or [ENHANCEMENT] if applicable (use only one) -->

## Description
<!-- Write a detailed description of your changes/additions here -->
Adding a snippet to fetch all images from within a desired element.
<!-- If your PR resolves an issue, please state "Resolves #(issue number)" to help maintainers process it faster -->
<!-- If you think your PR will cause breaking changes, require changes in the documentation etc, please be so kind as to explain what, where and how -->

## PR Type
- [x] Snippets, Tests & Tags (new snippets, updated snippets, re-tagging of snippets, added/updated tests)
- [ ] Scripts & Website & Meta (anything related to files in the [scripts folder](https://github.com/30-seconds/30-seconds-of-code/tree/master/scripts), how the repository's automated procedures work and the website)
- [ ] Glossary & Secondary Features (anything related to the glossary, such as new or updated terms or other secondary features)
- [ ] General, Typos, Misc. & Meta (everything else, typos, general stuff and meta files in the repository - e.g. the issue template)

## Guidelines
- [x] I have read the guidelines in the [CONTRIBUTING](https://github.com/30-seconds/30-seconds-of-code/blob/master/CONTRIBUTING.md) document.
2018-10-07 15:24:36 +02:00
Felix Wu
3780653a46 add reminder to uncommit testlog 2018-10-06 22:50:59 +02:00
30secondsofcode
5c0bcca72f Travis build: 601 2018-10-06 09:35:19 +00:00
Angelos Chalaris
7c6dc60d1f Merge pull request #809 from SarathSantoshDamaraju/fix-side-nav
Added side nav to glossary and archived pages
2018-10-06 12:33:39 +03:00
Angelos Chalaris
8fef0cbc49 Fixed page titles 2018-10-06 12:22:29 +03:00
30secondsofcode
50561379d9 Travis build: 599 [custom] 2018-10-05 21:08:23 +00:00
Angelos Chalaris
4331ca9d6a Test Travis-CI
Sorry for the useless commit
2018-10-05 23:44:00 +03:00
Sarath Damaraju
a8ebda3ed5 Added side nav to glossary and archived pages 2018-10-05 20:00:18 +05:30
30secondsofcode
60c418e1ac Travis build: 597 [cron] 2018-10-04 20:18:24 +00:00
itchylol742
695273853f [FIX] allEqual.test.js test arrays with different types in the same array (#805)
allEqual test false when there are different types
2018-10-04 22:06:48 +03:00
30secondsofcode
db202497a7 Travis build: 594 2018-10-04 13:46:53 +00:00
Angelos Chalaris
998a1ae477 Merge pull request #803 from hckr/atob-btoa
[FIX] Error with new in btoa
2018-10-04 16:44:55 +03:00
Luke
645cda1b9d Fix error with new in btoa 2018-10-04 12:58:44 +02:00
30secondsofcode
aa533c8f2c Travis build: 592 2018-10-04 03:38:20 +00:00
Angelos Chalaris
6552ca59ad Merge pull request #800 from hckr/atob-btoa
[FIX] Replace deprecated calls in atob and btoa
2018-10-04 06:36:39 +03:00
Luke
3bcf815565 Replace deprecated calls in atob and btoa 2018-10-03 23:08:31 +02:00
30secondsofcode
d9de6e6977 Travis build: 590 [cron] 2018-10-03 20:17:00 +00:00
30secondsofcode
0c33860b0f Travis build: 588 2018-10-03 19:29:27 +00:00
Angelos Chalaris
de0cda09fa Update isDuplexStream.md 2018-10-03 22:27:46 +03:00
30secondsofcode
400427a2c1 Travis build: 586 2018-10-03 19:19:18 +00:00
Angelos Chalaris
befb3875a4 Merge pull request #765 from 30-seconds/is-stream
Add isStream
2018-10-03 22:17:29 +03:00
Angelos Chalaris
551a221df8 Add readable, writable and duplex 2018-10-03 22:16:10 +03:00
30secondsofcode
6bd999bb96 Travis build: 583 2018-10-03 09:34:17 +00:00
Angelos Chalaris
8b38f4bf85 Merge pull request #778 from Siarhei-Zharnasek/master
Change docs for triggerEvent [ENHANCEMENT]
2018-10-03 12:33:01 +03:00
Siarhei
cf9bffdc95 Change docs for triggerEvent 2018-10-03 13:27:09 +04:00
30secondsofcode
a99d9f769d Travis build: 581 2018-10-03 05:03:56 +00:00
Angelos Chalaris
cbff3c17b6 Merge pull request #777 from mintunitish/master
Minor Simplification
2018-10-03 08:02:52 +03:00
Nitish Kumar
0c0b4aa388 Reverted SCSS Changes 2018-10-03 10:17:54 +05:30
30secondsofcode
96082b2f74 Travis build: 579 [cron] 2018-10-02 20:18:29 +00:00
Robert Mennell
d30ff24f0e Merge pull request #773 from mintunitish/patch-1
Update PULL_REQUEST_TEMPLATE.md, fix a single word type(documention versus documentation)
2018-10-02 11:03:37 -07:00
Angelos Chalaris
d6bc98b345 Merge pull request #768 from Siarhei-Zharnasek/master
Simplify triggerEvent
2018-10-02 20:58:17 +03:00
Nitish Kumar
7ef313c122 Update PULL_REQUEST_TEMPLATE.md
Fixed Typo
2018-10-02 23:18:07 +05:30
Nitish Kumar
1a92b1265f Minor Simplifications 2018-10-02 23:10:00 +05:30
Siarhei
8b5b6dac65 Simplify triggerEvent 2018-10-02 11:02:52 +04:00
Angelos Chalaris
fd23b0ca81 Update tag_database 2018-10-02 08:35:37 +03:00
30secondsofcode
985ec1928d Travis build: 574 [cron] 2018-10-01 20:16:38 +00:00
Angelos Chalaris
0464ecfd77 Merge pull request #767 from itchylol742/master
[FIX] change test comments in indexOfAll.test.js
2018-10-01 22:05:43 +03:00
itchylol742
39c1e57429 change test comments
changed 'Returns all indices of val in an array' to 'When val is not found, return an empty array' for test that searches for val in an array without val
2018-10-01 14:35:22 -04:00
Angelos Chalaris
474aaffbbf Add isStream 2018-10-01 20:12:19 +03:00
30secondsofcode
3127f816ae Travis build: 570 2018-10-01 16:38:09 +00:00
Angelos Chalaris
56ab9b10c5 Resolve #754 2018-10-01 19:36:22 +03:00
30secondsofcode
77dfa88310 Travis build: 568 2018-10-01 16:35:03 +00:00
Angelos Chalaris
a950d6a565 Merge pull request #746 from Siarhei-Zharnasek/master
Refactor takeRightWhile
2018-10-01 19:33:55 +03:00
Angelos Chalaris
a470bb04f0 Merge branch 'master' into master 2018-10-01 19:33:44 +03:00
Angelos Chalaris
77696d1bc9 Update takeRightWhile.md 2018-10-01 19:32:54 +03:00
30secondsofcode
f5596168b4 Travis build: 565 [cron] 2018-09-30 20:15:19 +00:00