let there be web animations

This commit is contained in:
Adam Bradley
2015-05-19 16:24:11 -05:00
parent d91c4e75c8
commit b0e48d1709
20 changed files with 370 additions and 3309 deletions

View File

@ -25,7 +25,8 @@ gulp.task('build', function() {
'ionic.copy.js',
'ionic.examples',
'sass',
'fonts');
'fonts',
'polyfills');
})
gulp.task('watch', function() {
@ -36,6 +37,7 @@ gulp.task('watch', function() {
'ionic.examples',
'sass',
'fonts',
'polyfills',
function() {
watch('ionic/**/*.js', function() {
@ -111,6 +113,12 @@ gulp.task('fonts', function() {
});
gulp.task('polyfills', function() {
return gulp.src('ionic/animations/web-animations*')
.pipe(gulp.dest('../angular-ionic/dist/js/dev/es5/polyfills'));
});
gulp.task('update.angular', function(done) {
if (!fs.existsSync('../angular-ionic')) {