Last active
August 29, 2015 14:02
-
-
Save aroc/5ecc7921fbfd5fc26731 to your computer and use it in GitHub Desktop.
init-side-comments
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// First require it. | |
var SideComments = require('side-comments'); | |
// Then, create a new SideComments instance, passing in the wrapper element and the optional the current user and any existing comments. | |
sideComments = new SideComments('#commentable-area', currentUser, existingComments); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment