<commit_before>'use strict';

var autoprefixer = require('gulp-autoprefixer'),
	minify = require('gulp-minify-css'),
	gulp = require('gulp'),
	header = require('gulp-header'),
	sass = require('gulp-sass'),
	sync = require('browser-sync').create();

// Banner

var pkg = require('./package.json');
var banner = `/**
 * ${ pkg.description }
 * ${ pkg.name } v${ pkg.version }, ${ pkg.homepage }
 * @copyright 2010–${ new Date().getFullYear() }
 * @license ${ pkg.license }
 */
`;

// Server

gulp.task('default', ['styles'], function() {
	sync.init({
		ui: false,
		notify: false,
		server: {
			baseDir: '.',
			routes: {
				'/shower-core': '../shower-core'
			}
		}
	});

	gulp.watch('styles/**/*.scss', ['styles']);
	gulp.watch('index.html').on('change', sync.reload);
});

// Styles

gulp.task('styles', function () {
	return gulp.src('styles/screen-*.scss')
		.pipe(sass().on('error', sass.logError))
		.pipe(autoprefixer())
		.pipe(minify())
		.pipe(header(banner, { pkg: pkg }))
		.pipe(gulp.dest('styles'))
		.pipe(sync.stream());
});
<commit_msg>Restore compatibility with iOS 8.<commit_after>'use strict';

var autoprefixer = require('gulp-autoprefixer'),
	minify = require('gulp-minify-css'),
	gulp = require('gulp'),
	header = require('gulp-header'),
	sass = require('gulp-sass'),
	sync = require('browser-sync').create();

// Banner

var pkg = require('./package.json');
var banner = `/**
 * ${ pkg.description }
 * ${ pkg.name } v${ pkg.version }, ${ pkg.homepage }
 * @copyright 2010–${ new Date().getFullYear() }
 * @license ${ pkg.license }
 */
`;

// Server

gulp.task('default', ['styles'], function() {
	sync.init({
		ui: false,
		notify: false,
		server: {
			baseDir: '.',
			routes: {
				'/shower-core': '../shower-core'
			}
		}
	});

	gulp.watch('styles/**/*.scss', ['styles']);
	gulp.watch('index.html').on('change', sync.reload);
});

// Styles

gulp.task('styles', function () {
	return gulp.src('styles/screen-*.scss')
		.pipe(sass().on('error', sass.logError))
		.pipe(autoprefixer({
				browsers: [
					'> 1%',
					'last 2 versions',
					'Firefox ESR',
					'iOS >= 8',
				]
			}))
		.pipe(minify())
		.pipe(header(banner, { pkg: pkg }))
		.pipe(gulp.dest('styles'))
		.pipe(sync.stream());
});

{'fraction_non_alphanumeric': 0.23946188340807176, 'fraction_numerical': 0.0053811659192825115, 'mean_word_length': 3.6, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '854293', 'n_tokens_mistral': 926, 'n_tokens_neox': 835, 'n_words': 141}