Skip to content

Author: admin@master

Smooth scrolling with easing isn’t working

I have a JQuery function which should allow smooth scrolling with JQuery easing however it does not work and I can’t seem to find the error. The code for the function is I made a JSFiddle with the function in to give an example. (I included the code for the JQuery easing) Here is a similar function in J…

Alternatives to escape(string) in JavaScript

When changing to TypeScript I’m not allowed to use escape(string) anymore because it’s deprecated. The reason I still use it is that the alternatives encodeURI and encodeURIComponent give a different results. I don’t use this for URLs, but for a CSV export. What are other alternatives that w…

Getting Redux DevTools To Work

I followed the tutorial, however, am getting the console error: “Error : Expected the reducer to be a function” Here is my ( relevant ) configuration: WEBPACK.CONFIG.JS: INDEX.JS: CONFIGURESTORE.JS: CONFIGURESTORE.DEV.JS: Im not clear on what I am doing wrong. Thanks Answer Having a redux dev tool…