turned ES5 users.js to ES6 users.js.es6 for babel
added semicolons
remove users.js
rename users to user in filename
removed uneeded semi-colons and returning null in constructor
class is wrapped - a lot of builds will fail
formatting
replaced 'new User' with 'new gl.User' in app/users/show.html.haml
window.gl || window.gl = {} - seeing if rspec9/spinach6/spinach9 will pass
putting window logic before IIFE
Fixed typo in users show view - extracted jquery calls in constructor to prototype methods
fixed window declaration in IIFE argument
adding new line
Showing
app/assets/javascripts/user.js
deleted
100644 → 0
app/assets/javascripts/user.js.es6
0 → 100644
Please
register
or
sign in
to comment