protected function installJavaScript()
    {
        if (! is_dir('resources/assets/js')) {
            mkdir(base_path('resources/assets/js'));
        }

        if (! is_dir('resources/assets/js/spark')) {
            mkdir(base_path('resources/assets/js/spark'));
        }

        copy(
            SPARK_PATH.'/resources/stubs/resources/assets/js/app.js',
            base_path('resources/assets/js/app.js')
        );

        copy(
            SPARK_PATH.'/resources/stubs/resources/assets/js/spark/components.js',
            base_path('resources/assets/js/spark/components.js')
        );
    }
protected function installJavaScript()
    {
        if (! is_dir('resources/assets/js')) {
            mkdir(base_path('resources/assets/js'));
        }

        if (! is_dir('resources/assets/js/spark')) {
            mkdir(base_path('resources/assets/js/spark'));
        }

        copy(
            SPARK_PATH.'/resources/stubs/resources/assets/js/app.js',
            base_path('resources/assets/js/app.js')
        );

        copy(
            SPARK_PATH.'/resources/stubs/resources/assets/js/spark/components.js',
            base_path('resources/assets/js/spark/components.js')
        );
    }
protected function installJavaScript ( ) { if ( ! is_dir ( 'resources/assets/js' ) ) { mkdir ( base_path ( 'resources/assets/js' ) ) ; } if ( ! is_dir ( 'resources/assets/js/spark' ) ) { mkdir ( base_path ( 'resources/assets/js/spark' ) ) ; } copy ( SPARK_PATH . '/resources/stubs/resources/assets/js/app.js' , base_path ( 'resources/assets/js/app.js' ) ) ; copy ( SPARK_PATH . '/resources/stubs/resources/assets/js/spark/components.js' , base_path ( 'resources/assets/js/spark/components.js' ) ) ; }
Install the default JavaScript file for the application.

@return void
Install the default JavaScript file for the application .