Sha256: 991411be1801bafbeee916e86c1fa60acc1cc82cedd117a1d3b470431dec43f0
Contents?: true
Size: 788 Bytes
Versions: 1
Compression:
Stored size: 788 Bytes
Contents
# Appjs::Rails [![Gem Version](https://badge.fury.io/rb/appjs-rails.png)](http://badge.fury.io/rb/appjs-rails) The additional library for javaScript ## Installation Add this line to your application's Gemfile: gem 'appjs-rails' And then execute: $ bundle Or install it yourself as: $ gem install appjs-rails ## Usage Creation new singleton ```javascript app._addSingleton('example', function() { return { toString: 'Class Example' } } ); app.example.init(); app.example.toString; // 'Class Example' ``` Generaion UUID ```javascript app._uuid(); //6b644386-6ccb-98af-1144-6b8de194387a ``` # License appjs-rails uses the MIT license. Please check the [LICENSE][] file for more details. [license]: https://github.com/raglub/appjs-rails/blob/master/LICENSE
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
appjs-rails-1.0.0 | README.md |