DisqusJS

Render Disqus comments in Mainland China using Disqus API

MIT License

Downloads
2.9K
Stars
630
Committers
4

Bot releases are visible (Hide)

DisqusJS - 3.0.0 Latest Release

Published by SukkaW over 2 years ago

Breaking Changes

DisqusJS 3.0.0 now requires calling render() to render the comment list on the DOM.

Changes

Completely rewrite DisqusJS using React, and bundle browser version using preact.

DisqusJS - 1.3.0

Published by SukkaW over 4 years ago

Breaking Changes

  • DisqusJS is now using Fetch instead of XMLHttpRequest. Adding polyfill if necessary.
<!-- Polyfill must be loaded before DisqusJS -->
<!-- Promise Polyfill -->
<script src="https://cdn.jsdelivr.net/npm/promise-polyfill@8/dist/polyfill.min.js"></script>
<!-- Fetch Polyfill -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/fetch.umd.min.js"></script>

Changes

  • Enable babel loose for dist build. Smaller bundle size.
  • Auto replace a.disquscdn.com with c.disquscdn.com for better reachability.
  • Add nofollow noopener noreferrer attributes for <a> tag.
  • Move all dependencies to devDependencies (Good News for people import DisqusJS from NPM)
DisqusJS - 1.2.6

Published by SukkaW almost 5 years ago

  • refactor: remove inappropriate styles
  • feat: use DISQUS.reset when reloading
DisqusJS - 1.2.5

Published by SukkaW over 5 years ago

Bug Fixed

  • fix(#26): a workaround

Feature

  • feat(nesting): custom nesting configuration

Experimental, README needs update.

DisqusJS - 1.2.3

Published by SukkaW over 5 years ago

Bug Fixed

  • fix: variable disqusjs is object

Feature

  • feat(config): allow to specify page's title

Changes

  • fix(css): encode disqus svg logo
DisqusJS - 1.2.2

Published by SukkaW over 5 years ago

Bug Fixed

  • fix: indentation in for...of

Babel can't transform it to be compatible with old browsers.

Feature

There is no more features added to this release.

Changes

There is no more unimportant changes added to this release.

DisqusJS - 1.2.0

Published by SukkaW over 5 years ago

Bug Fixed

There were no bugs fixed in this release.

Feature

  • feat: support multi apikey configuration. Check README for more detail
  • feat(#20): bring up sort features

Vistors can now sort comments in Descending, Ascending and Most popular order.

Changes

  • refactor: use use /threads/listPostsThreaded instead of /posts/list.json as api endpoint

Ref: https://blog.fooleap.org/disqus-api-comments-order-by-desc.html

  • feat(sort): comments has parent will be sorted in ascending order
DisqusJS - 1.1.1

Published by SukkaW over 5 years ago

Bug Fixed

There were no bugs fixed in this release.

Feature

  • feat: add msg when checking disqus availability

Changes

  • refactor: rewrite some code in ES6 standard
  • refactor: make code quality to A:
DisqusJS - 1.1.0

Published by SukkaW almost 6 years ago

  • Fix #13 & #17: Say hello to UMD!

It is highly recommended to upgrade to this version if you are using NPM to import DisqusJS into your project.

DisqusJS - 1.0.10

Published by SukkaW almost 6 years ago

  • fix: regex match for <a> tag
DisqusJS - 1.0.9

Published by SukkaW almost 6 years ago

  • fix #13 from #15: add export default.
DisqusJS - 1.0.8

Published by SukkaW almost 6 years ago

Bug Fixed

  • fix: regex match for <a> tag
DisqusJS - 1.0.7

Published by SukkaW almost 6 years ago

Bug Fixed

  • feat/fix: avoid duplicate listener of loading more comment
DisqusJS - 1.0.6

Published by SukkaW almost 6 years ago

Bug Fixed

  • fix(#8): avoid nesting comment missing parent
DisqusJS - 1.0.4

Published by SukkaW almost 6 years ago

Bug fixed

  • fix/merge(#7): comma between children comments
DisqusJS - 1.0.2

Published by SukkaW almost 6 years ago

Improvements

  • feat/fix(#6): show deleted comment
  • feat: disable the load-more button when loading more comments

Using css pointer-events and not supports ie10-

DisqusJS - 1.0.1

Published by SukkaW almost 6 years ago

Bug fixed

  • fix(#5): missing event listener
DisqusJS -

Published by SukkaW almost 6 years ago

DisqusJS -

Published by SukkaW about 6 years ago

DisqusJS -

Published by SukkaW about 6 years ago

Package Rankings
Top 2.53% on Npmjs.org
Badges
Extracted from project README
npm version Author npm license jsDelivr Hits