Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Jan 31 2019 08:18
    FieryCod commented #1379
  • Jan 30 2019 10:01
    atif089 commented #1379
  • Jan 30 2019 10:01
    atif089 commented #1379
  • Jan 30 2019 10:01
    atif089 commented #1379
  • Jan 30 2019 04:11
    tclindner opened #1998
  • Jan 28 2019 05:21

    ljharb on master

    [eslint config] [base] [patch] … [eslint config] [patch] extend … Merge pull request #1996 from r… (compare)

  • Jan 28 2019 05:21
    ljharb closed #1996
  • Jan 28 2019 04:50
    ljharb synchronize #1996
  • Jan 27 2019 21:45
    ljharb closed #1997
  • Jan 27 2019 21:45

    ljharb on master

    [editorial] [react] fix typo [eslint config] [*] [deps] upda… (compare)

  • Jan 27 2019 21:39
    ljharb synchronize #1997
  • Jan 27 2019 21:39
    ljharb labeled #1997
  • Jan 27 2019 21:39
    ljharb labeled #1997
  • Jan 26 2019 18:14
    ljharb labeled #1996
  • Jan 26 2019 18:14
    ljharb labeled #1996
  • Jan 26 2019 18:13
    ljharb synchronize #1996
  • Jan 26 2019 18:05
    ljharb commented #1996
  • Jan 26 2019 08:55
    telmen opened #1997
  • Jan 24 2019 19:37
    peteclark3 commented #1689
  • Jan 24 2019 17:25
    ljharb commented #747
Varun Kumar Yadav
@varun054
Hello guys,
how to send the cookies values with javascript redirect?
window.location = API_URL
Jordan Harband
@ljharb
don't ask twice. wait. hours if necessary.
Jordan Harband
@ljharb
this is a channel for discussing the airbnb javascript style guide, it's not a generic help channel
Constantinos Sergiou
@constantinosergiou
sorry
Anna
@AnnaVih

hi everyone!I have got some task which I can not really figure out. I would appreciate any help

I have got an array of arrays
[
[ 'STD', 'Standard', '5.5', '7.83', '9.9' ],
[ 'STD', 'Standard', '8.5', '7.83', '9.9' ],
[ 'STD', 'Standard', '9', '7.83', '9.9' ],
[ 'STD', 'Standard', '8.25', '7.83', '9.9' ]
]
I need to loop over them and return something like this -
[
['STD', 'Standard', '31.25', '7.83', '9.9' ]
]
where the 3 element is a sum of all 3 elements of previous arrays

Scott Stern
@sstern6
this is a channel for discussing the airbnb javascript style guide, it's not a generic help channel
Benjamin Grandfond
@benja-M-1
Hi 👋I don't know if it is the right place but I am wondering how you guys use the styleguide at airbnb
How newcomers are aware of the rules? I guess they don't need to be aware of those automatically detected. But for the rest of the rules, how do they know them?
Jordan Harband
@ljharb
@benja-M-1 that's a great question - definitely the lintable things they find out about on their own, because they can't merge code that violates these. For the others, we rely on code review to communicate these sorts of things (and in onboarding, everyone is made aware of the existence of the guide, and encouraged to read it)
Benjamin Grandfond
@benja-M-1
@ljharb thank you very much
Jordan Harband
@ljharb
@ruegen ##javascript on freenode irc - this one is for airbnb's javascript styleguide
Paulo Ceami
@PauloCeami
how to populate select values on jquery each data ?
how to populate select values on jquery each data ?
how to populate select values on jquery each data ?
Jordan Harband
@ljharb
@pauloceami this is a channel for airbnb's style guide repo, not for general JS questions
Godfrey
@sisimogangg
The name of the channel is misleading. Airbnb Javascript would have sufficed.
Jordan Harband
@ljharb
it's named after the repo
gitter channels are primarily for specific repos
use irc for more general topics
Rahil Vora
@rahilvora
@ljharb I am new to open source contribution and would like to contribute to this repo. Any specific issue which could help me started with contribution ?
Jordan Harband
@ljharb
since this is a style guide, there’s not many things that external contributors can help with. Take a look at https://github.com/airbnb/javascript/labels/pull%20request%20wanted
Rahil Vora
@rahilvora
any other repo which require heavy contribution and I can contribute and learn . ?
Jordan Harband
@ljharb
enzyme has a lot of pr wanted labeled things
Rahil Vora
@rahilvora
Great, I'll look into it
Mr. Tomtastic Hoffmann
@Bot-Mr-Tomtastic
@sstern6 Where do you suggest people to receive generic help?
Mr. Tomtastic Hoffmann
@Bot-Mr-Tomtastic
is there a begginner room for learners that anyone knows of?
Jordan Harband
@ljharb

javascript on freenode irc

gitter's better for per-repo questions
Vasim Akram
@iamvasim786
how to use rabbitmq web-stomp in my angular app.
Abdo Essam
@abdo2017
hello
Jordan Harband
@ljharb
ih
hi
Abdo Essam
@abdo2017
hi
Jordan Harband
@ljharb
how can i help you
Karma Drukpa
@coderkarma
HI
mm2079
@mm2079
I got a question: I am not sure how bind.apply works. I understand what bind and apply do individually but bind.apply is confusing me.
Jordan Harband
@ljharb
ok so any .apply is the same Function.prototype.apply
and any .bind is the same Function.prototype.bind
so, bind.apply(f, ...a) is the same as f.bind(...a), but without relying on f having the right 1st bind` property go f
mm2079
@mm2079
Holly s**t that makes sense
Thank you.
Spent 2 hours just to figure this out
Jordan Harband
@ljharb
no prob
soyong20161205
@soyong20161205
Hi, guys, anybody who has created upwork.com account? please let me know to collaborate!
mm2079
@mm2079
@ljharb need help on one more thing. when one constructor is inheriting from another constructor we write superConstructor.call( this, args ). I know thats not how its done in es6 but I am trying to understand within the context of es5.
What goes on behind this superContructor.call( this, args )?
ajay yadav
@ajay7868
can any one help this is two object
1.{ list:
[ { charge: null,
token: 'paiobxkk',
createdAt: 1546932494537,
startAt: 1546932499188,
finishedAt: 1546932799007,
},
{ charge: null,
token: 'ngcirhef',
createdAt: 1547640798354,
startAt: 1547640802267,
finishedAt: 1547640871419,
},
{ charge: null,
token: 'vcfgmkgw',
createdAt: 1547641171247,
startAt: 1547641175871,
finishedAt: 1547641385636,
},
{ charge: null,
token: 'simzjbns',
createdAt: 1548155160674,
startAt: 1548155163693,
finishedAt: 1548155247664,
} ],}
[ { chatId: '149-331',
message: 'hiii',
messageId: 1,
createdAt: 1546930083439,
isRead: true,
fromUserId: 331,
toUserId: 149,
id: 5c3447a3b5cfde68f953b9dc },
{ chatId: '149-331',
message: 'helloo',
messageId: 2,
createdAt: 1546930094462,
isRead: true,
fromUserId: 149,
toUserId: 331,
id: 5c3447aeb5cfde68f953b9dd },
{ chatId: '149-331',
message: 'heklllo',
messageId: 3,
createdAt: 1546930418077,
isRead: true,
fromUserId: 331,
toUserId: 149,
id: 5c3448f2b5cfde68f953b9df },
]
so want to merge these object on the base of createdAt this is time stamp .so i waana need result in such way if createdAt match then message push in 1st object not match remain same object
any one
soyong20161205
@soyong20161205
Hi, guys, anybody who has created upwork.com account? please let me know to collaborate!