public function registerScripts() {
		$handle = 'bglib-license';

		wp_register_script(
			$handle,
			Library\Configs::get( 'libraryUrl' ) . 'src/assets/js/license.js',
			'jQuery'
		);

		$translations = array(
			'unknownError' => __( 'Unknown error', 'boldgrid-library' ),
		);

		wp_localize_script( $handle, 'bglibLicense', $translations );
	}
public function registerScripts() {
		$handle = 'bglib-license';

		wp_register_script(
			$handle,
			Library\Configs::get( 'libraryUrl' ) . 'src/assets/js/license.js',
			'jQuery'
		);

		$translations = array(
			'unknownError' => __( 'Unknown error', 'boldgrid-library' ),
		);

		wp_localize_script( $handle, 'bglibLicense', $translations );
	}
public function registerScripts ( ) { $ handle = 'bglib-license' ; wp_register_script ( $ handle , Library \ Configs :: get ( 'libraryUrl' ) . 'src/assets/js/license.js' , 'jQuery' ) ; $ translations = array ( 'unknownError' => __ ( 'Unknown error' , 'boldgrid-library' ) , ) ; wp_localize_script ( $ handle , 'bglibLicense' , $ translations ) ; }
Register scripts.

@since 2.2.0

@hook: admin_enqueue_scripts
Register scripts .