Skip to content

Commit

Permalink
min file
Browse files Browse the repository at this point in the history
  • Loading branch information
Ire Aderinokun committed Jan 25, 2016
1 parent 732be75 commit 8f90064
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion embed/script.js

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

4 changes: 2 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var gulp = require('gulp'),
sass = require('gulp-sass'),
gutil = require('gulp-util'),
uglify = require('gulp-uglify'),
uglify = require('gulp-uglifyjs'),
minifyHTML = require('gulp-minify-html'),
connect = require('gulp-connect');

Expand All @@ -12,7 +12,7 @@ var embedHTML = "development/embed/index.html";

gulp.task('script', function() {
gulp.src(caniuseEmbed)
.pipe(uglify())
.pipe(uglify('caniuse-embed.min.js'))
.pipe(gulp.dest(''));
gulp.src(embedScript)
.pipe(uglify())
Expand Down
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ <h3>Step 1 - Include Script</h3>
<p>Include the following javascript file in your document. </p>

<div class="highlight cf">
<pre id="stepOne">&lt;script src="https://caniuse.bitsofco.de/caniuse-embed.js"&gt;&lt;/script&gt;</pre>
<pre id="stepOne">&lt;script src="https://caniuse.bitsofco.de/caniuse-embed.min.js"&gt;&lt;/script&gt;</pre>
<div class="copy-code" id="copyStepOne" data-clipboard-target="#stepOne">Copy</div>
</div>

Expand Down Expand Up @@ -168,7 +168,7 @@ <h3>Step 3 - Get the Embed Code</h3>



<script src="caniuse-embed.js"></script>
<script src="caniuse-embed.min.js"></script>

<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.2/jquery.min.js"></script>
<script src="clipboard.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"gulp": "^3.9.0",
"gulp-minify-html": "^1.0.5",
"gulp-sass": "^2.1.1",
"gulp-uglify": "^1.2.0",
"gulp-uglifyjs": "^0.6.2",
"gulp-util": "^3.0.6"
}
}

0 comments on commit 8f90064

Please sign in to comment.