From afe6177da6cbd27544a61da99bfb69ba62357b55 Mon Sep 17 00:00:00 2001 From: Blade Barringer Date: Tue, 3 Feb 2015 20:03:27 -0600 Subject: [PATCH] Added in comment about why images need to be broken up --- gulpfile.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gulpfile.js b/gulpfile.js index 4311d51931..e4589fbd7c 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -84,6 +84,8 @@ gulp.task('hashres', function() { }); gulp.task('sprite', function(cb) { + // Mobile Safari can't render image files > 1024x1024*3, so we have to break it down to multiple + // files in this hack approach. See https://github.com/Ensighten/grunt-spritesmith/issues/67#issuecomment-34786248 var images = glob.sync('./common/img/sprites/spritesmith/**/*.png'); // var totalDims = {width:0,height:0}; // _.each(images, function(img){