Skip to content

gitcafe-dev/jquery-atwho-rails

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Usage


Bind your textarea

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

then add
//= require jquery.atwho/index to app/assets/javascripts/application.js and add //=require jquery.atwho to app/assets/stylesheets/applications.css

History Versions

All in At.js project.

Development


Test generator

Just issue
bundle then rspec

Packages

No packages published

Languages

  • JavaScript 84.3%
  • Ruby 13.6%
  • CSS 2.1%