Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
modified gulpfile
Browse files Browse the repository at this point in the history
  • Loading branch information
eterna2 committed May 19, 2016
1 parent c42a7e2 commit 603ceda
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .publish
Submodule .publish updated from dae5d4 to 005f3b
5 changes: 2 additions & 3 deletions es5/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.22/webcomponents-lite.min.js"></script>
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../iron-component-page/iron-component-page.html">
<link rel="import" href="./vega-element.html">

</head>
<body>

<h2>iron-component-page</h2>
<iron-component-page base="https://datagovsg.github.io/vega-element/"></iron-component-page>
<iron-component-page src="./vega-element.html"></iron-component-page>



Expand Down
5 changes: 2 additions & 3 deletions es6/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,14 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.22/webcomponents-lite.min.js"></script>
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../iron-component-page/iron-component-page.html">
<link rel="import" href="./vega-element.html">

</head>
<body>

<h2>iron-component-page</h2>
<iron-component-page base="https://datagovsg.github.io/vega-element/"></iron-component-page>
<iron-component-page src="./vega-element.html"></iron-component-page>

</body>
</html>
5 changes: 2 additions & 3 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@ gulp.task('vulcanize', function () {
return gulp.src('./tmp/vega-element/index.html')
.pipe(vulcanize({
inlineScripts: true,
inlineCss: true//,
//excludes: ['./tmp/vega-element/vega-element.html']
inlineCss: true
}))
.pipe(gulp.dest('./gh_pages/'));
});
Expand Down Expand Up @@ -94,5 +93,5 @@ gulp.task('clean_gh_pages', function() {
});

gulp.task('default', function(cb) {
runSequence(['clean','clean_gh_pages','demo','es5'],['build','html', 'bower'],['vulcanize'],['clean'],cb);
runSequence(['clean','clean_gh_pages','demo','es5'],['build','html', 'bower'],['vulcanize','vulcanize2'],['clean'],cb);
});
5 changes: 2 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<script src="https://cdnjs.cloudflare.com/ajax/libs/webcomponentsjs/0.7.22/webcomponents-lite.min.js"></script>
<script src="../webcomponentsjs/webcomponents-lite.js"></script>
<link rel="import" href="../iron-component-page/iron-component-page.html">
<link rel="import" href="./vega-element.html">

</head>
<body>

<h2>iron-component-page</h2>
<iron-component-page base="https://datagovsg.github.io/vega-element/"></iron-component-page>
<iron-component-page src="./vega-element.html"></iron-component-page>



Expand Down

0 comments on commit 603ceda

Please sign in to comment.