대시보드
저장소
filestore
액티비티
검색
로그인
~jhpark
/
owl-kisa
OWL ITS + 탐지시스템(인터넷 진흥원)
요약
커밋
트리
문서
포크
비교
blame
|
히스토리
|
raw
owl-local
jhjang
2021-10-14
722a8a9409f3bbe3da0a1c77d709d68cfb0a6705
[~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;
}