Commit Graph

4744 Commits

Author SHA1 Message Date
2fd0e93cfd Merge pull request #762 from 30-seconds/packager
[FIX] Packager script: Babel 7, named exports
2018-10-08 20:08:41 +03:00
ccaf4332be Update .gitignore 2018-10-08 20:06:32 +03:00
78c6f6d395 fix time problem
setTimeout would go wrong in some browser when the second argument is less than zero
2018-10-08 21:48:19 +08:00
a2e49e3ba7 Merge pull request #1 from 30-seconds/master
update
2018-10-08 21:44:58 +08:00
8ac2ce645e Travis build: 606 2018-10-07 18:55:31 +00:00
b824723a7a [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
215db8de59 Travis build: 604 2018-10-07 13:26:08 +00:00
946a30ab4c [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
4aa3d9cc36 add reminder to uncommit testlog 2018-10-06 22:50:59 +02:00
5a6c871490 Travis build: 601 2018-10-06 09:35:19 +00:00
928a667009 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
94c1825aa4 Fixed page titles 2018-10-06 12:22:29 +03:00
b9128fb477 Travis build: 599 [custom] 2018-10-05 21:08:23 +00:00
2537f697ef Test Travis-CI
Sorry for the useless commit
2018-10-05 23:44:00 +03:00
0ad082fbe2 Add Shadow DOM 2018-10-05 18:07:32 +02:00
d6e26ae3dc Add Web Components 2018-10-05 17:57:34 +02:00
8a773bcf73 Added side nav to glossary and archived pages 2018-10-05 20:00:18 +05:30
c0f5d12fbe Travis build: 597 [cron] 2018-10-04 20:18:24 +00:00
0fa5902940 [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
1f557d34af Travis build: 594 2018-10-04 13:46:53 +00:00
4634168133 Merge pull request #803 from hckr/atob-btoa
[FIX] Error with new in btoa
2018-10-04 16:44:55 +03:00
5f41925219 Fix error with new in btoa 2018-10-04 12:58:44 +02:00
c6a0491c0f Travis build: 592 2018-10-04 03:38:20 +00:00
b5ca05fbcc Merge pull request #800 from hckr/atob-btoa
[FIX] Replace deprecated calls in atob and btoa
2018-10-04 06:36:39 +03:00
c798852df7 Replace deprecated calls in atob and btoa 2018-10-03 23:08:31 +02:00
6905412c14 Travis build: 590 [cron] 2018-10-03 20:17:00 +00:00
f50ef7f702 Travis build: 588 2018-10-03 19:29:27 +00:00
127e37f245 Update isDuplexStream.md 2018-10-03 22:27:46 +03:00
a12ae077fb Travis build: 586 2018-10-03 19:19:18 +00:00
c7073ff1b5 Merge pull request #765 from 30-seconds/is-stream
Add isStream
2018-10-03 22:17:29 +03:00
21622234d6 Add readable, writable and duplex 2018-10-03 22:16:10 +03:00
25d93ab6ad Travis build: 583 2018-10-03 09:34:17 +00:00
3aa23e10f2 Merge pull request #778 from Siarhei-Zharnasek/master
Change docs for triggerEvent [ENHANCEMENT]
2018-10-03 12:33:01 +03:00
7a016ca452 Change docs for triggerEvent 2018-10-03 13:27:09 +04:00
7b941b4e41 Travis build: 581 2018-10-03 05:03:56 +00:00
c18f8d6b6d Merge pull request #777 from mintunitish/master
Minor Simplification
2018-10-03 08:02:52 +03:00
cb608efa93 Reverted SCSS Changes 2018-10-03 10:17:54 +05:30
bd03c24cbd Travis build: 579 [cron] 2018-10-02 20:18:29 +00:00
4941ed7b8b 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
54ffd7bdfe Merge pull request #768 from Siarhei-Zharnasek/master
Simplify triggerEvent
2018-10-02 20:58:17 +03:00
2c135e5781 Update PULL_REQUEST_TEMPLATE.md
Fixed Typo
2018-10-02 23:18:07 +05:30
ee5586c7f2 Minor Simplifications 2018-10-02 23:10:00 +05:30
981311ef05 Simplify triggerEvent 2018-10-02 11:02:52 +04:00
bff38c6387 Update tag_database 2018-10-02 08:35:37 +03:00
bf35deabc8 Travis build: 574 [cron] 2018-10-01 20:16:38 +00:00
41d08ed789 Merge pull request #767 from itchylol742/master
[FIX] change test comments in indexOfAll.test.js
2018-10-01 22:05:43 +03:00
2786ccfe0a 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
55c2bd3ac4 Add isStream 2018-10-01 20:12:19 +03:00
c0cee9fca9 Travis build: 570 2018-10-01 16:38:09 +00:00
7a2254e87e Resolve #754 2018-10-01 19:36:22 +03:00