Sha256: 3e8774ad545e5f47daba7fa260117791391efb613364765633691ba116d0795b

Contents?: true

Size: 822 Bytes

Versions: 4

Compression:

Stored size: 822 Bytes

Contents

// Global Dependencies

import '@hotwired/turbo'
import 'bootstrap'

// Core Functionality

import './core/stream_actions'
import './core/turbo_errors'

import cookie from './core/cookie'
import { i18n, localize } from './core/i18n'

import Modal from './core/modal'
import ErrorModal from './core/error_modal'

// Stimulus Controllers

import { ApplicationController, Controllers } from './controllers'
import Mixins from './mixins'

// Deprecated Functionality

import { init, ready, triggerInit, triggerReady } from './deprecated/events'
import './deprecated/tooltip'

// Export

const Trestle = {
  cookie,
  i18n,
  localize,

  // Stimulus
  ApplicationController,
  Controllers,
  Mixins,

  // Modals
  Modal,
  ErrorModal,

  // Deprecated
  init,
  ready,
  triggerInit,
  triggerReady
}

export default Trestle

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
trestle-0.10.1 frontend/js/index.js
trestle-0.10.0 frontend/js/index.js
trestle-0.10.0.pre2 frontend/js/index.js
trestle-0.10.0.pre frontend/js/index.js