 
 import INST from 'browser-sniffer'
 import {useScope as useI18nScope} from '@canvas/i18n'
+import ready from '@instructure/ready'
 import $ from 'jquery'
 import '@canvas/jquery/jquery.ajaxJSON'
 import '@canvas/forms/jquery/jquery.instructure_forms'

    already_existed = true
    unless $("#enrollment_" + enrollment.id).length
      already_existed = false
      $enrollment = $enrollment_blank.clone(true).fillTemplateData(
        textValues: [ "name", "membership_type", "email", "enrollment_id" ]
        id: "enrollment_" + enrollment.id
        hrefValues: [ "id", "user_id", "pseudonym_id", "communication_channel_id" ]

    UL.updateCounts()
    if already_existed then 1 else 0

ready -> $(UL.init)

export default UL
