jquery-atwho-rails

by ichord

202 Stars 38 Forks Last release: Not found MIT License 71 Commits 32 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Usage


Bind your textarea

$(function(){
    data = ['tom','john'];
    $('textarea').atwho({at:"@", 'data':data});
});

that's it, check it out! more details in At.js Home Page

Installation


Rails 3.0.x

Issue command line bellow:

rails generate atwho:install

then It will show in
public/[javascript|stylesheets]/
directory.

Rails >= 3.1.x

Add this gem in

Gemfile
like this:
gem 'jquery-atwho-rails'

add in

app/assets/javascripts/application.js
:
//= require jquery
//= require jquery.atwho

and in

app/assets/stylesheets/applications.css
:
//=require jquery.atwho

History Versions

All in At.js project.

Development


Test generator

Just issue

bundle
then
appraisal rails30 rspec

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.