-
-
Notifications
You must be signed in to change notification settings - Fork 140
Comparing changes
Open a pull request
base repository: remarkablemark/html-react-parser
base: v0.0.2
head repository: remarkablemark/html-react-parser
compare: v0.0.3
- 10 commits
- 10 files changed
- 2 contributors
Commits on Aug 24, 2016
-
Refactor HTML to DOM modules and environment detection logic
Move the client/server environment detection logic to the entry file. Rename `lib/html-to-dom.js` to `lib/html-to-dom-server.js` and move the client-side parsing logic to `lib/html-to-dom-client.js`. `lib/html-to-dom-server.js` will only contain the server-side logic. Fix and update the tests.
Configuration menu - View commit details
-
Copy full SHA for cfeaea5 - Browse repository at this point
Copy the full SHA cfeaea5View commit details -
Merge pull request #5 from remarkablemark/refactor-html-to-dom
Refactor HTML to DOM modules and environment detection logic
Configuration menu - View commit details
-
Copy full SHA for 58e81cc - Browse repository at this point
Copy the full SHA 58e81ccView commit details -
Ignore
lib/html-to-dom-serverwhen bundling for the browserAlso, fix the require path for `html-to-dom-client` module in the entry file `index.js`.
Configuration menu - View commit details
-
Copy full SHA for 3195109 - Browse repository at this point
Copy the full SHA 3195109View commit details -
Make package UMD (Univeral Module Definition) compatible
Wrap main logic so that it can be loaded by CommonJS (node and bundlers like webpack), AMD (RequireJS), and browser script. UMD template: https://github.com/ForbesLindesay/umd/blob/master/template.js
Configuration menu - View commit details
-
Copy full SHA for 38352d9 - Browse repository at this point
Copy the full SHA 38352d9View commit details -
Disable eslint warnings in UMD module
index.jsAlso add `.npmignore` file to `.npmignore`
Configuration menu - View commit details
-
Copy full SHA for f109b58 - Browse repository at this point
Copy the full SHA f109b58View commit details -
Merge pull request #9 from remarkablemark/umd
UMD compatibility
Configuration menu - View commit details
-
Copy full SHA for 15cc84c - Browse repository at this point
Copy the full SHA 15cc84cView commit details -
`DOMParser` was nesting certain elements (e.g., div) in `<html>` and `body` so formatting the child nodes of document gave incorrect results. Update logic so that the correct nodes are parsed and formatted.
Configuration menu - View commit details
-
Copy full SHA for 80ca2e2 - Browse repository at this point
Copy the full SHA 80ca2e2View commit details -
Throw an error if the first argument for the parser is not a string
This is to give the user gets feedback if the first argument is invalid. Also, add tests to confirm behavior.
Configuration menu - View commit details
-
Copy full SHA for 8cd62a8 - Browse repository at this point
Copy the full SHA 8cd62a8View commit details -
Merge pull request #10 from remarkablemark/html-to-dom-client
Fix HTML to DOM client parser
Configuration menu - View commit details
-
Copy full SHA for becc168 - Browse repository at this point
Copy the full SHA becc168View commit details -
- Make package compatible with UMD (Universal Module Definition) - Fix bug in client parser (regarding HTML to DOM logic) - Throw error if first argument for parser is not a string - Refactor code and environment detection logic
Configuration menu - View commit details
-
Copy full SHA for ab2b86e - Browse repository at this point
Copy the full SHA ab2b86eView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v0.0.2...v0.0.3