1// Configure your import map in config/importmap.rb. Read more: https://github.com/rails/importmap-rails 2import "@hotwired/turbo-rails" 3import "controllers" 4import "environment" 5 6// bootstrap 㯠2026-09 ã¾ã§å¤é¨CDNï¼ga.jspm.ioï¼ããèªãã§ãããéçã« import ãã㨠7// ãã®ãã¡ã¤ã«ã®ã¢ã¸ã¥ã¼ã«ã°ã©ãã«å ¥ããCDNãå±ããªãã»é ãã¨ãã« 8// controllers/index.js ã®è©ä¾¡ã¾ã§æ¢ã¾ã£ã¦ Stimulus ã1ã¤ãç»é²ãããªããªã£ã 9// ï¼ç»é¢ã¯æ®éã«æãã¦ããã®ã«ãã¿ã³ãå ¨é¨ç¡åå¿ãã¨ããç¶æ ã#978ï¼ã 10// ä»ã¯ vendor/javascript ã«åãè¾¼ãã§ãããããã¼ã«ãããã¨ããããªã¼ãã¼ã®ããã ãã®ä¾åãªã®ã§ã 11// åç import ã®ã¾ã¾ã«ãã¦ãä¸ä¸èªããªãã¦ãããã ãã§æ¢ã¾ãããã«ãã¦ããã 12document.addEventListener('turbo:load', async () => { 13 let bootstrap 14 try { 15 bootstrap = await import("bootstrap") 16 } catch (e) { 17 console.error('bootstrap ã®èªã¿è¾¼ã¿ã«å¤±æãã¾ããããã¼ã«ãããã¨ããããªã¼ãã¼ã¯åºã¾ãã', e) 18 return 19 } 20 const popoverTriggerList = document.querySelectorAll('[data-bs-toggle="popover"]') 21 const popoverList = [...popoverTriggerList].map(popoverTriggerEl => new bootstrap.Popover(popoverTriggerEl)) 22 const tooltipTriggerList = document.querySelectorAll('[data-bs-toggle="tooltip"]') 23 const tooltipList = [...tooltipTriggerList].map(tooltipTriggerEl => new bootstrap.Tooltip(tooltipTriggerEl)) 24});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.