Browserify With Babel is Babelify
Babel is a JavaScript Compiler.It transform the futuristic javascript(new features and syntax) to the javascript that is supported by browser.It helps developers to use new features/syntaxes of javascript without worry about the browser support. If you want to know more about Babel checkout my previous post in this link. Browserify provides a way to use […]
Copy Text to Clipboard using Clipboard.js
The clipboard.js is the new library for to work with clipboard operation like cut and copy operation. The clipboard.js is a lightweight library having 2KB file. In this Demo,”We will learn to install clipboard.js and use it for a simple example”. The clipboard.js can be installed using npm install clipboard --save command.The following screenshot shows […]
Gulp JSCS JavaScript Style Linter Task
JSCS is a Linter for JavaScript code style. JSCS contains 150 validation rules for javascript style linting. These 150 rules follows popular style guides from Jquery,Airbnb and Google etc. JSCS also provides presets like Jquery,Airbnb and Google. Gulp provides gulp-jscs module for creating task to run JSCS to lint the javascript code. In this demo,”We […]
Debugging Code Using Gulp Source Maps
The gulp-sourcemaps module can be used for debugging compressed code. For Production release we compressed/minified the javascript files.This minification increases the performance of the application due to reduced file size.But it makes the debugging process difficult for developer and it is very hard to find the exact line number or word number from where error […]