wp_register_script Question

If you need to add it in the head, then this might help you:

<?php
add_action('wp_head', 'add_attr');
function add_attr(){
    ?>
        <script data-cfasync="false" type="text/javascript" src="http://use.typekit.com/YOUR-KIT-ID.js"></script>
        <script data-cfasync="false" type="text/javascript">try{Typekit.load();}catch(e){}</script>
    <?php
}
?>

Make sure your theme has the wp_head function call. You’ll need wp_enqueue_scripts or wp_register_scripts only if your JS code in in some other .js file and you need to call it on some page.