Commit b690c19d authored by Bryce Johnson's avatar Bryce Johnson

Use parentheses in IFFE's as per AirBnb styleguide.

parent 4ae2a302
(global => { ((global) => {
class Profile { class Profile {
constructor(opts = {}) { constructor(opts = {}) {
this.onSubmitForm = this.onSubmitForm.bind(this); this.onSubmitForm = this.onSubmitForm.bind(this);
......
(global => { ((global) => {
const KEYCODE = { const KEYCODE = {
ESCAPE: 27, ESCAPE: 27,
......
(global => { ((global) => {
class Todos { class Todos {
constructor(opts = {}) { constructor(opts = {}) {
......
(global => { ((global) => {
global.User = class { global.User = class {
constructor(opts) { constructor(opts) {
this.opts = opts; this.opts = opts;
......
...@@ -57,7 +57,7 @@ content on the Users#show page. ...@@ -57,7 +57,7 @@ content on the Users#show page.
</div> </div>
</div> </div>
*/ */
(global => { ((global) => {
class UserTabs { class UserTabs {
constructor (opts) { constructor (opts) {
this.loaded = {}; this.loaded = {};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment