Skip to content

Add examples#26

Merged
remarkablemark merged 3 commits intomasterfrom
examples
Sep 28, 2016
Merged

Add examples#26
remarkablemark merged 3 commits intomasterfrom
examples

Conversation

@remarkablemark
Copy link
Copy Markdown
Owner

Chore:

  • Create examples directory
  • Create ./examples/script-tag.html that demonstrates loading the parser with a script tag
  • Create ./examples/requirejs.html that demonstrates loading the parser with Require.js
  • Add examples to .npmignore

- Create directory `./examples/`
- Create HTML file in `./examples/` with a working example of
  loading the parser with a script tag
Create an HTML file in `./examples/ that loads the parser and
React with Require.js
@remarkablemark remarkablemark added the documentation Improvements or additions to documentation label Sep 27, 2016
@remarkablemark remarkablemark self-assigned this Sep 27, 2016
@coveralls
Copy link
Copy Markdown

Coverage Status

Coverage remained the same at 97.949% when pulling e48a9f0 on examples into 43f46ce on master.

@remarkablemark remarkablemark merged commit cfffc97 into master Sep 28, 2016
@remarkablemark remarkablemark deleted the examples branch September 28, 2016 03:27
remarkablemark added a commit that referenced this pull request Sep 28, 2016
- Update build (#25):
  - Change filenames in `dist/` to `html-react-parser`
- Create examples (#26):
  - Examples found in the directory `examples/`
  - Add `script-tag.html`, which is an example of loading the
    parser via the CDN
  - Add `requirejs.html`, which is an example of loading the
    parser via Require.js
- Update `README.md` (#27):
  - Reword and tidy description and instructions
  - Update installation with CDN link
  - Refactor and tidy examples using ES6 and JSX
- Update `.npmignore`:
  - Add `webpack.config.js`
  - Add `examples`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants