Skip to content

Commit 705d685

Browse files
marcwrobelmdo
authored andcommittedJul 18, 2022
Fix typos in code (#36763)
Shoutout is correct but has been replaced by its more common form : Shout-out (https://www.merriam-webster.com/dictionary/shout-out).
1 parent 154916c commit 705d685

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed
 

‎js/src/util/index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const MAX_UID = 1_000_000
99
const MILLISECONDS_MULTIPLIER = 1000
1010
const TRANSITION_END = 'transitionend'
1111

12-
// Shoutout AngusCroll (https://goo.gl/pxwQGp)
12+
// Shout-out Angus Croll (https://goo.gl/pxwQGp)
1313
const toType = object => {
1414
if (object === null || object === undefined) {
1515
return `${object}`

‎js/src/util/sanitizer.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -21,14 +21,14 @@ const ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i
2121
/**
2222
* A pattern that recognizes a commonly useful subset of URLs that are safe.
2323
*
24-
* Shoutout to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts
24+
* Shout-out to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts
2525
*/
2626
const SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i
2727

2828
/**
2929
* A pattern that matches safe data URLs. Only matches image, video and audio types.
3030
*
31-
* Shoutout to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts
31+
* Shout-out to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts
3232
*/
3333
const DATA_URL_PATTERN = /^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i
3434

‎js/tests/unit/dom/selector-engine.spec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('SelectorEngine', () => {
2121
expect(SelectorEngine.find('div', fixtureEl)).toEqual([div])
2222
})
2323

24-
it('should find elements globaly', () => {
24+
it('should find elements globally', () => {
2525
fixtureEl.innerHTML = '<div id="test"></div>'
2626

2727
const div = fixtureEl.querySelector('#test')

‎scss/mixins/_grid.scss

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
// Row columns
5252
//
5353
// Specify on a parent element(e.g., .row) to force immediate children into NN
54-
// numberof columns. Supports wrapping to new lines, but does not do a Masonry
54+
// number of columns. Supports wrapping to new lines, but does not do a Masonry
5555
// style grid.
5656
@mixin row-cols($count) {
5757
> * {

0 commit comments

Comments
 (0)
Please sign in to comment.