parallax_content
Advanced tools
Comparing version 1.0.2 to 1.0.3
@@ -23,3 +23,3 @@ var gulp = require('gulp'), | ||
gulp.task('styles', function () { | ||
return gulp.src('./src/css/style.scss') | ||
return gulp.src('./demo/sass/style.scss') | ||
.pipe(plumber({ | ||
@@ -34,6 +34,4 @@ errorHandler: notify.onError("Error: <%= error.message %>") | ||
})) | ||
.pipe(rename({suffix: '.min'})) | ||
.pipe(minifycss()) | ||
.pipe(sourcemaps.write('/')) | ||
.pipe(gulp.dest('./build/css')) | ||
.pipe(gulp.dest('./demo')) | ||
.pipe(notify("Styles task complete")); | ||
@@ -70,4 +68,4 @@ }); | ||
gulp.task('watch', ['styles', 'scripts'], function() { | ||
gulp.watch('demo/sass/*.scss', ['styles']); | ||
gulp.watch('demo/sass/**/*.scss', ['styles']); | ||
gulp.watch('src/parallaxContent.es6', ['scripts']); | ||
}); |
{ | ||
"name": "parallax_content", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "parallax content", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -9,2 +9,9 @@ parallaxContent | ||
### Package Managers | ||
```sh | ||
# NPM | ||
npm install parallax_content | ||
``` | ||
### Data Attribute Settings | ||
@@ -21,3 +28,3 @@ | ||
```html | ||
<div data-parallax-conten='{"shift": 10, "duration": 4}'></div> | ||
<div data-parallax-content='{"shift": 10, "duration": 4}'></div> | ||
``` | ||
@@ -44,1 +51,2 @@ | ||
* jQuery 1.7 | ||
* Gsap |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
1296595
23
763
50