1import { Controller } from '@hotwired/stimulus'; 2 3/** 4 * @domain í¼ ë¼ì´íì¬ì´í´ 5 * @concern ì¬ì©ì íì¸ ë¬¸êµ¬ ì ë ¥ì íµí ì¡ì ì¤í ì íì¸ 6 * @description promptë¡ ì¬ì©ì ì ë ¥ì ë°ì ì§ì ë 문ìì´ê³¼ ì¼ì¹íëì§ ê²ì¬íê³ , ì¼ì¹íì§ ìì¼ë©´ ì´ë²¤í¸ë¥¼ ì·¨ìíê³ ì림ì ëì°ë 컨í¸ë¡¤ë¬ 7 */ 8export default class extends Controller { 9 static values = { 10 prompt: String, 11 expect: String, 12 }; 13 14 handle(event) { 15 const userInput = prompt(this.promptValue); 16 17 if (userInput !== this.expectValue) { 18 event.preventDefault(); 19 alert('ì ë ¥í ë©ìì§ê° ì¼ì¹íì§ ììµëë¤. ì·¨ìí©ëë¤.'); 20 return false; 21 } 22 } 23}
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.