Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
}
function Package( files, runtime ) {
this.themeGallery = ThemeGallery( runtime.jqueryUi );
if ( !runtime.themeVars ) {
runtime.themeVars = this.themeGallery[ 0 ].vars;
}
Package1_12.apply( this, arguments );
}
extend( Package.prototype, {
"AUTHORS.txt": Package1_12.prototype[ "AUTHORS.txt" ],
"LICENSE.txt": Package1_12.prototype[ "LICENSE.txt" ],
"images": Package1_12.prototype[ "images" ],
"jquery-ui.css": Package1_12.prototype[ "jquery-ui.css" ],
"jquery-ui.structure.css": Package1_12.prototype[ "jquery-ui.structure.css" ],
"jquery-ui.theme.css": Package1_12.prototype[ "jquery-ui.theme.css" ],
"jquery-ui.min.css": Package1_12.prototype[ "jquery-ui.min.css" ],
"jquery-ui.structure.min.css": Package1_12.prototype[ "jquery-ui.structure.min.css" ],
"jquery-ui.theme.min.css": Package1_12.prototype[ "jquery-ui.theme.min.css" ],
"themes": function( callback ) {
var files = {};
var structureCssFileNames = this.structureCssFileNames;
var themeCssFileNames = this.themeCssFileNames;
var pkgJson = this.pkgJson;
var themeGallery = this.themeGallery;
this.structureCss.promise.then( function( structureCss ) {
async.mapSeries( themeGallery, function( theme, callback ) {
var themeCss = theme.css();
files[path.join(theme.folderName(), "theme.css")] = themeCss;