diff options
author | Tomi Virkki <tomivirkki@users.noreply.github.com> | 2015-11-19 11:22:09 +0200 |
---|---|---|
committer | Tomi Virkki <tomivirkki@users.noreply.github.com> | 2015-11-19 11:22:09 +0200 |
commit | 7f830907ef147848471ba46255bf43022cb11450 (patch) | |
tree | cdb6cd09e05763c4da084dbb6f6acd5ceef2e624 /tasks | |
parent | e8ae2738be4264e47dfe0e559db3723216207403 (diff) | |
parent | 89abefc57ce902fd4d406c8127f8f87eabec07a2 (diff) | |
download | vaadin-core-7f830907ef147848471ba46255bf43022cb11450.tar.gz vaadin-core-7f830907ef147848471ba46255bf43022cb11450.zip |
Merge pull request #22 from vaadin/feature/apidocs
Add index page for apidocs contained within the elements
Diffstat (limited to 'tasks')
-rw-r--r-- | tasks/cdn.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tasks/cdn.js b/tasks/cdn.js index 9ff994a..d6ea3c7 100644 --- a/tasks/cdn.js +++ b/tasks/cdn.js @@ -33,11 +33,11 @@ gulp.task('cdn:stage-bower_components', function() { }); gulp.task('cdn:stage-vaadin-elements', function() { - return gulp.src(['LICENSE.html', 'README.md', 'ga.js', 'vaadin-elements.html', 'demo/*', 'apidoc/*'], {base:"."}) + return gulp.src(['LICENSE.html', 'README.md', 'vaadin-elements.html', 'demo/*', 'apidoc/*'], {base:"."}) .pipe(modify({ fileModifier: function(file, contents) { if (/README.md/.test(file.path)) { - contents = contents.replace(/\/latest\//mg, '/' + version + '/') + contents = contents.replace(/\/latest\//mg, '/' + version + '/'); } else { contents.replace('https://cdn.vaadin.com/vaadin-elements/latest/', '../../'); } @@ -133,5 +133,5 @@ gulp.task('verify:cdn', ['cdn-test:stage'], function(done) { done(err); }); - }, done)}); + }, done);}); }); |