]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Fix typos in code (#36763)
authorMarc Wrobel <marc.wrobel@gmail.com>
Mon, 18 Jul 2022 08:02:41 +0000 (10:02 +0200)
committerMark Otto <otto@github.com>
Mon, 18 Jul 2022 20:30:29 +0000 (13:30 -0700)
Shoutout is correct but has been replaced by its more common form : Shout-out (https://www.merriam-webster.com/dictionary/shout-out).

js/src/util/index.js
js/src/util/sanitizer.js
js/tests/unit/dom/selector-engine.spec.js
scss/mixins/_grid.scss

index 161501e391d7d403436daf7d8b15a2ff5bf9ab0a..b02789df5d82195535f281413fda9ccb2b7e45a1 100644 (file)
@@ -9,7 +9,7 @@ const MAX_UID = 1_000_000
 const MILLISECONDS_MULTIPLIER = 1000
 const TRANSITION_END = 'transitionend'
 
-// Shoutout AngusCroll (https://goo.gl/pxwQGp)
+// Shout-out Angus Croll (https://goo.gl/pxwQGp)
 const toType = object => {
   if (object === null || object === undefined) {
     return `${object}`
index 06402d296f6b6ede832f53fcbb98da2f55cb2214..0584df9325ddfff0fa6cac2690a1286814cdf3c3 100644 (file)
@@ -21,14 +21,14 @@ const ARIA_ATTRIBUTE_PATTERN = /^aria-[\w-]*$/i
 /**
  * A pattern that recognizes a commonly useful subset of URLs that are safe.
  *
- * Shoutout to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts
+ * Shout-out to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts
  */
 const SAFE_URL_PATTERN = /^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i
 
 /**
  * A pattern that matches safe data URLs. Only matches image, video and audio types.
  *
- * Shoutout to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts
+ * Shout-out to Angular https://github.com/angular/angular/blob/12.2.x/packages/core/src/sanitization/url_sanitizer.ts
  */
 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
 
index 901aa0e3a6a21f92242a498042c32e0eb617ea24..0245896c68052e71f8c0053b9a2cc0868d315b94 100644 (file)
@@ -21,7 +21,7 @@ describe('SelectorEngine', () => {
       expect(SelectorEngine.find('div', fixtureEl)).toEqual([div])
     })
 
-    it('should find elements globaly', () => {
+    it('should find elements globally', () => {
       fixtureEl.innerHTML = '<div id="test"></div>'
 
       const div = fixtureEl.querySelector('#test')
index e4cebae7ccfe14486f368707bc6451fbe66dc0a8..38e2239fdb58be4d14ee70fa7cfb311eae2b37fb 100644 (file)
@@ -51,7 +51,7 @@
 // Row columns
 //
 // Specify on a parent element(e.g., .row) to force immediate children into NN
-// numberof columns. Supports wrapping to new lines, but does not do a Masonry
+// number of columns. Supports wrapping to new lines, but does not do a Masonry
 // style grid.
 @mixin row-cols($count) {
   > * {