Skip to content

Commit

Permalink
v3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hcodes committed Dec 27, 2017
1 parent 31acb3c commit 9396531
Show file tree
Hide file tree
Showing 5 changed files with 114 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,4 +1,4 @@
.DS_Store
node_modules/
dist/
dev-example/
dev-examples/
5 changes: 5 additions & 0 deletions CHANGELOG.md
@@ -1,3 +1,8 @@
## v3.1.0
+ `demo.html` moved to `https://github.com/hcodes/demo-snowflakes`.
+ `example/``examples/`.
+ Small refactoring.

## v3.0.0
+ Now snowflakes in SVG format.
+ You can change the color of snowflakes. The property `color: "red"`. Default: `"#5ECDEF"`.
Expand Down
14 changes: 7 additions & 7 deletions gulpfile.js
Expand Up @@ -52,21 +52,21 @@ gulp.task('clean', function() {
return del('dist/*');
});

gulp.task('dev-example-copy', function() {
gulp.task('dev-examples-copy', function() {
return gulp
.src('example/*')
.pipe(gulp.dest('dev-example/'));
.src('examples/*')
.pipe(gulp.dest('dev-examples/'));
});

gulp.task('dev-example', ['dev-example-copy'], function() {
gulp.task('dev-examples', ['dev-examples-copy'], function() {
return gulp
.src('dev-example/*.html')
.src('dev-examples/*.html')
.pipe($.replace(/https:\/\/unpkg\.com\/magic-snowflakes\//g, '../'))
.pipe(gulp.dest('dev-example/'));
.pipe(gulp.dest('dev-examples/'));
});

gulp.task('watch', function() {
gulp.watch('src/**/*', ['default']);
});

gulp.task('default', ['js.min', 'dev-example']);
gulp.task('default', ['js.min', 'dev-examples']);
121 changes: 100 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
@@ -1,7 +1,7 @@
{
"name": "magic-snowflakes",
"description": "Falling snowflakes",
"version": "3.0.0",
"version": "3.1.0",
"author": {
"name": "Denis Seleznev",
"email": "hcodes@yandex.ru",
Expand Down

0 comments on commit 9396531

Please sign in to comment.