In a previous post, I was explaining how a
that = this assignment was required to preserve the value of the
this variable in certain scenarios. This post will focus on how to resolve them using arrow functions.
When you go through some of the popular JS libraries you might start noticing this peculiar line all over the place.
that = this that.someFunction();
First impressions, you could figure out that it had something to do with the value of the variable
this being inconsistent, so they had to store in a variable and use it later. So I did some digging into it and found out why this assignment was a necessity back then and how we can overcome them.
Important Note: The post has been updated to RC 1
Hi guys. I’ve been working with Angular 2 for the past week, so thought I must share whatever I’ve learned. I’ll be writing a series of blog posts on Angular 2. What better way to start the series than to do an hello world app.. 😛 Let’s get started.
Hi there guys. I came across this requirement in my project where I had to share data between an Ionic app and the InAppBrowser. Though it seemed simple, it turned out to be quite something. So thought I should write this up as a blog. But before we start, I should warn you that this might seem a bit hacky but it is the only thing that works for now.. :P. So let’s get started.
Hello guys. This one is going to be a mobile app development related post again. I came across an use case where I had to create a done button in the Android InAppBrowser, just like how we have it in iOS. It required some work to get it done, so thought I should share it with you guys too. Let’s see how to do it.
Hi guys, in this article we will see how to add a splash screen to your website and also to change the theme color of your website’s address bar. This will give a more native feel to your website. Let see how to get it done.
In this article we will see how to add a native like app icon for your mobile web site onto your users devices. This will mean the users can get to your website without having to type in your address. It’s instant access and well works like magic. Let’s see how to get it done.. 🙂