Data dodania Pytanie
2018-02-13 11:02 npm runs "JavaScript heap out of memory" (nearly) every time »
I got problems with running npm into FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory. Since I installed node.js&am...
(1) odpowiedzi
2018-02-13 11:02 DataTable - Appending Additional column is throwing some Exception Error »
I'm trying to implement Server Side DataTable. Everything goes perfectly fine up to the last rowCallback where I'm appending button to additional colu...
(2) odpowiedzi
2018-02-13 10:02 ng-blur works only if it is clicked inside the textbox »
I have a textbox where it can be written a value. If I delete that value and don't write anything in place, I want that when I click somewhere else th...
(1) odpowiedzi
2018-02-13 10:02 Can't send data out of executeScript in chrome-extension »
I am developing one chrome extension which can extract all the meta tags of the current tab. I am using ReactJs as the main development environment an...
(1) odpowiedzi
2018-02-13 08:02 different function to execute depending on cursor location (javascript) »
I currently have a button in a html form which executes a function when it is clicked: <input type="button" onclick="do_action_1();"> But I h...
(3) odpowiedzi
2018-02-13 01:02 React JS, How to only allow component to update once per second »
I am having trouble limiting how often a component gets updated. Component A has a parent Component B. I want to have Component A only update once pe...
(2) odpowiedzi
2018-02-12 20:02 Avoid "black squares" showing on images in Chrome when using Hardware Acceleration? »
Recently a large number of users of my company's website have reported seeing black boxes on some images on our login page. For example: I've sear...
(1) odpowiedzi
2018-02-12 17:02 nextPageToken doesn't change »
I am trying to use the node.js Google API to iterate over my email messages const google = require('googleapis'); The problem is that I keep ge...
(0) odpowiedzi
2018-02-12 17:02 React app does not render in Facebook in app browser »
I have been searching how to solve this issue for a couple of days with no success, so I decided to open a question here. So I have got a React app wh...
(1) odpowiedzi
2018-02-12 16:02 Reading a function from another function »
The problem that when I click on .test it does not execute the do_alert(); function and gives me a error: do_alert(); is not defined. What's the...
(3) odpowiedzi
2018-02-12 15:02 Is w3schools example about javascript closure practically useless? »
I was reading this example on w3schools about Javascript closure applied to the "counter dilemma": https://www.w3schools.com/js/js_function_closures....
(4) odpowiedzi
2018-02-12 15:02 Redo Crop Functionality with Fabric js »
Steps to reproduce Working on an image app using Fabric js. One functionality is the ability to crop image and then undo and redo cropping. Expected...
(0) odpowiedzi
2018-02-12 14:02 Really weird box-shadow transition bug »
so recently I stumbled upon a really weird bug with transitioning a box-shadow... When hovering over the divs, a box-shadow (black, 5px spread) is ap...
(1) odpowiedzi
2018-02-12 11:02 writing threads in JavaSript »
Can we achieve multi threading in javascript? If yes, please suggest a method to run multiple tasks on multiple threads in javascript/angular.. Than...
(2) odpowiedzi
2018-02-12 08:02 Using the #href convention in javascript »
document.getElementById('otherButton').addEventListener('click', function () { document.getElementById("step-4").style.display = 'block' });...
(3) odpowiedzi
2018-02-12 03:02 Warning: React.createElement: type is invalid -- bundle.js »
I'm taking a tutorial to learn React JS, everything was fine, for days I could run an example, simple, carrying out a recommended basic configuration,...
(1) odpowiedzi
2018-02-11 23:02 ng-repeat with the nested json array of objects in AngularJs »
I have a nested json array of objects as below. I wanted to parse so that I can read using ng-repeat and display in the html table. In the table, name...
(2) odpowiedzi
2018-02-11 22:02 How does promise all guarantee return order in es6 »
I am using ES6 JavaScript and making API calls that are reliant on the order in which they are returned. The http client is Axios. A colleague has ins...
(1) odpowiedzi
2018-02-11 22:02 How Do You Use JS Promises To Keep Requesting From API While The API Returns A Value? »
I am trying to keep requesting from an API while the API continues to return. I am using the LaunchLibrary API (https://launchlibrary.net/docs/1.3/api...
(2) odpowiedzi
2018-02-11 20:02 Are babel decorators the same as TypeScript's? »
I code with TypeScript a lot, but less babel, I know how TypeScript works on decorators, and babel also support decorators, do they act the same? ...
(2) odpowiedzi
2018-02-11 20:02 GatsbyJS - Automatically re-build & deploy project on changes in the Wordpress backend? »
I was wondering whether there is a way to automatically re-build & deploy my gatsbys site, once something changes in the wordpress layer (i.e. som...
(0) odpowiedzi
2018-02-11 19:02 How to make an element with z-index=-1 receive click events? »
I have a div with horizontal scroll with many images inside it. the div has an 1- inner shadow which should appear on it's children but the 2- childr...
(2) odpowiedzi
2018-02-11 18:02 Checking whether a button is enabled or not in chrome plugin »
I am developing a chrome plugin. It checks whether a button is enabled or not continuously. If it is enabled, it clicks on it. I am using an infinite ...
(1) odpowiedzi
2018-02-11 17:02 How to create new page element for exceed content? »
I tried to create a number of <page></page> class a4 depending on at the amount of content inside it. If the content exceed the height of ...
(5) odpowiedzi
2018-02-11 17:02 Using EJS template engine like Latte (Blocks) »
I need to use EJS template system like this: Layout: <html> <head> <link rel="stylesheet" href="style.css"> {block head}...
(0) odpowiedzi
2018-02-11 16:02 Is Promise.resolve a asynchronous function? »
When I have the following code: var promise1 = Promise.resolve([1, 2, 3]); promise1.then((value) => { console.log(value); // expected...
(4) odpowiedzi
2018-02-11 14:02 Javascript, Promise.then return values »
Doing some research about Promises and I know that a Promise object can be in three states (pending, resolved, rejected). The logic responsible for ea...
(3) odpowiedzi
2018-02-11 11:02 How to follow function calling in Javascript and PHP »
I want to see the structur of the function-callings from the whole script-running/program-running in chronological order. I want to analyse the code t...
(0) odpowiedzi
2018-02-11 10:02 Form validation button without submitting the form »
I have a form, and I want to check validation ( if the inputs are correct) without submitting that form. How is that possible? The validations in thi...
(4) odpowiedzi
2018-02-11 08:02 jQuery event registration undefines the element from FORM scope <ColdFusion> »
Today I came across a weird situation where an element registered using jQuery keyup (or any event for that matter) would undefine that element from t...
(1) odpowiedzi
2018-02-11 07:02 CSRF protection in angular js application with cross domain »
My APIs are running in api.domain.com and frontend angular application is running under frontend.domain.com CSRF implementation Enabled CORS on m...
(1) odpowiedzi
2018-02-11 02:02 reload 2 or more website and click on specify buttons on this website »
I´m looking for a way to create a program that reloads any two websites and then clicks on a specifc div-button on both websites. Any idea? <scri...
(0) odpowiedzi
2018-02-10 22:02 How to use $sce.trustAsHtml when it contains <script> tags »
I have an AngularJS component which loads HTML into its scope and uses ng-bind-html. I've noticed that <script> tags are not executing. How ca...
(1) odpowiedzi
2018-02-10 19:02 node.js convert emojis into unicode or something else? »
I am trying to mess around with the facebook-chat-api NPM package. I am trying to check whenever the message.body contains a fire emoji (🔥) it will...
(1) odpowiedzi
2018-02-10 18:02 Error: Unexpected token ; in EJS file »
My EJS file was working file and was rendering before I added a switch case logic in my EJS file. It gives me an error stating- Unexpected token ; and...
(0) odpowiedzi