Data dodania Pytanie
2017-08-05 20:08 Is it a good practice to combine design patterns in JavaScript »
Currently I'm working on my private project(for learning) which is a simple To Do List. I'm trying to use the modular pattern (revealing module patter...
(2) odpowiedzi
2017-08-05 20:08 Chrome kiosk weird behavior - opens and closes the preview »
I create a shortcut as the following to open my page in POS/kiosk mode. "C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --kiosk --kiosk...
(0) odpowiedzi
2017-08-05 17:08 Sync inputs elements in ejs template »
I have a ejs template rendered with an array (called "operaciones") result of a sql request. I need to implement that when the user select a register...
(1) odpowiedzi
2017-08-05 13:08 Auto-adjust font-size in defined DIV with changing text »
I want to auto-translate a text on my website by exchanging it with the same sentence in another language every few seconds, but this is not where my ...
(3) odpowiedzi
2017-08-05 12:08 Different forms of using 'let' »
I saw a tutorial for JavaScript ES6 in which the guy used this syntax to assign a value with let: let = name = ['Jhon','Paul','Ean'] What is the di...
(1) odpowiedzi
2017-08-05 11:08 direct upload string from browser to s3 without local file »
I am using javascript, node.js and aws sdk. There are many examples about uploading existing files to S3 directly with signed URL, but now I am trying...
(3) odpowiedzi
2017-08-05 10:08 min.js* how does that work? »
I'm new to this so hope you understand my question. I'm working on AngularJS based app on visual studio. Whenever i modify something in my controller...
(1) odpowiedzi
2017-08-05 10:08 AngularJS rendering <br> as plain text not html »
I have downloaded a AngularJS template: https://github.com/bennkingy/angularJs-startbootstrap-modern-business I am editing the slider on the homepage...
(4) odpowiedzi
2017-08-05 00:08 High CPU usage with RTCPeerConnections »
I have the following setup: The idea is that Computer A captures a single local MediaStream from Cam 1 using getUserMedia. Two RTCPeerConnections ...
(1) odpowiedzi
2017-08-04 22:08 How to make React HOC - High Order Components work together? »
I have a small presentation component like this: function MyList({data, uppercaseMe, lowercaseMe}) { return <ul> {data.map(item =&g...
(2) odpowiedzi
2017-08-04 20:08 Submit form using ajax. Pass url variables to coldfusion function in cfc »
I am making a filter for a dashboard page with a bunch of charts being fed from an ajax call to my database and making a json struct out of it. I am ...
(1) odpowiedzi
2017-08-04 19:08 Filtering Object into two groups by matched object key value »
Lets say that I have the following object var transformers = [ { name: 'Optimus Prime', form: 'Freightliner Truck', team: 'Autobot' }...
(2) odpowiedzi
2017-08-04 14:08 Render ejs from jquery? »
I want to render a file after getting the data from the Api. code $(document).ready(function() { $(document).delegate( "#editUser", "click", func...
(1) odpowiedzi
2017-08-04 11:08 Get all parents that don't have a child with a certain class »
I want to select all div's of parents using jQuery, that don't have children with the class locked Example code: <div class='myparent'> &l...
(3) odpowiedzi
2017-08-04 10:08 How to disable click selected datatable jquery? »
I've use datatable jquery with child-row. Normal, I selected a main row, i use $('#table tbody').on('click', 'tr', function () { if ($(th...
(2) odpowiedzi
2017-08-04 10:08 What is the simplest way to search in JSON by attribute? »
"names": [ { "id": 17, "user_id": 9, "code": "de", "name": "Ich bin Hans", "created_at": "2017-07-31 12:43...
(3) odpowiedzi
2017-08-04 09:08 How to get iframeId in a contextMenus onclick event handler? »
I am developing a Mozilla WebExtension. I want to inject a JavaScript file only into the frame in which I have clicked on the context menu selection c...
(1) odpowiedzi
2017-08-04 09:08 Jquery script not working on page refresh »
I have a jquery script to add a class to a div jQuery('.responsive-calendar .today a').addClass('selectedDay'); This script works on the initial lo...
(1) odpowiedzi
2017-08-04 07:08 Element disappears after removing class »
I've come across some strange behavior in Chrome 60.0 when removing a class from an element with a very specific configuration. I removed the fade cl...
(2) odpowiedzi
2017-08-03 22:08 What changes need to be done to configure database? »
I could not successfully login to old typo application: How to login successfully in typo application? and try to use the new one: https://github...
(0) odpowiedzi
2017-08-03 22:08 It's worth configuring CSRF Prevention with antiforgery in JWT Backed Web Api? »
Well I have a Net Core Api project and I was trying to protect those endpoints that cause side effects on my database, I was reading a lot of XSRF Att...
(0) odpowiedzi
2017-08-03 21:08 How to handle deploys with Webpack code splitting? »
Here's an unexpected issue I've run into with Webpack code splitting in the wild: Imagine this scenario: The user loads a React app with Webpack cod...
(2) odpowiedzi
2017-08-03 19:08 Pass command line variable into npm script? »
I am trying to pass a command line (specifically not in version control) option to my main index.js script, which does some stuff based on a specific ...
(1) odpowiedzi
2017-08-03 18:08 What does single & and single | operators do in flow js? »
There is a piece of code in one of the files in react-native repo here as shown below: export type Operation = & {instanceID: DebugID} & ...
(1) odpowiedzi
2017-08-03 16:08 Add listener for button click event in wordpress »
I've been trying to add button click listener in a WordPress site. The basic requirement is that a video should play in a popover/new screen whenever ...
(0) odpowiedzi
2017-08-03 15:08 Node.js call calback function inside for loop »
I am trying to call a function inside a for loop and the problem is that the function is called after the loop was finished. Taking the below as an e...
(2) odpowiedzi
2017-08-03 15:08 React Router Flux does interprets Component as Object »
This is how I create my Component _createList = () => { const list = Object.keys(this.state).map((key, index) => { return ( <T...
(1) odpowiedzi
2017-08-03 15:08 How to parse the entered input value from one datatable to another datatable »
I have two datatables, one is for line items to order and the other one is for selected items to order. I have available quantity and quantity suppli...
(0) odpowiedzi
2017-08-03 14:08 Javascript regex match only words starting with a specific special character »
I'm trying to match only words starting with # in javascript, for eg. in the following sample text, only #these should match. I need to match only...
(4) odpowiedzi
2017-08-03 13:08 angular factory. how to create new instances of the factory? »
I am trying to create new instances of a factory but, all the time it prints the last instance (because of its singleton). How can I achieve new insta...
(1) odpowiedzi
2017-08-03 13:08 How to access event object values inside callback function »
I have the following class snippet: constructor(props) { super(props); this.timeout = null; } search = (e) => { clearTimeout(this.ti...
(4) odpowiedzi
2017-08-03 11:08 lodash: and_then-like behavior for chain »
Is there any way in lodash that works like chain, but pass value to next stage only when it is not undefined? Just behaves as Result<T>::and_the...
(0) odpowiedzi
2017-08-03 10:08 How is async/await working in serial and parallel? »
I have two async functions. Both of them are waiting for two 3 seconds function calls. But the second one is faster than the first. I think the faster...
(3) odpowiedzi
2017-08-03 10:08 angularjs model value is undefined in form »
I have two forms(in one page). On first form there are two buttons NEXT and BACK. On clicking on the next i will render next form on page. I am using ...
(3) odpowiedzi
2017-08-03 10:08 how to hide my js files and js library from view-source code »
how to hide my js files and js library from view-source code i found Javascript Obfuscator but this will be ok with my custom JS source code what ...
(2) odpowiedzi