patch(#142): added examples README.md
This commit is contained in:
@@ -1,5 +1,8 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
## 4.2.4
|
||||||
|
* patch: fixes [#142](https://github.com/wickedest/Mergely/issues/142). Added README.md to examples.
|
||||||
|
|
||||||
## 4.2.3
|
## 4.2.3
|
||||||
* patch: fixes [#147](https://github.com/wickedest/Mergely/issues/147). Fixes the css style for the currently selected change.
|
* patch: fixes [#147](https://github.com/wickedest/Mergely/issues/147). Fixes the css style for the currently selected change.
|
||||||
|
|
||||||
|
|||||||
32
examples/README.md
Normal file
32
examples/README.md
Normal file
@@ -0,0 +1,32 @@
|
|||||||
|
# Mergely examples
|
||||||
|
|
||||||
|
To run these examples, you need to run:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
$ npm start
|
||||||
|
```
|
||||||
|
|
||||||
|
This runs Mergely in a hot dev-server for development.
|
||||||
|
|
||||||
|
## Main example
|
||||||
|
http://localhost:8080
|
||||||
|
|
||||||
|
Shows basic functionality.
|
||||||
|
|
||||||
|
## Ajax example
|
||||||
|
|
||||||
|
http://localhost:8080/examples/ajax.html
|
||||||
|
|
||||||
|
Who still says "ajax" these days? Anyway, this example demonstrates how to load your left-hand and right-hand sources from external URL, and also how to skin your own editor, and provide drop-file functionality.
|
||||||
|
|
||||||
|
## Simple example
|
||||||
|
|
||||||
|
This example demonstrates how to load your left-hand and right-hand sources from static text.
|
||||||
|
|
||||||
|
http://localhost:8080/examples/simple.html
|
||||||
|
|
||||||
|
## Size example
|
||||||
|
|
||||||
|
This example demonstrates how to size your editors, and also how to have multiple editors on the same page.
|
||||||
|
|
||||||
|
http://localhost:8080/examples/size.html
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "mergely",
|
"name": "mergely",
|
||||||
"version": "4.2.3",
|
"version": "4.2.4",
|
||||||
"description": "A javascript UI for diff/merge",
|
"description": "A javascript UI for diff/merge",
|
||||||
"directories": {
|
"directories": {
|
||||||
"doc": "doc",
|
"doc": "doc",
|
||||||
|
|||||||
Reference in New Issue
Block a user