This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| write-host "`n ## NODEJS INSTALLER ## `n" | |
| ### CONFIGURATION | |
| # nodejs | |
| $version = "4.4.7-x64" | |
| $url = "https://nodejs.org/dist/latest-v4.x/node-v$version.msi" | |
| # git | |
| $git_version = "2.9.2" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // ========================================================= | |
| // Gulp Task: browsersync | |
| // NOTE: Using gulp v4 | |
| // Description: Sync sass, typescript, html, and browser | |
| // using external config or add modify src | |
| // npm install --save-dev browser-sync gulp-typescript gulpjs/gulp.git#4.0 gulp-load-plugins | |
| // Options: node-sass gulp-sass || gulp-ruby-sass | |
| // ========================================================= | |
| var config = require('../config.js'); | |
| var browserSync = require('browser-sync').create(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * AngularJS example directive. | |
| * Allows you to modify the page DOM and CSS styles before printing by exexuting the passed expression. | |
| * Will force a $digest phase before the print operation. | |
| * | |
| * Example: <div ng-class="{printed: isPrinted}" on-before-print="printed = true" /> | |
| */ | |
| module.directive('onBeforePrint', ['$window', '$rootScope', '$timeout', function onBeforePrint($window, $rootScope, $timeout) { | |
| var beforePrintDirty = false; | |
| var listeners = []; |