Category: Javascript

0

Grunt Copy Only Changed/Watched File Only (Node.js)

Only copy modified file in “grunt watch”, see code bellow. Gruntfile.js //code for Gruntfile.js module.exports = function (grunt) {   var srcF = ‘D:/PROJECTS/2016/Website/’; var outF = ‘\\\\Computer\\d$\\2016\\Website\\’; //WINDOWS MAPPED DRIVE ie: Q:\2016\Website  ...






0

Auto Compile Bootstrap with Grunt

Download and install Node.js; http://nodejs.org/download/ Download Bootstrap and extract to your working folder; http://getbootstrap.com install Grunt with these command in MS-DOS command ( run as administrator) >npm install -g grunt-cli navigate your way to...






0

Customizing Bootstrap

Auto stretch image with bootstrap UNDER: /mixins/image.less modify/add: .img-responsive(@display: block) { display: @display; width: 100%; //width: 100% \9; // Force IE10 and below to size SVG images correctly max-width: 100%; // Part 1: Set...






0

scrollMonitor javascript plugin

The scroll monitor allows you to receive events when elements enter or exit the viewport. It does this using watcher objects, which watch an element and trigger events. Watcher objects also contain information about...






0

PDF.js

PDF.js brings Portable Document Format (PDF) reading capabilities to your browser using web standard technologies.