Skip to content

Commit

Permalink
-
Browse files Browse the repository at this point in the history
  • Loading branch information
yairEO committed Apr 28, 2024
1 parent d9a460f commit 1d4c914
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ ${LICENSE}`;
.pipe(gulp.dest('./dist/'))
}

function compileAllExamples() {
function compileAllExamples(done) {
// iterate all folders at ".\docs\examples\src"
fs.readdir('docs/examples/src', { withFileTypes: true }, (err, examples) => {
const subfolders = examples
Expand All @@ -260,6 +260,8 @@ function compileAllExamples() {
// generate an example html file from each subfolder
subfolders.forEach(compileExample)
})

done && done()
}

// compiles a specific example demo
Expand Down

0 comments on commit 1d4c914

Please sign in to comment.