Skip to content

Author: admin@master

Push JSON Objects to array in localStorage

I have a function in Javascript: the data parameter is a JSON Object. But everytime I click the button it overwrites the data in my localstorage. Does anybody know how to do this? Answer There are a few steps you need to take to properly store this information in your localStorage. Before we get down to the c…

HTML tags in i18next translation

I’m using i18next to power i18n for my weblog. It works great on text-only content, but when I try to translate content that includes HTML markup, it is displaying the raw markup when I translate the text. As an example, here is a snippet of the markup from a post that is not working as expected: The tr…

How to do Crash Reporting for Web Apps

When I develop iPhone / iPad apps I always use a crash reporting system. My current favorite is Crashlytics – which works great. For Android apps I’ve been using the rather more basic ACRA crash reporter. Now that I’m building a webapp to be run on a client’s own server, it seems a goo…

Legend on bottom with highcharts

I am using highcharts to draw some charts. I use the basic line plot like this: http://www.highcharts.com/demo/spline-irregular-time How can I display the legend under the chart area instead of at the right? http://www.highcharts.com/demo/column-stacked-percent Thx Answer marginBottom can be used to put legen…