Skip to content

Commit e64ca1f

Browse files
authored
Fix typos in docs (#2943)
1 parent defcf16 commit e64ca1f

File tree

9 files changed

+12
-12
lines changed

9 files changed

+12
-12
lines changed

www/content/essays/htmx-sucks.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ Sometimes the htmx author will make a smart-alec comment like "Well, how do you
171171
Another practical reason not to use htmx is that there are, rounding off, zero htmx jobs.
172172

173173
I just did a search for htmx jobs on indeed and found a grand total of two: one at Microsoft and one at Oak Ridge
174-
National Labratory.
174+
National Laboratory.
175175

176176
A search for "react", on the other hand, gives 13,758 jobs.
177177

@@ -206,7 +206,7 @@ Another technical issue with htmx is that it just won't scale. It may work for
206206
get larger the htmx model breaks down and becomes a mess. The component model of React and other front-end tools keeps
207207
everything compartmentalized and testable. This makes it much easier to keep large codebases clean.
208208

209-
As an example, consider [Github](https://github.com/), which started out using technology a lot like htmx. It has
209+
As an example, consider [GitHub](https://github.com/), which started out using technology a lot like htmx. It has
210210
recently started adopting React and is now much more stable than it was previously. They would have been better off
211211
if they had just started with React and built the whole thing in a modern, component-based way, but at least they
212212
are making the right move now. Better late than never.

www/content/essays/interviews/henning_koch.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Thank you for agreeing to an interview!
1717
> Sure! I'm currently head of development at [makandra](https://makandra.de/en), a Ruby on Rails consultancy I co-founded back in 2009, after many years of freelancing as a web developer. So my context is working on many different web apps concurrently, and maintaining those for a long time. On a given week we probably touch 10+ projects, for industries ranging from education to automative to cyber security. Unpoly is an extraction from patterns that we saw repeating over and over in client projects.
1818
1919
**Q**: When I created intercooler.js a big part of it was my unwillingness to deal with the popular SPA libraries of the time
20-
(Angular & ExtJS, for example). Did Unpoly have a similiar history?
20+
(Angular & ExtJS, for example). Did Unpoly have a similar history?
2121

2222
> Our team actually went all-in on AngularJS for a while, in an effort to replace the mountains of jQuery spaghetti that we had before. When Google nuked AngularJS with their Angular 2 rewrite, we held a retrospective for that time and came up with mixed results. While we had built some apps that were a great fit for the SPA model, the majority of projects suffered from larger code bases, more dependencies, logic being split between client and server, lots of boilerplate API to move data from where we already have it (the server) to where we need it (the browser).
2323
>
@@ -36,7 +36,7 @@ a Rails developer too. Did that influence your approach to Unpoly?
3636

3737
> I share some of your love for interactive documents that stream their UI together with their content. For me this began in the 1990s with character-based BBS UIs und WinHelp files, until the web eventually supplanted all of that.
3838
>
39-
> Today I'm not super philosophical about it, but I do believe that a hypermedia approach is a sweet spot where you get good UI fidelity with very little and mostly boring code. For the median app, hypermedia probably gives a better result than the SPA model. I file like there's this enourmous disconnect between the theoretical ceiling of an SPA model and what most SPAs deliver. SPAs allow for optimistic UI (which is great!), but that's just more code than waiting for a JSON endpoint. So once you do any meaningful interaction on a spotty connection, many SPAs degrade to spinners and blank pages.
39+
> Today I'm not super philosophical about it, but I do believe that a hypermedia approach is a sweet spot where you get good UI fidelity with very little and mostly boring code. For the median app, hypermedia probably gives a better result than the SPA model. I file like there's this enormous disconnect between the theoretical ceiling of an SPA model and what most SPAs deliver. SPAs allow for optimistic UI (which is great!), but that's just more code than waiting for a JSON endpoint. So once you do any meaningful interaction on a spotty connection, many SPAs degrade to spinners and blank pages.
4040
4141
**Q**: What are the most important technical lessons you draw from unpoly?
4242

www/content/essays/is-htmx-another-javascript-framework.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ In short, while htmx can be used as a framework, it's a framework that [deviates
7777
<div style="text-align:center; width:100%">
7878
<img width=500
7979
src="/img/memes/istudiedhtml.png"
80-
alt="A man holding a sword. He says: 'When you wrote class components, I studied HTML. When you were converting classes to hooks, I mastered the HTML. While you wasted time moving all your client-side logic to server components, I cultivated inner HTML. And now that the browser won't hydrate your thick client JSON API you have the audactiy to come to me for help?'"
80+
alt="A man holding a sword. He says: 'When you wrote class components, I studied HTML. When you were converting classes to hooks, I mastered the HTML. While you wasted time moving all your client-side logic to server components, I cultivated inner HTML. And now that the browser won't hydrate your thick client JSON API you have the audacity to come to me for help?'"
8181
>
8282
</div>
8383

www/content/essays/rest-explained.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ These brief sections are not relevant to non-academics interested in REST.
239239

240240
## Summary
241241

242-
So there you have it, a brief tour of Chapter 5 of Roy Fielding's disseration, which gave us the term REST. I have
242+
So there you have it, a brief tour of Chapter 5 of Roy Fielding's dissertation, which gave us the term REST. I have
243243
focused in on the areas that I think are most important for web developers to understand and tried to convey how
244244
REST describes the original web model. The uniform interface concept is, in my opinion, the most important and interesting
245245
aspect of REST, and is useful for web developers to understand as it is primarily responsible for the benefits described

www/content/extensions/htmx-1-compat.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
+++
2-
title = "htmx 1.x Compatability Extension"
2+
title = "htmx 1.x Compatibility Extension"
33
+++
44

55
The `htmx-1-compat` extension allows you to almost seamlessly upgrade from htmx 1.x to htmx 2.

www/content/extensions/idiomorph.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ morphing is a process where an existing DOM tree is "morphed" into the shape of
77
the existing DOM's nodes as possible. By preserving nodes when changing from one tree to another you can present a
88
much smoother transition between the two states.
99

10-
You can use the idiomorph morphing algorith as a [swapping](@attributes/hx-swap) strategy by including the idiomorph
10+
You can use the idiomorph morphing algorithm as a [swapping](@attributes/hx-swap) strategy by including the idiomorph
1111
extension.
1212

1313
## Install

www/content/extensions/sse.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ This event is dispatched when an SSE connection could not be established.
180180

181181
##### Details
182182

183-
* `detail.error` - The error that occured while creating
183+
* `detail.error` - The error that occurred while creating
184184
an [EventSource](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
185185
* `detail.source` - The [EventSource](https://developer.mozilla.org/en-US/docs/Web/API/EventSource).
186186

www/content/headers/hx-trigger.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ document.body.addEventListener("showMessage", function(evt){
6060

6161
Each property of the JSON object on the right hand side will be copied onto the details object for the event.
6262

63-
### Targetting Other Elements
63+
### Targeting Other Elements
6464

6565
You can trigger events on other target elements by adding a `target` argument to the JSON object.
6666

www/themes/htmx-theme/highlighting/two-dark-edited.tmTheme

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@
797797
</dict>
798798
<dict>
799799
<key>name</key>
800-
<string>new_subl obejct key</string>
800+
<string>new_subl object key</string>
801801
<key>scope</key>
802802
<string>source.js meta.group.braces.round meta.group.braces.curly constant.other.object.key.js punctuation.separator.key-value.js</string>
803803
<key>settings</key>
@@ -830,7 +830,7 @@
830830
</dict>
831831
<dict>
832832
<key>name</key>
833-
<string>new_subl variabel function method</string>
833+
<string>new_subl variable function method</string>
834834
<key>scope</key>
835835
<string>source.js meta.function-call.method.without-arguments.js variable.function.js</string>
836836
<key>settings</key>

0 commit comments

Comments
 (0)