Skip to content

A gem that makes ua-parser-js available to the Rails asset pipeline.

License

Notifications You must be signed in to change notification settings

viki-org/ua-parser-js-rails

 
 

Repository files navigation

ua-parser-js-rails

This is a gem that makes ua-parser-js available to the Rails asset pipeline.

Installation

Add this line to your application's Gemfile:

gem 'ua-parser-js-rails', github: 'viki-org/ua-parser-js-rails'

And then execute:

$ bundle

Usage

Include the following line to your application.js

//= require ua-parser.js

For details usage in js, please refer to https://github.com/faisalman/ua-parser-js

About

A gem that makes ua-parser-js available to the Rails asset pipeline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Ruby 96.4%
  • Shell 3.6%