0.01
No commit activity in last 3 years
No release in over 3 years
See: https://github.com/requirejs/almond
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
 Dependencies

Development

Runtime

>= 4.2
 Project Readme

Almond for Rails

Usage

In your Gemfile:

gem 'almond-rails'

Then add to app/assets/javascripts/application.js:

//= require almond 

Then you can use the require method in your es6 javascript:

var module = require('path/to/module/my_class')
new module.MyClass()