This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"scripts": { | |
"test": "TESTING=true node scripts/test.js --env=jsdom", | |
"test:image": "IMG=true node scripts/test.js --env=jsdom", | |
"storybook": "TESTING=true start-storybook -p 6006 -c config/storybook", | |
}, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
openPdf () { | |
const pdfUrl = `${process.env.API_URL}/123/pdf` | |
//this.printLoading = true | |
fetch(pdfUrl) | |
.then(response => response.blob()) | |
.then(blob => { | |
// open pdf on new page | |
const newWin = window.open( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Find: \{% trans %\}([\w\.-]+)\{% endtrans %\} | |
Replace: {{ '$1'|trans }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<trans-unit id="translation.id"> | |
<source>translation.id</source> | |
<target>Some text <![CDATA[<a href="%link%">%link_text%</a>]]> end of sentence.</target> | |
</trans-unit> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jQuery(function ($) { | |
/** | |
* | |
* IE iframe fix z-index | |
* | |
**/ | |
function ieIframeFix(){ | |
$("iframe").each(function () { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<form method="post" action="#"> | |
<label class="radio"> | |
<span class="styled"><input id="optionsRadios1" type="radio" checked="" value="option1" name="optionsRadios" checked></span> | |
Ja | |
</label> | |
<label class="radio"> | |
<span class="styled"><input id="optionsRadios2" type="radio" value="option2" name="optionsRadios"></span> | |
Nein | |
</label> | |
<label class="radio"> |