Use parentheses in IFFE's as per AirBnb styleguide.
This commit is contained in:
parent
4ae2a30269
commit
b690c19dbf
|
@ -1,4 +1,5 @@
|
|||
(global => {
|
||||
((global) => {
|
||||
|
||||
class Profile {
|
||||
constructor(opts = {}) {
|
||||
this.onSubmitForm = this.onSubmitForm.bind(this);
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(global => {
|
||||
((global) => {
|
||||
|
||||
const KEYCODE = {
|
||||
ESCAPE: 27,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(global => {
|
||||
((global) => {
|
||||
|
||||
class Todos {
|
||||
constructor(opts = {}) {
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
(global => {
|
||||
((global) => {
|
||||
global.User = class {
|
||||
constructor(opts) {
|
||||
this.opts = opts;
|
||||
|
|
|
@ -57,7 +57,7 @@ content on the Users#show page.
|
|||
</div>
|
||||
</div>
|
||||
*/
|
||||
(global => {
|
||||
((global) => {
|
||||
class UserTabs {
|
||||
constructor (opts) {
|
||||
this.loaded = {};
|
||||
|
|
Loading…
Reference in New Issue