Menu icon Foundation

Developer

My Posts

No Content

My Comments

Chris commented on Daniel Woodard's post over 3 years

It'll be tough to tell without seeing your code. If you're using Gulp try adding gulp-util to get some logs going. Ideally something like this should work:
gulp.task('foundation', function() {
return gulp.src(foundationPaths)
.pipe($.babel()) //transpile first
.pipe($.concat('foundation.min.js'))
.pipe($.uglify().on('error', $.util.log))
.pipe(gulp.dest('./js'));
});

Chris commented on Daniel Woodard's post over 3 years

You'll need to transpile those template strings using Babel.  See here:
https://github.com/zurb/foundation-sites/wiki/Upgrading-to-Foundation-6.2

Chris commented on Adam Tow's post over 5 years

I'm also having this issue running Foundation 5 on a production site. Something in the Foundation code is causing Safari to crash on pinch zoom. I have replicated so far on an iPad2 running iOS7 and a Retina iPad running iOS6. This happens on both my production site AND the Zurb Foundation main site, which leads me to believe there is a bug in the framework itself.

Does anyone have an idea as to what might be causing this?

Posts Followed




Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Daniel Woodard's post over 3 years

It'll be tough to tell without seeing your code. If you're using Gulp try adding gulp-util to get some logs going. Ideally something like this should work:
gulp.task('foundation', function() {
return gulp.src(foundationPaths)
.pipe($.babel()) //transpile first
.pipe($.concat('foundation.min.js'))
.pipe($.uglify().on('error', $.util.log))
.pipe(gulp.dest('./js'));
});

You commented on Daniel Woodard's post over 3 years

You'll need to transpile those template strings using Babel.  See here:
https://github.com/zurb/foundation-sites/wiki/Upgrading-to-Foundation-6.2

You commented on Adam Tow's post over 5 years

I'm also having this issue running Foundation 5 on a production site. Something in the Foundation code is causing Safari to crash on pinch zoom. I have replicated so far on an iPad2 running iOS7 and a Retina iPad running iOS6. This happens on both my production site AND the Zurb Foundation main site, which leads me to believe there is a bug in the framework itself.

Does anyone have an idea as to what might be causing this?

Posts Followed

Following

  • No Content

Followers

  • No Content