import popper.js
Signed-off-by: Nico Schottelius <nico@nico-notebook.schottelius.org>
This commit is contained in:
parent
615dc56d16
commit
16fb2bb919
241 changed files with 34099 additions and 0 deletions
|
|
@ -0,0 +1,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;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue