How do I pass the template url to javascript in the ADMIN area of my theme?

If you want to use the variables from the admin.js script, and you want to be sure it works you have to

  1. use as handle for wp_localize_script the handle of the script that have to use data
  2. call wp_localize_script after that script is enqueued

    wp_enqueue_script( 'some_handle' );
    wp_enqueue_script("admin", $adminDir."js/admin.js", false, "1.0"); 
    $translation_array = array( 'some_string' => __( 'Some string to translate' ), 'a_value' => '10' );
    wp_localize_script( 'admin', 'object_name', $translation_array );
    

Using the code above and console.log(object_name.some_string); you will see the translated string on your console.

Read more on wp_localize_script on Codex.