Skip to content

Commit

Permalink
use minified js file in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dasboe committed Jul 11, 2018
1 parent bb8e2d9 commit 6268ade
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 192 deletions.
2 changes: 1 addition & 1 deletion examples/example-simple.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<title>SVGInject Simple Demo</title>

<!-- Include the SvgInject javascript file -->
<script src="svg-inject.js"></script>
<script src="svg-inject.min.js"></script>

<script>
SVGInject.setOptions({
Expand Down
190 changes: 0 additions & 190 deletions examples/svg-inject.js

This file was deleted.

1 change: 0 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ var uglify = require('gulp-uglify');
gulp.task('default', function() {
return gulp.src('src/svg-inject.js')
.pipe(gulp.dest('dist/'))
.pipe(gulp.dest('examples/'))
.pipe(uglify())
.pipe(rename({ extname: '.min.js' }))
.pipe(gulp.dest('examples/'))
Expand Down

0 comments on commit 6268ade

Please sign in to comment.