Skip to content

Commit ea42648

Browse files
committed
Refine README
1 parent 68bc956 commit ea42648

File tree

4 files changed

+59
-51
lines changed

4 files changed

+59
-51
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ This README introduces the ideas.
419419
The full reference each lives in the Wiki.
420420

421421
| Capability | Description | Reference |
422-
| --------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- |
422+
| :-------------------------- | :------------------------------------------------------------------------------------------------------------------------------------------------ | :--------------------------------------------------------------------------------------- |
423423
| **HTML Imports** | Declarative & imperative module imports (`<template def>` · `<import ref>`) including remote modules, inheritance, contexts, and live resolution. | [HTML Imports](https://github.com/webqit/oohtml/wiki/HTML-Imports) |
424424
| **Data Binding** | Comment-based bindings (`<?{ }?>`), attribute-based bindings (`render="…”`), list rendering, and runtime updates. | [Data Binding](https://github.com/webqit/oohtml/wiki/Data-Binding) |
425425
| **Scoped Styles & Scripts** | Component-local `<style scoped>` and `<script scoped>` with DOM-attached execution semantics. | [Scoped Styles & Scripts](https://github.com/webqit/oohtml/wiki/Scoped-Styles-&-Scripts) |
@@ -436,7 +436,7 @@ The full reference each lives in the Wiki.
436436

437437
OOHTML can be used in two ways:
438438

439-
- Directly in the browser, by including a client-side script
439+
- Directly in the browser, via a client-side script
440440
- Via npm – for integration with bundlers, jsdom, SSR, etc.
441441

442442
### 1. Browser Setup
@@ -460,8 +460,8 @@ OOHTML needs to be present **while** the document is parsed so it can activate t
460460

461461
OOHTML ships with two builds:
462462

463-
* **`main.lite.js`** – the *lite* edition; the default and recommended. Provides async execution for scoped scripts and is ideal for web pages.
464-
* **`main.js`** – the *full* edition; only needed when you require synchronous script timing for scoped scripts and "live" scripts.
463+
* **`main.lite.js`** – the *lite* edition; the default and recommended. Provides async execution for scoped scripts and "live" scripts.
464+
* **`main.js`** – the *full* edition; needed when you require synchronous script timing for scoped scripts and "live" scripts.
465465

466466
### 2. Via npm
467467

@@ -482,7 +482,7 @@ init.call(window, UseLive/*, options */);
482482

483483
#### SSR with jsdom
484484

485-
For pure server-side operations and SSR, install `jsdom` and use its `window` as OOHTML's `window` option:
485+
For pure server-side operations and SSR, install `jsdom` and use its `window` object as OOHTML's `window` option:
486486

487487
```js
488488
import { JSDOM } from "jsdom";

0 commit comments

Comments
 (0)