Anyone know how to get Google Picker Javascript API to return a drive folder and its contents when using drive.file scope? It seems I can ask the user through Picker to pick a folder, or pick a bunch of files, but not both. So it gives the app access to one but not the other.
@J.Doe Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
I guess you could achieve the same result with and without the design pattern, so my question is about - at what stage am I going to need design pattern? Todo app - anything works, no design pattern needed. Small module - anything works. So when will I need design pattern?
or will I ever need design pattern?
DOM manipulation - anything works, no design pattern needed... ?
I was experimenting with Sigma with react these last few weeks for network visualisation, I am kind of not happy with the amount of documentation available to achieve some of the things I recently encountered cityscape and it at least looks pretty good has anyone used them both can anyone give me some good comparative analysis if cytoscape can be a good option
so... I am going to build a fiddler website and I am looking into what I could use as code editor. Anyone has suggestions for a code editor where I can easily apply syntax highlighting without defining a syntax schema?
this is sort of valid, but each var is something else and requires different highlighting
the only case where I can see this as being valid is in a local variable declaration with the name var that shadows a parameter which is also named var
@BenFortune the LSP would allow me to write the code in any IDE, right?
> The links read-only property of the Document interface returns a collection of all <area> elements and <a> elements in a document with a value for the href attribute.
I still have a conflict with javascript selectors and events. According to this repo https://github.com/nefe/You-Dont-Need-jQuery#query-selector it says specifically "document.querySelector and document.querySelectorAll are quite SLOW, thus try to use document.getElementById, document.getElementsByClassName or document.getElementsByTagName if you want to get a performance bonus."
So I have when with with jQuery I can just do $("#whateverElementIneeed") with javascript I should be think about wich of them I should use in a different case. Even you wrap it in a $ it is still be laborious to me
Any idea why this gives error /(?>\w+\.?-?)?(?>\w+)@(?>\w+-?)+(?>\.\w{0,3})+m?/? (Uncaught SyntaxError: Invalid regular expression Invalid group). In regex101.com it woks
@JBis Why would that be the case? document.querySelectorAll will select all input tags within the element with id main_form. For each of those tags add an eventListener for the focusout event.
@Peter Welcome to the JavaScript chat! Please review the room rules. If you have a question, just post it, and if anyone's free and interested they'll help. If you want to report an abusive user or a problem in this room, visit our meta.
Yeah, I've had to deal a lot with editable data tables in my career so far, and my experience has been that there is usually a much better UX for what they need to accomplish, and as Kevin said, exporting to excel solves like half of their problems
yeah, we used a 3rd party SEO solution recently that had a pretty good setup. The filtering/sorting/column showing/hiding was all handled by a toggleable form above the table. The default view was good enough for most usecases, but then it had an easy to use form that you could change the table with to better fit your needs, without all the complex logic that would be required to implement it directly into the table.