대시보드
저장소
filestore
액티비티
검색
로그인
~jhpark
/
owl-kisa
OWL ITS + 탐지시스템(인터넷 진흥원)
요약
커밋
트리
문서
포크
비교
blame
|
히스토리
|
raw
이슈 추가/수정 시 ISP, 호스팅 이름 못 불러오는 문제 해결 (custom-input)
이민희
2022-01-18
491455286747cb100caee9ca12d9b5a94077b85e
[~jhpark/owl-kisa.git]
/
src
/
main
/
webapp
/
bower_components
/
popper.js
/
packages
/
test-utils
/
utils
/
appendNewRef.js
1
2
3
4
5
6
7
8
9
10
export default function appendNewRef(id, text, container) {
const jasmineWrapper = document.getElementById('jasmineWrapper');
const ref = document.createElement('div');
ref.id = id;
ref.className = 'ref';
ref.textContent = text || 'reference';
(container || jasmineWrapper).appendChild(ref);
return ref;
}