lib/generators/half_pipe/templates/app/scripts/main.js in half-pipe-0.3.0.alpha.2 vs lib/generators/half_pipe/templates/app/scripts/main.js in half-pipe-0.3.0.alpha.3
- old
+ new
@@ -1,17 +1,15 @@
'use strict';
define('<%= main_module_name %>',
[
// Add your dependencies here
+ 'jquery',
+ 'jquery-ujs'
],
- function(/* modules */){
+ function($){
- function initialize(){
// Add your initialization code here
- }
-
- return initialize;
}
);