Fix typos across devdocs repository (#1027)

Fix typos across devdocs repository

Co-authored-by: Jasper van Merle <jaspervmerle@gmail.com>
pull/1036/head
Jasper van Merle 6 years ago committed by GitHub
commit 8ff4acec89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -413,7 +413,7 @@
// when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched // when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched
// with the same identifier as the touch event that previously triggered the click that triggered the alert. // with the same identifier as the touch event that previously triggered the click that triggered the alert.
// Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an // Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an
// immediately preceeding touch event (issue #52), so this fix is unavailable on that platform. // immediately preceding touch event (issue #52), so this fix is unavailable on that platform.
// Issue 120: touch.identifier is 0 when Chrome dev tools 'Emulate touch events' is set with an iOS device UA string, // Issue 120: touch.identifier is 0 when Chrome dev tools 'Emulate touch events' is set with an iOS device UA string,
// which causes all touch events to be ignored. As this block only applies to iOS, and iOS identifiers are always long, // which causes all touch events to be ignored. As this block only applies to iOS, and iOS identifiers are always long,
// random integers, it's safe to to continue if the identifier is 0 here. // random integers, it's safe to to continue if the identifier is 0 here.
@ -805,7 +805,7 @@
} }
} }
// IE11: prefixed -ms-touch-action is no longer supported and it's recomended to use non-prefixed version // IE11: prefixed -ms-touch-action is no longer supported and it's recommended to use non-prefixed version
// http://msdn.microsoft.com/en-us/library/windows/apps/Hh767313.aspx // http://msdn.microsoft.com/en-us/library/windows/apps/Hh767313.aspx
if (layer.style.touchAction === 'none' || layer.style.touchAction === 'manipulation') { if (layer.style.touchAction === 'none' || layer.style.touchAction === 'manipulation') {
return true; return true;

@ -856,7 +856,7 @@ Raven.prototype = {
}, },
_triggerEvent: function(eventType, options) { _triggerEvent: function(eventType, options) {
// NOTE: `event` is a native browser thing, so let's avoid conflicting wiht it // NOTE: `event` is a native browser thing, so let's avoid conflicting with it
var evt, key; var evt, key;
if (!this._hasDocument) return; if (!this._hasDocument) return;

@ -85,7 +85,7 @@ module Docs
if initial_header.start_with?(@section) if initial_header.start_with?(@section)
sig.content = @section + '.' + sig.text sig.content = @section + '.' + sig.text
end end
# seperate the signatures on different lines. # separate the signatures on different lines.
header.add_child "<br>" header.add_child "<br>"
end end
end end

@ -1,7 +1,7 @@
module Docs module Docs
class Pygame < UrlScraper class Pygame < UrlScraper
self.type = 'simple' self.type = 'simple'
self.release = '1.9.4' self.release = '1.9.6'
self.base_url = 'https://www.pygame.org/docs/' self.base_url = 'https://www.pygame.org/docs/'
self.root_path = 'py-modindex.html' self.root_path = 'py-modindex.html'
self.links = { self.links = {
@ -14,7 +14,7 @@ module Docs
options[:only_patterns] = [/ref\//] options[:only_patterns] = [/ref\//]
options[:attribution] = <<-HTML options[:attribution] = <<-HTML
&copy; Pygame Developpers.<br> &copy; Pygame Developers.<br>
Licensed under the GNU LGPL License version 2.1. Licensed under the GNU LGPL License version 2.1.
HTML HTML

Loading…
Cancel
Save