jQuery.feedback

A clone of branch(http://branch.com) feedback widget.

View the Project on GitHub siong1987/jquery.feedback

jQuery.Feedback

I create this clone of the Branch's feedback widget on the site. You can check out the demo on this site at the bottom right corner.

Usage

First, you have to include both js/jquery.feedback.js and css/jquery.feedback.css files on your page.

Then, create a dom with id feedback-anchor on your page:

<div id="feedback-anchor"></div>

Then, you can initialize the Feedback widget on your page via:

Feedback.init
  placeholder: 'Feedback? Let us know here.'
  send_callback: ->
  thanks_message: """
<p>Thanks for your feedback!</p>
<div class="indent">
  - siong1987
</div>
    """

Help/Issues

The code is extremely simple. Just read the source code if you have any questions. Or, you can create a GitHub issue, I will look at them as soon as I have the time.

Contact

Let me know if you want to talk to me about this plugin. You can email me siong(1900+87) (at) gmail (dot) com.

LICENSE

(The MIT License)

Copyright (c) 2013 Teng Siong Ong

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.