Skip to content

Commit f033cac

Browse files
committed
Remove obsolete npm command + fix links to ws/SSE
1 parent d8dc1ee commit f033cac

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
## introduction
1111

1212
htmx allows you to access [AJAX](https://htmx.org/docs#ajax), [CSS Transitions](https://htmx.org/docs#css_transitions),
13-
[WebSockets](https://htmx.org/docs#websockets) and [Server Sent Events](https://htmx.org/docs#sse)
13+
[WebSockets](https://htmx.org/extensions/ws/) and [Server Sent Events](https://htmx.org/extensions/sse/)
1414
directly in HTML, using [attributes](https://htmx.org/reference#attributes), so you can build
1515
[modern user interfaces](https://htmx.org/examples) with the [simplicity](https://en.wikipedia.org/wiki/HATEOAS) and
1616
[power](https://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm) of hypertext
@@ -99,8 +99,6 @@ At this point you can modify `/src/htmx.js` to add features, and then add tests
9999
htmx uses the [mocha](https://mochajs.org/) testing framework, the [chai](https://www.chaijs.com/) assertion framework
100100
and [sinon](https://sinonjs.org/releases/v9/fake-xhr-and-server/) to mock out AJAX requests. They are all OK.
101101

102-
You can also run live tests and demo of the WebSockets and Server-Side Events extensions with `npm run ws-tests`
103-
104102
## haiku
105103

106104
*javascript fatigue:<br/>

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
"types-check": "tsc src/htmx.js --noEmit --checkJs --target es6 --lib dom,dom.iterable",
3232
"types-generate": "tsc dist/htmx.esm.js --declaration --emitDeclarationOnly --allowJs --outDir dist",
3333
"test": "npm run lint && npm run types-check && mocha-chrome test/index.html",
34-
"ws-tests": "cd ./test/ws-sse && node ./server.js",
3534
"www": "bash ./scripts/www.sh",
3635
"sha": "bash ./scripts/sha.sh"
3736
},

0 commit comments

Comments
 (0)