Skip to content

Commit

Permalink
Merge branch 'master' into feature/vaadin-number-field
Browse files Browse the repository at this point in the history
  • Loading branch information
limonte committed Aug 28, 2017
2 parents a76295d + c91bd02 commit d74ad8d
Show file tree
Hide file tree
Showing 13 changed files with 1,505 additions and 3,505 deletions.
1,826 changes: 0 additions & 1,826 deletions analysis.json

Large diffs are not rendered by default.

16 changes: 8 additions & 8 deletions demo/common.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@
<!-- Menu Items -->
<script>
window.demos = [
{name: 'index', title: 'Basic Examples'},
{name: 'password', title: 'Password Field'},
{name: 'number-field', title: 'Number Field'},
{name: 'validators', title: 'Custom Validators'},
{name: 'styling', title: 'Styling'}
{name: 'index', title: 'Basic Examples'},
{name: 'password', title: 'Password Field'},
{name: 'number-field', title: 'Number Field'},
{name: 'validators', title: 'Custom Validators'},
{name: 'styling', title: 'Styling'}
];
</script>
<link rel="import" href="../../elements-demo-resources/demo-navigation.html">
Expand All @@ -27,7 +27,7 @@
<link rel="import" href="../vaadin-number-field.html">

<script>
window.addEventListener('WebComponentsReady', () => {
document.body.removeAttribute('unresolved');
});
window.addEventListener('WebComponentsReady', () => {
document.body.removeAttribute('unresolved');
});
</script>
2 changes: 1 addition & 1 deletion demo/password.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ <h3>Default Password Field</h3>
<h3>Password Field with Hidden Eye Icon</h3>
<demo-snippet>
<template>
<vaadin-password-field placeholder="Password" hide-toggle-button></vaadin-password-field>
<vaadin-password-field placeholder="Password" reveal-button-hidden></vaadin-password-field>
</template>
</demo-snippet>

Expand Down
35 changes: 18 additions & 17 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ gulp.task('lint:js', function() {
'*.js',
'test/**/*.js'
])
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError('fail'));
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError('fail'));
});

gulp.task('lint:html', function() {
Expand All @@ -35,12 +35,13 @@ gulp.task('lint:html', function() {
'demo/**/*.html',
'test/**/*.html'
])
.pipe(htmlExtract({
sel: 'script, code-example code'
}))
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError('fail'));
.pipe(htmlExtract({
sel: 'script, code-example code',
strip: true
}))
.pipe(eslint())
.pipe(eslint.format())
.pipe(eslint.failAfterError('fail'));
});

gulp.task('lint:css', function() {
Expand All @@ -49,14 +50,14 @@ gulp.task('lint:css', function() {
'demo/**/*.html',
'test/**/*.html'
])
.pipe(htmlExtract({
sel: 'style'
}))
.pipe(stylelint({
reporters: [
{formatter: 'string', console: true}
]
}));
.pipe(htmlExtract({
sel: 'style'
}))
.pipe(stylelint({
reporters: [
{formatter: 'string', console: true}
]
}));
});

function runCommand(cmd, cb) {
Expand Down
Loading

0 comments on commit d74ad8d

Please sign in to comment.