Experiments

master
Addy Osmani 2015-06-25 14:16:41 +01:00
parent 3cdf2be856
commit 165a9811d8
3 changed files with 9 additions and 3 deletions

View File

@ -5,6 +5,8 @@
<script src="{{page.include_prefix}}assets/swfobject.js"></script>
<script src="{{page.include_prefix}}assets/snippets.js"></script>
<script src="{{page.include_prefix}}assets/components.js"></script>
<script src="{{page.include_prefix}}assets/es5-shim.min.js"></script>
<script src="{{page.include_prefix}}assets/es5-sham.min.js"></script>
<link rel="stylesheet" href="{{page.include_prefix}}components/demos.css">
<div class="mdl-components mdl-js-components mdl-cell mdl-cell--12-col">

View File

@ -112,7 +112,9 @@
<!-- Google Analytics: change UA-XXXXX-X to be your site's ID -->
<script>
<!-- <script src="{{page.include_prefix}}/assets/es5-shim/es5-shim.min.js"></script>
<script src="{{page.include_prefix}}/assets/es5-shim/es5-sham.min.js"></script>
--> <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)

View File

@ -410,7 +410,9 @@ gulp.task('assets', function () {
return gulp.src([
'docs/_assets/**/*',
'node_modules/clippy/build/clippy.swf',
'node_modules/swfobject-npm/swfobject/src/swfobject.js'
'node_modules/swfobject-npm/swfobject/src/swfobject.js',
'node_modules/es5-shim/es5-shim.min.js',
'node_modules/es5-shim/es5-sham.min.js'
])
.pipe($.if(/\.(svg|jpg|png)$/i, $.imagemin({
progressive: true,