In order to debug ios emulated application into the local environment which is running via the command `$cordova emulate ios` will … More
Tag: js
[JS] – How to debug your NodeJS + webpack application in Intellij IDE or WebStorm?
Pre-requistes Intellij IDE chrome extension installed. *Note: If you don’t have this tool installed follow the link below. https://www.jetbrains.com/help/webstorm/2016.3/using-jetbrains-chrome-extension.html Steps to … More
[JS] – Understand Webpack
What is Webpack ? “Webpack” compile files in another. Also, it is similar; Make, Grunt, Gulp, Browserify or Brunch. Why use Webpack? To … More
[JS] – Use Lint to validate your js code
What is Javascript Lint? Many JavaScript implementations do not warn against questionable coding practices. Yes, that’s nice for the site … More
[JS] – Use Strict is a good practice
What does it means ? Defines that JavaScript code should be executed in “strict mode”. How to use it ? … More
[JS] Regular Expressions with JS Overview
Definition A regular expression is a type of object. It can either be constructed with the constructor “RegExp” or written … More
[Cordova] – What to do when we are getting the message error “An error was encountered processing the command (domain=com.apple.CoreSimulator.SimError, code=163)” ?
Executed command : $ run cordova ios Error Message ( debug console ) ** BUILD SUCCEEDED ** No target specified … More
[JS] – How to create classes with methods that can be accessed directly without a new instance of this class?
For this you should create a class and define its methods as static. Example Class: class DateHelper { static converterTextForDate(text) … More
[JS] – Example of a immutable class in Javascript
class Sell { constructor(date, quantity, price) { this._date = new Date(date.getTime()); // new instance this._quantity = quantity; this._price = price; … More
[JS] – How to implement classes in JavaScript ?
Classes are the programmatic structures that define a business model. Example : We will define here the Client class in … More