mirror of
https://github.com/lloeki/sprockets-umodule.git
synced 2025-12-06 10:34:41 +01:00
Initial, working version
This commit is contained in:
commit
e9a75766fd
12 changed files with 196 additions and 0 deletions
7
lib/sprockets/umodule/umodule.js.erb
Normal file
7
lib/sprockets/umodule/umodule.js.erb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
(function () {
|
||||
define = require('module').define;
|
||||
|
||||
define('<%= module_name %>', function (exports, require, module) {
|
||||
<%= source %>
|
||||
});
|
||||
})();
|
||||
Loading…
Add table
Add a link
Reference in a new issue