Changeset 2270813
- Timestamp:
- 03/30/2020 01:48:27 PM (6 years ago)
- Location:
- scss-library/trunk
- Files:
-
- 8 edited
-
readme.txt (modified) (1 diff)
-
scss-library.php (modified) (2 diffs)
-
src/ScssLibrary.php (modified) (20 diffs)
-
src/Settings/ScssLibrary.php (modified) (3 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/composer/autoload_classmap.php (modified) (1 diff)
-
vendor/composer/autoload_real.php (modified) (3 diffs)
-
vendor/composer/autoload_static.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
scss-library/trunk/readme.txt
r2163315 r2270813 51 51 52 52 == Changelog == 53 = 0.2.6 = 54 * Solving bugs. 55 56 = 0.2 = 57 * Feature: develop environment options. 58 59 = 0.1.6 = 60 * Solving bugs. 61 53 62 = 0.1.5 = 54 63 * Solving multisite bugs. -
scss-library/trunk/scss-library.php
r2251610 r2270813 4 4 Description: Adds support for SCSS stylesheets to wp_enqueue_style. 5 5 Author: Juan Sebastián Echeverry 6 Version: 0.2. 56 Version: 0.2.6 7 7 Text Domain: scsslib 8 8 … … 26 26 // Si estamos usando wp-cli, no correr el plugin 27 27 $autoloader = __DIR__ . '/vendor/autoload.php'; 28 if ( !is_readable( $autoloader ) ) return; 28 if (!is_readable($autoloader)) { 29 return; 30 } 29 31 30 32 require_once('vendor/autoload.php'); -
scss-library/trunk/src/ScssLibrary.php
r2251610 r2270813 32 32 33 33 // Arreglo apra guardar los mensajes de error de compilación 34 protected $errors = array();34 protected $errors = []; 35 35 36 36 // Directorio donde se escribirán los archivos compilados … … 48 48 add_action('plugins_loaded', [$this, 'plugin_setup']); 49 49 add_filter('style_loader_src', [$this, 'style_loader_src'], 10, 2); 50 add_action('wp_footer', array($this, 'wp_footer'));50 add_action('wp_footer', [$this, 'wp_footer']); 51 51 add_action('admin_notices', [$this, 'admin_notices']); 52 52 add_action('admin_bar_menu', [$this, 'admin_bar_menu'], 100); … … 63 63 { 64 64 // Activar el traductor 65 load_plugin_textdomain('scsslib', false, basename(dirname( __FILE__, 2 )) . '/languages/'); 66 } 67 68 public function set_directory( $path = false ) { 69 if(!$path) { 65 load_plugin_textdomain('scsslib', false, basename(dirname(__FILE__, 2)) . '/languages/'); 66 } 67 68 public function set_directory($path = false) 69 { 70 if (!$path) { 70 71 // Directorio donde se almacenará el cache 71 72 $pathname = '/build/scss_library/'; 72 if ( is_multisite()) {73 $blog_id = get_current_blog_id();74 $pathname .= $blog_id . '/';75 }73 if (is_multisite()) { 74 $blog_id = get_current_blog_id(); 75 $pathname .= $blog_id . '/'; 76 } 76 77 77 78 $this->build_dir = WP_CONTENT_DIR . $pathname; … … 98 99 99 100 // ¿Ya sabemos si estamos en modo de desarrollo? 100 if (!$this->modo_desarrollo) {101 if (!$this->modo_desarrollo) { 101 102 // Determinar si hubo un cambio 102 103 $opciones = get_option('scsslibrary'); … … 113 114 114 115 // Parsear la URL del archivo de estilo 115 $url = parse_url($src);116 $url = parse_url($src); 116 117 $pathinfo = pathinfo($url['path']); 117 118 … … 133 134 134 135 // Si es parte de un multisitio entonces hay que retirar el 'dominio' 135 if ( is_multisite()) {136 $aux = get_blog_details();137 $blog_details_path = $aux->path;138 if ($blog_details_path != PATH_CURRENT_SITE) {136 if (is_multisite()) { 137 $aux = get_blog_details(); 138 $blog_details_path = $aux->path; 139 if ($blog_details_path != PATH_CURRENT_SITE) { 139 140 $in = str_replace($blog_details_path, PATH_CURRENT_SITE, $in); 140 141 } 141 }142 } 142 143 143 144 // Confirmar que el archivo fuente existe 144 145 if (file_exists($in) === false) { 145 array_push($this->errors, array(146 array_push($this->errors, [ 146 147 'handle' => $handle, 147 148 'file' => basename($in), 148 149 'message' => __('Source file not found.', 'scsslib'), 149 )); 150 ]); 151 150 152 return $src; 151 153 } … … 161 163 if (is_dir($outputDir) === false) { 162 164 if (wp_mkdir_p($outputDir) === false) { 163 array_push($this->errors, array(165 array_push($this->errors, [ 164 166 'handle' => $handle, 165 167 'file' => 'Cache Directory', 166 168 'message' => __('File Permissions Error, unable to create cache directory. Please make sure the Wordpress Uploads directory is writable.', 'scsslib'), 167 ));169 ]); 168 170 delete_transient('scsslib_filemtimes'); 171 169 172 return $src; 170 173 } … … 174 177 // compilados tiene permisos de escritura 175 178 if (is_writable($outputDir) === false) { 176 array_push($this->errors, array(179 array_push($this->errors, [ 177 180 'handle' => $handle, 178 181 'file' => 'Cache Directory', 179 182 'message' => __('File Permissions Error, permission denied. Please make the cache directory writable.', 'scsslib'), 180 ));183 ]); 181 184 delete_transient('scsslib_filemtimes'); 185 182 186 return $src; 183 187 } … … 192 196 // Obtener la fecha que tenemos almacenada como fecha de creación de cada archivos 193 197 if (($filemtimes = get_transient('scsslib_filemtimes')) === false) { 194 $filemtimes = array();198 $filemtimes = []; 195 199 } 196 200 … … 202 206 203 207 // Obtener las variables variables 204 $variables = apply_filters('scsslib_compiler_variables', array(208 $variables = apply_filters('scsslib_compiler_variables', [ 205 209 'template_directory_uri' => get_template_directory_uri(), 206 210 'stylesheet_directory_uri' => get_stylesheet_directory_uri(), 207 ));211 ]); 208 212 209 213 // Si las variables no coinciden entonces hay que compilar … … 217 221 218 222 // Si el archivo no existe entonces hay que compilar 219 if (!file_exists($outputDir . $outName)) {223 if (!file_exists($outputDir . $outName)) { 220 224 $compileRequired = true; 221 225 } … … 232 236 233 237 // Determinar las varianles para el archivo de depuración 234 $srcmap_data = array(238 $srcmap_data = [ 235 239 // Ruta absoluta donde se escribirá el archivo .map 236 'sourceMapWriteTo' => $outputDir . $outName . ".map",240 'sourceMapWriteTo' => $outputDir . $outName . '.map', 237 241 // URL completa o relativa al archivp .map 238 'sourceMapURL' => $outputUrl . ".map",242 'sourceMapURL' => $outputUrl . '.map', 239 243 // (Opcional) URL relativa o completa al archivo .css compilado 240 244 'sourceMapFilename' => $outputUrl, … … 243 247 // (Opcional) Antepuesto a las entradas de campo 'fuente' para reubicar archivos fuente 244 248 'sourceRoot' => $src, 245 );249 ]; 246 250 247 251 // Configuración para crear el archivo .map de depuración. … … 256 260 $css = $compiler->compile(file_get_contents($in), $in); 257 261 } catch (Exception $e) { 258 array_push($this->errors, array(262 array_push($this->errors, [ 259 263 'handle' => $handle, 260 264 'file' => basename($in), 261 265 'message' => $e->getMessage(), 262 )); 266 ]); 267 263 268 return $src; 264 269 } … … 282 287 /** 283 288 * Los mensajes para ser desplegados en la parte duperior del dashboard. 284 * De momento muestra una advertencia si estamos en modo de desarrollador 285 */ 286 public function admin_notices() :void { 289 * De momento muestra una advertencia si estamos en modo de desarrollador 290 */ 291 public function admin_notices() :void 292 { 287 293 // Leer de la sopciones si estamos en modo develop 288 294 $opciones = get_option('scsslibrary'); 289 295 290 296 //Si hay un parámetro por get para desactivar el modo de desarrollo, desactivarlo 291 if (isset($_GET['deactivate_scss_library_development_mode'])) {297 if (isset($_GET['deactivate_scss_library_devmode'])) { 292 298 $opciones['develop'] = false; 293 299 update_option('scsslibrary', $opciones); 294 300 } 295 301 296 if (isset($opciones['develop']) && $opciones['develop'] === true) {302 if (isset($opciones['develop']) && $opciones['develop'] === true) { 297 303 $url = parse_url($_SERVER['REQUEST_URI']); 298 parse_str($url['query'], $query); 299 $query['deactivate_scss_library_development_mode'] = true; 300 $url['query'] = http_build_query($query); 301 $url = $url['path'] . '?' . $url['query']; 304 305 // Parcear el query 306 $query = []; 307 if (isset($url['query'])) { 308 parse_str($url['query'], $query); 309 } 310 $query['deactivate_scss_library_devmode'] = true; 311 $url['query'] = http_build_query($query); 312 $url = $url['path'] . '?' . $url['query']; 302 313 303 314 $text = sprintf(__("The development mode from the <strong>SCSS-Library</strong> is active. Remember to <a href='%s'>deactivate it</a> in case this is a production environment.", 'scsslib'), $url); … … 310 321 * @param Object $admin_bar Barra de administración 311 322 */ 312 public function admin_bar_menu($admin_bar): void { 323 public function admin_bar_menu($admin_bar): void 324 { 313 325 // Solo los usuarios con permisos para editar temas pueden tener 314 326 // acceso a estas acciones 315 if (current_user_can('edit_theme_options')) {327 if (current_user_can('edit_theme_options')) { 316 328 317 329 // Items para habilitar o deshabilitar … … 319 331 320 332 // ¿Activar el modo de desarrollo? 321 if (isset( $_GET['activate_scss_library_devmode'])) {333 if (isset($_GET['activate_scss_library_devmode'])) { 322 334 $opciones['develop'] = true; 323 335 update_option('scsslibrary', $opciones); … … 325 337 326 338 // ¿Desactivar el modo de desarrollo? 327 if (isset( $_GET['deactivate_scss_library_devmode'])) {339 if (isset($_GET['deactivate_scss_library_devmode'])) { 328 340 $opciones['develop'] = false; 329 341 update_option('scsslibrary', $opciones); … … 331 343 332 344 // Item contenedor principal 333 $admin_bar->add_menu( array(334 'id' => 'scss-library',335 'title' => __('SCSS Library', 'scsslib'),336 'href' => '#',337 'meta' => array(338 'class' => $opciones['develop'] ? 'sl-alert' : '',339 'html' => "<style>345 $admin_bar->add_menu([ 346 'id' => 'scss-library', 347 'title' => __('SCSS Library', 'scsslib'), 348 'href' => '#', 349 'meta' => [ 350 'class' => $opciones['develop'] ? 'sl-alert' : '', 351 'html' => '<style> 340 352 #wpadminbar .menupop.sl-alert > a.ab-item { color: white; background: #9c3e3d; } 341 </style> "342 )343 ));353 </style>', 354 ], 355 ]); 344 356 345 357 // Elementos para la URL 346 358 $url = parse_url($_SERVER['REQUEST_URI']); 347 parse_str($url['query'], $query); 348 $query1['recompile_scss_files'] = true; 359 360 // Parcear el query 361 $query = []; 362 if (isset($url['query'])) { 363 parse_str($url['query'], $query); 364 } 365 $query1['recompile_scss_files'] = true; 349 366 $query2['deactivate_scss_library_devmode'] = true; 350 $query3['activate_scss_library_devmode'] = true;367 $query3['activate_scss_library_devmode'] = true; 351 368 352 369 // Sub item para recompilar 353 if (!is_admin()) {354 $admin_bar->add_menu( array(355 'id'=> 'clear-scss',356 'parent' => 'scss-library',357 'title'=> __('Recompile SCSS files', 'scsslib'),358 'href'=> $url['path'] . '?' . http_build_query($query1),359 ));370 if (!is_admin()) { 371 $admin_bar->add_menu([ 372 'id' => 'clear-scss', 373 'parent' => 'scss-library', 374 'title' => __('Recompile SCSS files', 'scsslib'), 375 'href' => $url['path'] . '?' . http_build_query($query1), 376 ]); 360 377 } 361 378 362 379 // Si no está activo el develop 363 if (isset($opciones['develop']) && $opciones['develop'] ) {364 $admin_bar->add_menu( array(365 'id'=> 'deactivate-scss-devmode',366 'parent' => 'scss-library',367 'title'=> __('Deactivate development mode', 'scsslib'),368 'href'=> $url['path'] . '?' . http_build_query($query2),369 'meta' => array(370 'class' => 'sl-active',371 'html' => "<style>380 if (isset($opciones['develop']) && $opciones['develop']) { 381 $admin_bar->add_menu([ 382 'id' => 'deactivate-scss-devmode', 383 'parent' => 'scss-library', 384 'title' => __('Deactivate development mode', 'scsslib'), 385 'href' => $url['path'] . '?' . http_build_query($query2), 386 'meta' => [ 387 'class' => 'sl-active', 388 'html' => '<style> 372 389 #wpadminbar .ab-submenu .sl-active > a.ab-item { color: white; background: #9c3e3d; } 373 </style> "374 )375 ));390 </style>', 391 ], 392 ]); 376 393 } else { 377 $admin_bar->add_menu( array(378 'id'=> 'activate-scss-devmode',379 'parent' => 'scss-library',380 'title'=> __('Activate development mode', 'scsslib'),381 'href' => $url['path'] . '?' . http_build_query($query3)382 ));394 $admin_bar->add_menu([ 395 'id' => 'activate-scss-devmode', 396 'parent' => 'scss-library', 397 'title' => __('Activate development mode', 'scsslib'), 398 'href' => $url['path'] . '?' . http_build_query($query3), 399 ]); 383 400 } 384 401 } … … 443 460 <?php foreach ($this->errors as $error): ?> 444 461 <div class="scsslib-error"> 445 <div class="scsslib-file"><?php if($error['handle']) printf('%s : ', $error['handle']); ?><?php print $error['file'] ?></div> 462 <div class="scsslib-file"><?php if ($error['handle']) { 463 printf('%s : ', $error['handle']); 464 } ?><?php print $error['file'] ?></div> 446 465 <div class="scsslib-message"><?php print $error['message'] ?></div> 447 466 </div> -
scss-library/trunk/src/Settings/ScssLibrary.php
r2251591 r2270813 14 14 protected function __construct() 15 15 { 16 add_action('customize_register', array($this, 'options'));16 add_action('customize_register', [$this, 'options']); 17 17 } 18 18 … … 26 26 $wp_customize->add_section( 27 27 'scsslibrary', 28 array(28 [ 29 29 'title' => __('SCSS Compiler', 'scsslib'), 30 )30 ] 31 31 ); 32 32 … … 34 34 $wp_customize->add_setting( 35 35 'scsslibrary[develop]', 36 array(36 [ 37 37 'type' => 'option', // or 'theme_mod' 38 )38 ] 39 39 ); 40 40 41 41 $wp_customize->add_control( 42 42 'scsslibrary[develop]', 43 array(44 'label' => __('Developer mode', 'scsslib'),43 [ 44 'label' => __('Developer mode', 'scsslib'), 45 45 'description' => __('Enable this option if you want to always compile the files. This is helpful while developing but remember to disable it when in production.', 'scsslib'), 46 'section' => 'scsslibrary',47 'settings' => 'scsslibrary[develop]',48 'type' => 'checkbox'49 )46 'section' => 'scsslibrary', 47 'settings' => 'scsslibrary[develop]', 48 'type' => 'checkbox', 49 ] 50 50 ); 51 51 } -
scss-library/trunk/vendor/autoload.php
r2251603 r2270813 5 5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 return ComposerAutoloaderInit 79b7a9c44176eea7cf65737a0dfc10a0::getLoader();7 return ComposerAutoloaderInitff69a621beb925ab247ba89a2b55463b::getLoader(); -
scss-library/trunk/vendor/composer/autoload_classmap.php
r2251603 r2270813 7 7 8 8 return array( 9 'Baxtian\\Singleton' => $vendorDir . '/baxtian/php-singleton/src/Singleton.php', 10 'ScssLibrary\\ScssLibrary' => $baseDir . '/src/ScssLibrary.php', 11 'ScssLibrary\\Settings\\ScssLibrary' => $baseDir . '/src/Settings/ScssLibrary.php', 12 'ScssPhp\\ScssPhp\\Base\\Range' => $vendorDir . '/scssphp/scssphp/src/Base/Range.php', 13 'ScssPhp\\ScssPhp\\Block' => $vendorDir . '/scssphp/scssphp/src/Block.php', 14 'ScssPhp\\ScssPhp\\Cache' => $vendorDir . '/scssphp/scssphp/src/Cache.php', 15 'ScssPhp\\ScssPhp\\Colors' => $vendorDir . '/scssphp/scssphp/src/Colors.php', 16 'ScssPhp\\ScssPhp\\Compiler' => $vendorDir . '/scssphp/scssphp/src/Compiler.php', 17 'ScssPhp\\ScssPhp\\Compiler\\Environment' => $vendorDir . '/scssphp/scssphp/src/Compiler/Environment.php', 18 'ScssPhp\\ScssPhp\\Exception\\CompilerException' => $vendorDir . '/scssphp/scssphp/src/Exception/CompilerException.php', 19 'ScssPhp\\ScssPhp\\Exception\\ParserException' => $vendorDir . '/scssphp/scssphp/src/Exception/ParserException.php', 20 'ScssPhp\\ScssPhp\\Exception\\RangeException' => $vendorDir . '/scssphp/scssphp/src/Exception/RangeException.php', 21 'ScssPhp\\ScssPhp\\Exception\\ServerException' => $vendorDir . '/scssphp/scssphp/src/Exception/ServerException.php', 22 'ScssPhp\\ScssPhp\\Formatter' => $vendorDir . '/scssphp/scssphp/src/Formatter.php', 23 'ScssPhp\\ScssPhp\\Formatter\\Compact' => $vendorDir . '/scssphp/scssphp/src/Formatter/Compact.php', 24 'ScssPhp\\ScssPhp\\Formatter\\Compressed' => $vendorDir . '/scssphp/scssphp/src/Formatter/Compressed.php', 25 'ScssPhp\\ScssPhp\\Formatter\\Crunched' => $vendorDir . '/scssphp/scssphp/src/Formatter/Crunched.php', 26 'ScssPhp\\ScssPhp\\Formatter\\Debug' => $vendorDir . '/scssphp/scssphp/src/Formatter/Debug.php', 27 'ScssPhp\\ScssPhp\\Formatter\\Expanded' => $vendorDir . '/scssphp/scssphp/src/Formatter/Expanded.php', 28 'ScssPhp\\ScssPhp\\Formatter\\Nested' => $vendorDir . '/scssphp/scssphp/src/Formatter/Nested.php', 29 'ScssPhp\\ScssPhp\\Formatter\\OutputBlock' => $vendorDir . '/scssphp/scssphp/src/Formatter/OutputBlock.php', 30 'ScssPhp\\ScssPhp\\Node' => $vendorDir . '/scssphp/scssphp/src/Node.php', 31 'ScssPhp\\ScssPhp\\Node\\Number' => $vendorDir . '/scssphp/scssphp/src/Node/Number.php', 32 'ScssPhp\\ScssPhp\\Parser' => $vendorDir . '/scssphp/scssphp/src/Parser.php', 33 'ScssPhp\\ScssPhp\\SourceMap\\Base64' => $vendorDir . '/scssphp/scssphp/src/SourceMap/Base64.php', 34 'ScssPhp\\ScssPhp\\SourceMap\\Base64VLQ' => $vendorDir . '/scssphp/scssphp/src/SourceMap/Base64VLQ.php', 35 'ScssPhp\\ScssPhp\\SourceMap\\SourceMapGenerator' => $vendorDir . '/scssphp/scssphp/src/SourceMap/SourceMapGenerator.php', 36 'ScssPhp\\ScssPhp\\Type' => $vendorDir . '/scssphp/scssphp/src/Type.php', 37 'ScssPhp\\ScssPhp\\Util' => $vendorDir . '/scssphp/scssphp/src/Util.php', 38 'ScssPhp\\ScssPhp\\Version' => $vendorDir . '/scssphp/scssphp/src/Version.php', 9 39 ); -
scss-library/trunk/vendor/composer/autoload_real.php
r2251603 r2270813 3 3 // autoload_real.php @generated by Composer 4 4 5 class ComposerAutoloaderInit 79b7a9c44176eea7cf65737a0dfc10a05 class ComposerAutoloaderInitff69a621beb925ab247ba89a2b55463b 6 6 { 7 7 private static $loader; … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 79b7a9c44176eea7cf65737a0dfc10a0', 'loadClassLoader'), true, true);22 spl_autoload_register(array('ComposerAutoloaderInitff69a621beb925ab247ba89a2b55463b', 'loadClassLoader'), true, true); 23 23 self::$loader = $loader = new \Composer\Autoload\ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 79b7a9c44176eea7cf65737a0dfc10a0', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInitff69a621beb925ab247ba89a2b55463b', 'loadClassLoader')); 25 25 26 26 $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); … … 28 28 require_once __DIR__ . '/autoload_static.php'; 29 29 30 call_user_func(\Composer\Autoload\ComposerStaticInit 79b7a9c44176eea7cf65737a0dfc10a0::getInitializer($loader));30 call_user_func(\Composer\Autoload\ComposerStaticInitff69a621beb925ab247ba89a2b55463b::getInitializer($loader)); 31 31 } else { 32 32 $map = require __DIR__ . '/autoload_namespaces.php'; -
scss-library/trunk/vendor/composer/autoload_static.php
r2251603 r2270813 5 5 namespace Composer\Autoload; 6 6 7 class ComposerStaticInit 79b7a9c44176eea7cf65737a0dfc10a07 class ComposerStaticInitff69a621beb925ab247ba89a2b55463b 8 8 { 9 9 public static $prefixLengthsPsr4 = array ( … … 34 34 ); 35 35 36 public static $classMap = array ( 37 'Baxtian\\Singleton' => __DIR__ . '/..' . '/baxtian/php-singleton/src/Singleton.php', 38 'ScssLibrary\\ScssLibrary' => __DIR__ . '/../..' . '/src/ScssLibrary.php', 39 'ScssLibrary\\Settings\\ScssLibrary' => __DIR__ . '/../..' . '/src/Settings/ScssLibrary.php', 40 'ScssPhp\\ScssPhp\\Base\\Range' => __DIR__ . '/..' . '/scssphp/scssphp/src/Base/Range.php', 41 'ScssPhp\\ScssPhp\\Block' => __DIR__ . '/..' . '/scssphp/scssphp/src/Block.php', 42 'ScssPhp\\ScssPhp\\Cache' => __DIR__ . '/..' . '/scssphp/scssphp/src/Cache.php', 43 'ScssPhp\\ScssPhp\\Colors' => __DIR__ . '/..' . '/scssphp/scssphp/src/Colors.php', 44 'ScssPhp\\ScssPhp\\Compiler' => __DIR__ . '/..' . '/scssphp/scssphp/src/Compiler.php', 45 'ScssPhp\\ScssPhp\\Compiler\\Environment' => __DIR__ . '/..' . '/scssphp/scssphp/src/Compiler/Environment.php', 46 'ScssPhp\\ScssPhp\\Exception\\CompilerException' => __DIR__ . '/..' . '/scssphp/scssphp/src/Exception/CompilerException.php', 47 'ScssPhp\\ScssPhp\\Exception\\ParserException' => __DIR__ . '/..' . '/scssphp/scssphp/src/Exception/ParserException.php', 48 'ScssPhp\\ScssPhp\\Exception\\RangeException' => __DIR__ . '/..' . '/scssphp/scssphp/src/Exception/RangeException.php', 49 'ScssPhp\\ScssPhp\\Exception\\ServerException' => __DIR__ . '/..' . '/scssphp/scssphp/src/Exception/ServerException.php', 50 'ScssPhp\\ScssPhp\\Formatter' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter.php', 51 'ScssPhp\\ScssPhp\\Formatter\\Compact' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Compact.php', 52 'ScssPhp\\ScssPhp\\Formatter\\Compressed' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Compressed.php', 53 'ScssPhp\\ScssPhp\\Formatter\\Crunched' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Crunched.php', 54 'ScssPhp\\ScssPhp\\Formatter\\Debug' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Debug.php', 55 'ScssPhp\\ScssPhp\\Formatter\\Expanded' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Expanded.php', 56 'ScssPhp\\ScssPhp\\Formatter\\Nested' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/Nested.php', 57 'ScssPhp\\ScssPhp\\Formatter\\OutputBlock' => __DIR__ . '/..' . '/scssphp/scssphp/src/Formatter/OutputBlock.php', 58 'ScssPhp\\ScssPhp\\Node' => __DIR__ . '/..' . '/scssphp/scssphp/src/Node.php', 59 'ScssPhp\\ScssPhp\\Node\\Number' => __DIR__ . '/..' . '/scssphp/scssphp/src/Node/Number.php', 60 'ScssPhp\\ScssPhp\\Parser' => __DIR__ . '/..' . '/scssphp/scssphp/src/Parser.php', 61 'ScssPhp\\ScssPhp\\SourceMap\\Base64' => __DIR__ . '/..' . '/scssphp/scssphp/src/SourceMap/Base64.php', 62 'ScssPhp\\ScssPhp\\SourceMap\\Base64VLQ' => __DIR__ . '/..' . '/scssphp/scssphp/src/SourceMap/Base64VLQ.php', 63 'ScssPhp\\ScssPhp\\SourceMap\\SourceMapGenerator' => __DIR__ . '/..' . '/scssphp/scssphp/src/SourceMap/SourceMapGenerator.php', 64 'ScssPhp\\ScssPhp\\Type' => __DIR__ . '/..' . '/scssphp/scssphp/src/Type.php', 65 'ScssPhp\\ScssPhp\\Util' => __DIR__ . '/..' . '/scssphp/scssphp/src/Util.php', 66 'ScssPhp\\ScssPhp\\Version' => __DIR__ . '/..' . '/scssphp/scssphp/src/Version.php', 67 ); 68 36 69 public static function getInitializer(ClassLoader $loader) 37 70 { 38 71 return \Closure::bind(function () use ($loader) { 39 $loader->prefixLengthsPsr4 = ComposerStaticInit79b7a9c44176eea7cf65737a0dfc10a0::$prefixLengthsPsr4; 40 $loader->prefixDirsPsr4 = ComposerStaticInit79b7a9c44176eea7cf65737a0dfc10a0::$prefixDirsPsr4; 72 $loader->prefixLengthsPsr4 = ComposerStaticInitff69a621beb925ab247ba89a2b55463b::$prefixLengthsPsr4; 73 $loader->prefixDirsPsr4 = ComposerStaticInitff69a621beb925ab247ba89a2b55463b::$prefixDirsPsr4; 74 $loader->classMap = ComposerStaticInitff69a621beb925ab247ba89a2b55463b::$classMap; 41 75 42 76 }, null, ClassLoader::class);
Note: See TracChangeset
for help on using the changeset viewer.