Commit Graph

5164 Commits

Author SHA1 Message Date
506164f7cb Merge pull request #1006 from fatedeity/master
fix findLastIndex: return default index when not found
2019-08-11 10:24:33 -07:00
80164c8a52 return default index when not found 2019-08-11 16:20:26 +08:00
1cee67393c Travis build: 1315 [cron] 2019-07-20 16:17:31 +00:00
ce08cc1234 Travis build: 1313 2019-07-20 09:46:25 +00:00
a4b831fe82 Merge pull request #1002 from 30-seconds/simplify-isWeekend
Simplify the comparison for a weekend
2019-07-20 12:43:06 +03:00
d41b86fa31 Travis build: 1311 2019-07-20 09:39:17 +00:00
63783ad82a Merge pull request #1003 from 30-seconds/simplify-isWeekday
Update isWeekday.md
2019-07-20 12:35:43 +03:00
5033e1b471 speeling
auto correct is the bane of my existence and my best friend
2019-07-19 15:49:03 -07:00
4633605dc6 Update isWeekday.md
We should probably make this and the isWeekend snippet have the same description...
2019-07-19 15:47:09 -07:00
7506499f8c Simplify the comparison for a weekend
Since a weekend is either `0` or `6` from `Date#getDay()`, using `X % 6 === 0` will return the right Boolean value and lead to less function calls or comparisons
2019-07-19 15:43:50 -07:00
f47b1fa5b7 Travis build: 1306 2019-07-19 16:23:29 +00:00
8ed11d54aa Merge pull request #1000 from peter279k/add_is_weekend
[FEATURE] Add isWeekend code snippets
2019-07-19 19:20:31 +03:00
3b84046693 Update tag_database 2019-07-19 19:20:12 +03:00
a7e50ac55f Travis build: 1304 [cron] 2019-07-19 16:16:05 +00:00
ebd03958a5 Add isWeekend code snippets 2019-07-19 22:21:10 +08:00
bc0aa14697 Travis build: 1302 2019-07-19 10:14:56 +00:00
b18559ac37 Merge pull request #999 from peter279k/add_is_week_day
[FEATURE] Add isWeekday code snippets
2019-07-19 13:12:08 +03:00
5328a26e47 Update tag_database 2019-07-19 13:10:47 +03:00
eb078d56f6 Add isWeekday code snippets 2019-07-19 18:04:16 +08:00
4f9076e66e Travis build: 1300 2019-07-19 08:25:44 +00:00
dbbe292416 Merge pull request #998 from peter279k/add_tomorrow
[FEATURE] Add yesterday snippets
2019-07-19 11:22:48 +03:00
ccad1ce12a Update tag_database 2019-07-19 11:19:17 +03:00
ef310cb851 Add yesterday snippets 2019-07-19 16:09:04 +08:00
82ff65e607 Travis build: 1298 2019-07-19 06:31:59 +00:00
b1f7b1d4da Merge pull request #997 from peter279k/remove_unofficial
[ENHANCEMENT] Remove unofficial message because they're official
2019-07-19 09:29:08 +03:00
f2de046dc1 Update unofficial message everywhere 2019-07-19 09:28:23 +03:00
b9eb181cdb Remove unofficial message because they're official 2019-07-19 14:18:51 +08:00
01a02b202a Travis build: 1289 [cron] 2019-07-11 16:12:06 +00:00
5eb9bb3187 Travis build: 1287 2019-07-11 07:22:52 +00:00
b9d2a302c5 Merge pull request #996 from 30-seconds/dependabot/npm_and_yarn/merge-1.2.1
Build(deps): Bump merge from 1.2.0 to 1.2.1
2019-07-11 10:19:56 +03:00
640126bfbb Build(deps): Bump merge from 1.2.0 to 1.2.1
Bumps [merge](https://github.com/yeikos/js.merge) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/yeikos/js.merge/releases)
- [Commits](https://github.com/yeikos/js.merge/compare/v1.2.0...v1.2.1)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 07:15:20 +00:00
8b091615dc Travis build: 1283 2019-07-11 05:30:42 +00:00
4e5262028f Merge pull request #995 from 30-seconds/dependabot/npm_and_yarn/lodash-4.17.14
Build(deps): Bump lodash from 4.17.10 to 4.17.14
2019-07-11 08:27:07 +03:00
73aeb9c844 Build(deps): Bump lodash from 4.17.10 to 4.17.14
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.10 to 4.17.14.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.10...4.17.14)

Signed-off-by: dependabot[bot] <support@github.com>
2019-07-11 01:43:09 +00:00
242de6470c Travis build: 1274 [cron] 2019-07-05 16:07:52 +00:00
c908876d7b Travis build: 1272 2019-07-04 20:26:55 +00:00
3e4436e9a2 Merge pull request #993 from jaywengrow/change-falsey-to-falsy
FIX(snippet): Changing instances of the word falsey to falsy
2019-07-04 23:24:02 +03:00
30eb6072c3 Changing instances of the word falsey to falsy for consistency sake, and especially as there is the array FilterFalsy function that is spelled without an e. 2019-07-04 14:41:14 -05:00
3933cce671 Travis build: 1267 [cron] 2019-07-01 16:06:43 +00:00
d76a5bf575 Travis build: 1265 2019-07-01 05:04:31 +00:00
f58b7faf9e Merge pull request #992 from 30-seconds/clarification-of-stringification
Clarify that keys are being stringified
2019-07-01 08:00:45 +03:00
b3db3768fd Clarify that keys are being stringified
We may also want to mention the edge case of more complex operations in another PR
2019-06-30 09:55:54 -07:00
468e16d479 Travis build: 1257 [cron] 2019-06-26 16:04:45 +00:00
0d683277af Travis build: 1255 2019-06-26 05:38:00 +00:00
f4df77d62f fix(tests): expectations of some async test where not working (#989) 2019-06-26 08:35:24 +03:00
c89fd04ced Travis build: 1246 [cron] 2019-06-18 16:05:12 +00:00
d8a1813810 Travis build: 1244 2019-06-18 05:38:02 +00:00
83a6a6ea32 [ENHANCEMENT] Properly configure eslint to work with jest (#988)
* chore: make aware eslint that we use jest

By setting up the jest environment, we no longer need to declare the
'test' global in the configuration.

* chore: don't need to import expect, it's a jest environment global

* chore: don't need to import expect when creating undefined test
2019-06-18 08:34:45 +03:00
3cafbf43f1 Travis build: 1239 [cron] 2019-06-14 15:58:19 +00:00
6831508aa4 Travis build: 1237 2019-06-14 06:06:59 +00:00