diff options
author | Regis <boudinot.regis@yahoo.com> | 2016-08-04 12:18:00 -0600 |
---|---|---|
committer | Regis <boudinot.regis@yahoo.com> | 2016-08-25 17:27:20 -0600 |
commit | 7ed0acd422a95c4cbb1406f67929a5da669f2681 (patch) | |
tree | 7a08568809dc705c7b190873091cdac0484366f9 /app/views/users | |
parent | bceafa4e8eb7141771bb759fc9b4d625794f784a (diff) | |
download | gitlab-ce-7ed0acd422a95c4cbb1406f67929a5da669f2681.tar.gz |
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
Diffstat (limited to 'app/views/users')
-rw-r--r-- | app/views/users/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/users/show.html.haml b/app/views/users/show.html.haml index c7f39868e71..9a052abe40a 100644 --- a/app/views/users/show.html.haml +++ b/app/views/users/show.html.haml @@ -123,6 +123,6 @@ :javascript var userProfile; - userProfile = new User({ + userProfile = new gl.User({ action: "#{controller.action_name}" }); |