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
// Paralax Plugin | |
(function($) { | |
$.fn.parallax = function(options) { | |
var windowHeight = $(window).height(); | |
var settings = $.extend({ | |
speed : 0.15, | |
topMinus : 500 | |
}, options); | |
return this.each( function() { | |
var $this = $(this); |
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
Show hidden characters
{ | |
"bootstrapped": true, | |
"in_process_packages": | |
[ | |
], | |
"installed_packages": | |
[ | |
"Angular 2 Snippets (John Papa)", | |
"AngularJS", | |
"AutoFileName", |
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
// Load plugins | |
var gulp = require('gulp'), | |
plugins = require('gulp-load-plugins')({ camelize: true }), | |
lr = require('tiny-lr'), | |
server = lr(); | |
// Styles | |
gulp.task('styles', function() { | |
return gulp.src('assets/styles/source/*.scss') | |
.pipe(plugins.rubySass({ style: 'expanded', compass: true })) |
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-html-bolierplate# | |
## Development Task ## | |
1. Run `gulp serve --dev` to run your app | |
## Build Task ## | |
1. Run `gulp` for clean project dir | |
2. Run `gulp build` --production. This will generate production version into 'dist' folder with optimized version. |
NewerOlder