Skip to content

wudragonfly/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: 'wudragonfly/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 https://github.com/faisalman/ua-parser-js available to the Rails asset pipeline.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published