1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
5 // rails_npm does "window.Mithril = require('mithril')" for us.
8 $(document).on('ready arv:pane:loaded', function() {
9 $('[data-mount-mithril]').each(function() {
10 m.mount(this, window.components[$(this).data('mount-mithril')])