updated to v0.2.0
.
The stable and old one would live in branch stable-v0.1.x
branch taged v0.1.7
More details in At.js project.
bind your textarea
data = ['tom','john'];
$('textarea').atWho("@",{'data':data});
that's it, check it out! more details in At.js Home Page
issue commnd line bellow:
rails generate atwho:install
then It will show in public/[javascript|stylesheets]/
directory.
add this gem in Gemfile
like this:
gem jquery-atwho-rails
then add
//= require jquery.atwho
to app/assets/javascripts/application.js
and app/assets/stylesheets/applications.css
just issue
bundle
then rspec