Parcourir la source

dont include jquery-ui cupertino theme in ZIP dist anymore

Adam Shaw il y a 8 ans
Parent
commit
c7b33f3dcd
2 fichiers modifiés avec 1 ajouts et 15 suppressions
  1. 1 14
      tasks/archive.js
  2. 0 1
      tests/manual/week_numbers.html

+ 1 - 14
tasks/archive.js

@@ -54,7 +54,7 @@ gulp.task('archive:misc', function() {
 	.pipe(gulp.dest('tmp/' + packageId + '/'));
 });
 
-gulp.task('archive:deps', [ 'archive:jqui:theme' ], function() {
+gulp.task('archive:deps', function() {
 	return gulp.src([
 		'node_modules/moment/min/moment.min.js',
 		'node_modules/jquery/dist/jquery.min.js',
@@ -63,18 +63,6 @@ gulp.task('archive:deps', [ 'archive:jqui:theme' ], function() {
 	.pipe(gulp.dest('tmp/' + packageId + '/lib/'));
 });
 
-// transfers a single jQuery UI theme
-gulp.task('archive:jqui:theme', function() {
-	return gulp.src([
-		'jquery-ui.min.css',
-		'images/*'
-	], {
-		cwd: 'node_modules/components-jqueryui/themes/cupertino/',
-		base: 'node_modules/components-jqueryui/themes/'
-	})
-	.pipe(gulp.dest('tmp/' + packageId + '/lib/'));
-});
-
 // transfers demo files, transforming their paths to dependencies
 gulp.task('archive:demos', function() {
 	return gulp.src('**/*', { cwd: 'demos/', base: 'demos/' })
@@ -96,7 +84,6 @@ function transformDemoPath(path) {
 	// reroot 3rd party libs
 	path = path.replace('../node_modules/moment/', '../lib/');
 	path = path.replace('../node_modules/jquery/dist/', '../lib/');
-	path = path.replace('../node_modules/components-jqueryui/themes/cupertino/', '../lib/cupertino/'); // must be first
 	path = path.replace('../node_modules/components-jqueryui/', '../lib/');
 
 	// reroot dist files to archive root

+ 0 - 1
tests/manual/week_numbers.html

@@ -1,7 +1,6 @@
 <!DOCTYPE html>
 <html>
 <head>
-<link rel='stylesheet' href='../demos/cupertino/theme.css' />
 <link href='../../dist/fullcalendar.css' rel='stylesheet' />
 <link href='../../dist/fullcalendar.print.css' rel='stylesheet' media='print' />
 <script src='../../node_modules/jquery/dist/jquery.js'></script>