jssource/src_files directory missing?

I upgraded my sandbox from 7.6.2 to 7.7.1 and then 7.7.2 (It seems there is no direct path from 7.6.x to 7.7.2) and it appears that the src_files directory is no longer in jssource. Yet JSRepair still references it.

Should it be there?

thanks

FrancescaS

Parents
  • Yes, it is expected that it disappear. The unminified sources are now in ./clients. This was done to eliminate some redundancies in the code. 

    Any references that you might still find to ./jssource/src_files would be in error.

  • Good to know! I'll need to make a note of that as I am sure to forget

    FYI - a quick grep gives me:

    jssource/minify_utils.php:        $bu_path .= substr($from_path, strlen($to_path.'/jssource/src_files'));

    jssource/minify_utils.php:            $bu_path = $to_path.'/jssource/src_files';

    jssource/minify.php:            $minifyUtils->reverseScripts("$from/jssource/src_files",$from);

    jssource/minify.php:            $minifyUtils->reverseScripts("$from/jssource/src_files",$from);

    jssource/minify.php:            $minifyUtils->reverseScripts("$from/jssource/src_files",$from);

    jssource/minify.php:     -r  = replace javascript of root with scripts from backed up jssource/src_files directory

    modules/Administration/callJSRepair.php:            $minifyUtils->reverseScripts("$from/jssource/src_files","$from");

    modules/Administration/callJSRepair.php:            $minifyUtils->reverseScripts("$from/jssource/src_files","$from");

Reply
  • Good to know! I'll need to make a note of that as I am sure to forget

    FYI - a quick grep gives me:

    jssource/minify_utils.php:        $bu_path .= substr($from_path, strlen($to_path.'/jssource/src_files'));

    jssource/minify_utils.php:            $bu_path = $to_path.'/jssource/src_files';

    jssource/minify.php:            $minifyUtils->reverseScripts("$from/jssource/src_files",$from);

    jssource/minify.php:            $minifyUtils->reverseScripts("$from/jssource/src_files",$from);

    jssource/minify.php:            $minifyUtils->reverseScripts("$from/jssource/src_files",$from);

    jssource/minify.php:     -r  = replace javascript of root with scripts from backed up jssource/src_files directory

    modules/Administration/callJSRepair.php:            $minifyUtils->reverseScripts("$from/jssource/src_files","$from");

    modules/Administration/callJSRepair.php:            $minifyUtils->reverseScripts("$from/jssource/src_files","$from");

Children