Skip to content

Commit 2c8bf18

Browse files
committed
v2.0
1 parent 25b0702 commit 2c8bf18

4 files changed

Lines changed: 37 additions & 23 deletions

File tree

README.html

Lines changed: 16 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>Table of contents</title>
4+
<title>data-context</title>
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5/dist/css/bootstrap.min.css" />
77
<script crossorigin="anonymous" src="https://cdn.jsdelivr.net/npm/bootstrap@5/dist/js/bootstrap.bundle.min.js"></script>
@@ -30,6 +30,13 @@
3030
</head>
3131
<body>
3232
<div class="row w-100">
33+
<div class="col-12 text-center">
34+
<h1 id="data-context">data-context</h1>
35+
<p>Watch data changes in the browser and node.js<br>
36+
This manual is also available in <a href="https://manuel-lohmus.github.io/data-context/README.html">HTML5</a>.<br></p>
37+
</div>
38+
</div>
39+
<div class="row w-100">
3340
<div class="col-lg-3 d-lg-inline">
3441
<div class="sticky-top overflow-auto vh-lg-100">
3542
<div id="list-headers" class="list-group mt-2 ms-lg-2 ms-4">
@@ -63,16 +70,15 @@ <h4 id="table-of-contents">Table of contents</h4>
6370

6471
<div class="col-lg-9 mt-2">
6572
<div class="ps-4 markdown-body" data-bs-spy="scroll" data-bs-target="#list-headers" data-bs-offset="0" tabindex="0">
66-
<h1 id="data-context">data-context</h1>
67-
<p>Watch data changes in the browser and node.js<br>
68-
This manual is also available in <a href="https://manuel-lohmus.github.io/data-context/README.html">HTML5</a>.<br></p>
69-
<!--[![npm-version](https://badgen.net/npm/v/data-context)](https://www.npmjs.com/package/data-context)-->
7073
<h2 id="introduction">Introduction</h2>
71-
<p>It is a simple and easy-to-use library that can be used in the browser or in node.js.<br>
72-
You can create a context from the data, then listen for change events and stringify changes.<br>
73-
Included event-emitter functions. Automatically detects changes in the data and emits events.<br>
74-
Designed for module 'data-context-binding' for binding data to the DOM and for module 'fs-broker' for working with files.<br>
75-
Using a single-page application (SPA) with the <a href="https://www.npmjs.com/package/data-context-binding">'data-context-binding'</a> module gives very good results.<br></p>
74+
<p>It is a simple and easy-to-use library that can be used in the browser or in node.js.
75+
You can create a context from the data, then listen for change events and stringify changes.
76+
Included event-emitter functions. Automatically detects changes in the data and emits events.
77+
Designed for module 'data-context-binding' for binding data to the DOM and for module 'fs-broker' for working with files.
78+
Using a single-page application (SPA) with the <a href="https://www.npmjs.com/package/data-context-binding">'data-context-binding'</a> module gives very good results.
79+
This module is part of the <a href="https://www.npmjs.com/package/conextra">'conextra'</a> framework,
80+
which is a simple and easy-to-use single-page application (SPA) framework.
81+
You have to try it! A different solution than MVC (model–view–controller).</p>
7682
<blockquote>
7783
<p>Please note, this version is not backward compatible with version 1.x<br>
7884
Please note that JSON string is not 100% compatible.<br>

README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,13 @@
1+
<div class="row w-100">
2+
<div class="col-12 text-center">
3+
4+
# data-context
5+
6+
Watch data changes in the browser and node.js<br>
7+
This manual is also available in [HTML5](https://manuel-lohmus.github.io/data-context/README.html).<br>
18

9+
</div>
10+
</div>
211
<div class="row w-100">
312
<div class="col-lg-3 d-lg-inline">
413
<div class="sticky-top overflow-auto vh-lg-100">
@@ -28,19 +37,17 @@
2837
<div class="col-lg-9 mt-2">
2938
<div class="ps-4 markdown-body" data-bs-spy="scroll" data-bs-target="#list-headers" data-bs-offset="0" tabindex="0">
3039

31-
# data-context
32-
33-
Watch data changes in the browser and node.js<br>
34-
This manual is also available in [HTML5](https://manuel-lohmus.github.io/data-context/README.html).<br>
35-
<!--[![npm-version](https://badgen.net/npm/v/data-context)](https://www.npmjs.com/package/data-context)-->
3640

3741
## Introduction
3842

39-
It is a simple and easy-to-use library that can be used in the browser or in node.js.<br>
40-
You can create a context from the data, then listen for change events and stringify changes.<br>
41-
Included event-emitter functions. Automatically detects changes in the data and emits events.<br>
42-
Designed for module 'data-context-binding' for binding data to the DOM and for module 'fs-broker' for working with files.<br>
43-
Using a single-page application (SPA) with the ['data-context-binding'](https://www.npmjs.com/package/data-context-binding) module gives very good results.<br>
43+
It is a simple and easy-to-use library that can be used in the browser or in node.js.
44+
You can create a context from the data, then listen for change events and stringify changes.
45+
Included event-emitter functions. Automatically detects changes in the data and emits events.
46+
Designed for module 'data-context-binding' for binding data to the DOM and for module 'fs-broker' for working with files.
47+
Using a single-page application (SPA) with the ['data-context-binding'](https://www.npmjs.com/package/data-context-binding) module gives very good results.
48+
This module is part of the ['conextra'](https://www.npmjs.com/package/conextra) framework,
49+
which is a simple and easy-to-use single-page application (SPA) framework.
50+
You have to try it! A different solution than MVC (model–view–controller).
4451

4552
> Please note, this version is not backward compatible with version 1.x<br>
4653
> Please note that JSON string is not 100% compatible.<br>

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "data-context",
33
"description": "Watch data changes in the browser and node.js",
4-
"version": "2.0.0-beta.28",
4+
"version": "2.0.0-rc.1",
55
"license": "MIT",
66
"keywords": [
7+
"conextra",
78
"on",
89
"change",
910
"watch",

0 commit comments

Comments
 (0)