Skip to content

Commit

Permalink
chore(doc): examples now moved to codesandbox.io
Browse files Browse the repository at this point in the history
  • Loading branch information
EisenbergEffect committed Nov 10, 2018
1 parent f4ce2e0 commit ef11389
Show file tree
Hide file tree
Showing 161 changed files with 1 addition and 3,422 deletions.
25 changes: 1 addition & 24 deletions build/tasks/doc.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,33 +40,10 @@ gulp.task('doc-shape', function(){
.pipe(gulp.dest(paths.doc));
});

function removeDTSPlugin(options) {
var found = options.plugins.find(function(x){
return x instanceof Array;
});

var index = options.plugins.indexOf(found);
options.plugins.splice(index, 1);
return options;
}

gulp.task('build-example-js', function() {
return gulp.src(paths.exampleSource + '**/*.js')
.pipe(to5(assign({}, removeDTSPlugin(compilerOptions.amd()))))
.pipe(gulp.dest(paths.exampleOutput));
});

gulp.task('build-example-html', function() {
return gulp.src(paths.exampleSource + '**/*.html')
.pipe(gulp.dest(paths.exampleOutput));
});

gulp.task('doc', function(callback){
return runSequence(
'doc-generate',
'doc-shape',
'build-example-js',
'build-example-html',
'doc-shape'
callback
);
});
37 changes: 0 additions & 37 deletions doc/example-dist/binding-binding-behaviors/custom/app.html

This file was deleted.

86 changes: 0 additions & 86 deletions doc/example-dist/binding-binding-behaviors/custom/app.js

This file was deleted.

48 changes: 0 additions & 48 deletions doc/example-dist/binding-binding-behaviors/debounce/app.html

This file was deleted.

39 changes: 0 additions & 39 deletions doc/example-dist/binding-binding-behaviors/debounce/app.js

This file was deleted.

9 changes: 0 additions & 9 deletions doc/example-dist/binding-binding-behaviors/signal/app.html

This file was deleted.

44 changes: 0 additions & 44 deletions doc/example-dist/binding-binding-behaviors/signal/app.js

This file was deleted.

46 changes: 0 additions & 46 deletions doc/example-dist/binding-binding-behaviors/throttle/app.html

This file was deleted.

39 changes: 0 additions & 39 deletions doc/example-dist/binding-binding-behaviors/throttle/app.js

This file was deleted.

Loading

0 comments on commit ef11389

Please sign in to comment.