Sha256: 9bbab1a9c54348817416ac39523ffa77f02aa96d69d7bf364925826823723048

Contents?: true

Size: 1.05 KB

Versions: 12

Compression:

Stored size: 1.05 KB

Contents

import { identifierForContextKey } from "@hotwired/stimulus-webpack-helpers"

import BulkActionFormController from './bulk_action_form_controller'
import BulkActionsController from './bulk_actions_controller'
import ClipboardController from './clipboard_controller'
import FormController from './form_controller'
import MobileMenuController from './mobile_menu_controller'
import TextToggleController from './text_toggle_controller'
import SelectAllController from './select_all_controller'

export const controllerDefinitions = [
  [BulkActionFormController, 'bulk_action_form_controller.js'],
  [BulkActionsController, 'bulk_actions_controller.js'],
  [ClipboardController, 'clipboard_controller.js'],
  [FormController, 'form_controller.js'],
  [MobileMenuController, 'mobile_menu_controller.js'],
  [TextToggleController, 'text_toggle_controller.js'],
  [SelectAllController, 'select_all_controller.js'],
].map(function(d) {
  const key = d[1]
  const controller = d[0]
  return {
    identifier: identifierForContextKey(key),
    controllerConstructor: controller
  }
})

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
bullet_train-1.2.10 app/javascript/controllers/index.js
bullet_train-1.2.9 app/javascript/controllers/index.js
bullet_train-1.2.8 app/javascript/controllers/index.js
bullet_train-1.2.7 app/javascript/controllers/index.js
bullet_train-1.2.6 app/javascript/controllers/index.js
bullet_train-1.2.5 app/javascript/controllers/index.js
bullet_train-1.2.4 app/javascript/controllers/index.js
bullet_train-1.2.3 app/javascript/controllers/index.js
bullet_train-1.2.2 app/javascript/controllers/index.js
bullet_train-1.2.1 app/javascript/controllers/index.js
bullet_train-1.2.0 app/javascript/controllers/index.js
bullet_train-1.1.10 app/javascript/controllers/index.js