Wednesday, 18 October 2023
I’m working on a mobile application with Apache Cordova ((http://cordova.apache.org)) technology. And one of the tasks was to load a JSON localization file from the content folder. The first idea and actually the most correct (as for me) is to load the file with RequireJS text plugin ((https://github.com/requirejs/text)). The plugin allows loading text file in the same way as usual modules and do not evaluate the content, but return it as a string. So you just specify something like the following. When using TypeScript we can write And this will give us the following JS code of the module (In case of AMD mode in compiler) Unfortunately, it’s not enough in case of localization, because we have to load a specific html file for a specific locale (text!/locale/en/module.html). And we have to a...
Sunday, 14 September 2025
How long does it take to truly understand your company’s mission? Not just a tagline, but the real value you bring to clients and the world. It took me nearly 15 years to articulate what Kvinivel Inc....
Wednesday, 20 May 2015
Maybe some people already know this feature, but I was discovered it only today. A lot of JS debugging brings some benefits, and today I found the possibility to edit code and save it on disk with (or...
Monday, 15 February 2016
Setup Install the latest mono as described at (http://www.mono-project.com/docs/getting-started/install/linux/#debian-ubuntu-and-derivatives). Install Visual Studio Code from Just unpack and start. no...