Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

intljs-rails

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

intljs-rails

  • 0.1.4.3
  • Rubygems
  • Socket score

Version published
Maintainers
1
Created
Source

intljs-rails

Intl.js gemificated

Version

I will follow Intl.js version numbers.

Installation

Add this line to your application's Gemfile:

gem 'intljs-rails'

And then execute:

$ bundle

Or install it yourself as:

$ gem install intljs-rails

Usage

The Intl.js files will be added to the asset pipeline and available for you to use. So, you should add, in app/assets/javascripts/application.js, these lines:

//= require Intl

IntlPolyfill.__addLocaleData({locale-data/json})

Where {locale-data/json} is the content of a wanted locales

Or, you can add all locales using:

//= require Intl.complete

IntlPolyfill.__addLocaleData({locale-data/json})

Contributing

Feel free to open an issue ticket if you find something that could be improved. A couple notes:

  • If it's an issue pertaining to the Intl javascript, please report it to the Intl.js project.

  • If the Intl scripts are outdated (i.e. maybe a new version of was released yesterday), feel free to open an issue and prod us to get that thing updated. However, for security reasons, we won't be accepting pull requests with updated Intl scripts.

Acknowledgements

Many thanks to jquery-rails project for so good README reference ;)

FAQs

Package last updated on 23 Mar 2015

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc