Skip to content

Easily add a nested comments javascript/jquery system to your web page.

Notifications You must be signed in to change notification settings

rnjailamba/CommentsJS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPM npm version build status npm downloads

Comments for your html page

Easy addition of comments to your html page! [DEMO - http://rnjailamba.github.io/CommentsJS/demo]

Requirements

Just any html page and commentsjs will add a comments system!

Installation

  npm install commentsjs --save

After Installation

You will find the comments.js file in node_modules/commentsjs/dist/comments.js.
You will find the comments.css file in node_modules/commentsjs/dist/comments.css.
Please include the comments.js file after including jQuery.
Please check node_modules/commentsjs/demo/index.html for a very easy example.
Or just copy stuff from here -> https://goo.gl/hhMTfZ

Usage - Example 1

Just include the following script tag on your HTML page.( after jquery and comments.js and comments.css)

<script>
	$(document).ready( function() {
		$( "#element" ).comments();
	} );
</script>

Tests

   npm test

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 0.0.0 Initial release
  • 0.0.1 Initial release
  • 0.0.2 Initial release
  • 0.0.3 Initial release
  • 0.0.4 Initial release
  • 0.0.5 Initial release
  • 0.0.6 Initial release
  • 0.0.7 Initial release
  • 0.0.8 Initial release

About

Easily add a nested comments javascript/jquery system to your web page.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published