대시보드
저장소
filestore
액티비티
검색
로그인
~jhpark
/
owl-kisa
OWL ITS + 탐지시스템(인터넷 진흥원)
요약
커밋
트리
문서
포크
비교
blame
|
히스토리
|
raw
프로젝트 내에 이슈유형 없을시 사이드바에 표시
wyu
2021-12-22
06e47101db331df85b8b35d22a926d2ce82d4ba9
[~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;
}