Socket
Book a DemoInstallSign in
Socket

imgareaselect-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imgareaselect-rails

1.0.2
bundlerRubygems
Version published
Maintainers
1
Created
Source

imgAreaSelect for Rails

Places imgAreaSelect into the Rails asset pipeline.

Versioning

This project uses Semantic Versioning and will attempt to account for the underlying imgAreaSelect JavaScript library versioning.

Installation

Add this line to your application's Gemfile:

gem 'imgareaselect-rails', '~> 1.0'

And then execute:

$ bundle

Application Wide Usage

In your application.js:

//= require jquery.imgareaselect

In your application.scss

@import 'imgareaselect-default'

or

@import 'imgareaselect-animated'

or

@import 'imgareaselect-deprecated'

Per Page Usage

On the page you want to use it on include a stylesheet and the JavaScript:

<%= stylesheet_link_tag 'imgareaselect-default' %>
<%= javascript_include_tag 'jquery.imgareaselect' %>

Updating

When new versions of imgAreaSelect are released the gem will be updated. If there's no update for the current version, contact me or contribute by updating the library and issuing a pull request.

Contributing

  • Fork it
  • Create your feature branch (git checkout -b my-new-feature)
  • Commit your changes (git commit -am 'Added some feature')
  • Push to the branch (git push origin my-new-feature)
  • Create new Pull Request

FAQs

Package last updated on 04 Feb 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.