JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Jan 5, 2017 23:27
Time to go get on BART while listening to twenty one pilots and reading my angular 2 book
Jan 5, 2017 22:33
I was off topic once... it was horrible
Jan 5, 2017 22:32
@ndugger We just added adobe target and its a mess
Jan 5, 2017 22:22
I work at a bank who has cut our staff for the .com site to the bare minimum and then doubled our work load by hiring more marketing people.
Jan 5, 2017 22:21
I wonder if I would still have a job if I converted all my JS to Typescript - mwahaha
Jan 5, 2017 22:19
I need chocolate
Jan 5, 2017 22:13
@MichaelHCameron Yeah - I retyped them all and now they work
Jan 5, 2017 22:05
okay - figured it out - the new deployment is getting minified and its eating =>
Jan 5, 2017 22:01
It passed QA yesterday but when it got merged with other projects its not working in IE 11 now :(
Jan 5, 2017 21:58
Anyone have a guess why suddenly this code stops working in IE11?  Its not liking the => but it worked yesterday
var getTerms = _.filter(curatedJSON, (t) => t.TopSearchTerm == '1');
Jan 3, 2017 18:15
@ndugger For what? Having questions?
Jan 3, 2017 18:15
@ndugger I've been visiting this room off and on for years
Jan 3, 2017 18:11
@ivarni Not everyday - I have a life. But I first asked it last week.
Jan 3, 2017 18:11
@ndugger I didn't realize 3 lines of comment constituted whining.
Jan 3, 2017 18:08
I've asked nearly the same question everyday for 6 days and have yet to see a single javascript related topic come up. Just wondering if the room changed without changing the topic.
Jan 3, 2017 18:06
@ndugger so no javascript - just an aol chat room
Jan 3, 2017 17:57
Is there another Javascript room?
Jan 3, 2017 17:25
I'm having a problem with jquery ui autocomplete that its only allowing me to use the mouse to click an option once. I can use the keyboard to select as many times as I want.
Dec 30, 2016 18:14
I have a JSON that includes a value that's a link '<a href="#">something</a>' that I need to parse to get the 'something'. What's the easiest way to do that before its written (I need to add some tracking code in the form of a data-element that includes the content of the link).
Dec 22, 2016 21:41
Has anyone run into an issue with jquery ui autocomplete where you can only click on it once and then you have to refresh the page to click a selection again? 1.10
Dec 20, 2016 00:52
getTerms = _.filter(obj, (t) => t.TopSearchTerm == '1');
sortTerms = _.sortBy(getTerms, (t) => Number(t.Sort));
Dec 20, 2016 00:52
is there a way to combine these?
Dec 20, 2016 00:45
Next year I reach my goal of 190 lbs (6'1"). Only 27 more pounds to go
Dec 20, 2016 00:43
I just ate less and lost 57 lbs
Dec 20, 2016 00:40
unfortunately, Number("") is 0
Dec 20, 2016 00:38
@david This worked. Of course It took a minute because I can't spell.
Dec 20, 2016 00:29
I'd rather use Number since it will always be whole numbers
Dec 20, 2016 00:26
underscorejs _.map()?
Dec 20, 2016 00:25
I need to edit the object to convert each one to an int then do the sort
Dec 20, 2016 00:24
I need the _.sortBy() to sort an int and not a string/boolean
Dec 20, 2016 00:24
no - that's after the fact
Dec 20, 2016 00:22
I tried return Number(t.Sort); but that didn't work
Dec 20, 2016 00:21
is there a way to convert it to an int during/before the sort?
Dec 20, 2016 00:21
I need to sort json objects by a single key/value "Sort": "1" but the value is a string instead of an int which means it sorts as boolean
Dec 20, 2016 00:18
Is it possible to _.sortBy() when the variable is a string? "sort": "1"
Aug 24, 2016 04:40
found it :)
Aug 24, 2016 04:38
Has anyone seen a project where you open a cross-domain window and the main window gets a single when it closes?
Mar 1, 2016 23:04
can I use underscore.js to search a json key value to match the value of an input field for an autocomplete/dropdown?
Feb 16, 2016 19:35
lobster cruise line?
Feb 16, 2016 18:53
I have a broken instance of Sitecore, my fun is just beginning.
 

PHP

Support group for those afflicted with PHP. Don't ask to ask, ...
Oct 12, 2016 16:57
@DaveRandom That's okay. For some reason they want us to stop accepting TLS 1.0 requests but their hinky way of helping us avoid that on their own servers is just hilarious
Oct 12, 2016 16:56
the part of the code we touch is in PHP. They only just barely support it. But their billing department is right on top of stuff.
Oct 12, 2016 16:56
haha
Oct 12, 2016 16:54
you know, those annoying popups 'talk to a chat agent now' or 'how can we help you'
Oct 12, 2016 16:54
haha - Oracle RightNow is Oracle's chat service
Oct 12, 2016 16:53
Oracle recommends to use howsmyssl which slows the request and the creator says please don't do that.
Oct 12, 2016 16:53
the user comes to our site first so I guess I could pass a value to RightNow
Oct 12, 2016 16:51
drat - So I'm going to have to use our own .net server to test for it.
Oct 12, 2016 16:50
Oracle cloud
Oct 12, 2016 16:48
Is there a quick way in PHP to test the inbound browser's TLS version? I need to avoid using an outside API like howsmyssl