That sounds like the best.

 
Recendez: But I have no experience with this.

Hetz: I’ll check that too then

Grealish: Looks much easier to use

Rux: Mackan90096: I believe that q is what is being used in angularjs

Maslowsky: Is it even under active development?

Kruskie: And angularjs uses their own implementation that just happens to be called $q, afaik

Kalinoski: They changed $q since I used angular so now the constructor is just like an es6 promise

Zoulek: Hello, can i set a variable in an arrow function? http://hastebin.com/iruzefinag.avrasm

Mate: JonasJSK: For help, ask your question. Be patient. Code samples should be pasted in a paste service see !paste. Tell us 1 what you want to happen, 2 what is actually happening, and 3 any error messages you find see !describe and !debug.

Mate: JonasJSK: Show some code, but don’t paste it on the channel. For frontend code HTML/CSS/JS, you can provide a test case that we can run, so that we can help you: use https://jsfiddle.net , https://jsbin.com , or http://requirebin.com . For Node.js code, use sites like https://gist.github.com/ and https://bpaste.net .

Reineck: JonasJSK: that doesn’t work?

Reineck: If it doesn’t, you’d probably need to use { } to have it accept statements rather than expressions

Reineck: Eg. o = { o.url = whatever; }

Reineck: Though then you will also need to explicitly return the value from the function if you’re using the return value

Pennie: What am I missing? r1.retries is not getting set as 4 – http://pastebin.com/baKpuqXG

Sharber: It’s good now, i had to move out retries to outside and declare it locally. However, I now have to use setRetry to ***ign a value

Brunsting: I can’t access retries via r1.retries which I think is nice because it’s private

Martindelcamp: I’ll have to make a getRetryValue method

Vangerbig: This is how I have it – http://pastebin.com/u2PdYgPz

Obyrne: That’s the code i was saying that i cannot use “new” with values

Mixdorf: Zumba_ad_, I don’t know what doesn’t work in there: http://jsfiddle.net/progysm/swd0p9jq/

Weary: Of course, if you don’t use the argument, how could you change something.

Harmen: Does there exist a service that simply echoes back the JSON you send it? I see JSON Test, but I’m unsure if it supports nesting

Reineck: MarkyC: you could probably do that in a single shell command with netcat :

Elvis: What’s my best option for sharing client side code between projects, ***uming the projects use browserify? make a npm module we have a private npm? My experience with this has been that it’s hard to iterate on these once you do this, since updating requires redeploying

Reineck: What do you mean by “updating requires redeploying”?

Riddley: Hey, I am getting a HTML5 video player by doing div.childNodes1; then ***igning it to a variable called video and trying to call video.play; on it, but it’s currently not working

Toni: Is there any obv reason why?

Elvis: If i make a change to the shared code, i need to deploy it to npm before using it in the project

Elvis: I can’t uh, try it out locally first

Elvis: Without doing wacky **** with node_modules

Elvis: Npm link has worked poorly for me on windows.

Reineck: You could use a git repo for that?

Reineck: Npm supports those too

Elvis: What do you mean by support, how does that work?

Reineck: You can just define your package dep like that

Elvis: That’s pretty amazing

Reineck: Probably works with npm install too if you p*** in a repo url like that, I forget :

Elvis: Hm, our git repo would need to be accessible from our servers for that to work though. we have a local gitlab only available within the office, and i guess it’s not a huge deal to move it although it’s gotten quite large.

Elvis: That sounds like the best solution though