feat: Update composeMail function
- Move function to hippie functions - Use vanilla instead of jQuery - Add examples to introduction page - Reindent
This commit is contained in:
parent
9fbc19388f
commit
875041bacf
3 changed files with 213 additions and 213 deletions
|
|
@ -26,6 +26,8 @@ tags:
|
|||
</header>
|
||||
<article>
|
||||
<p>…</p>
|
||||
<p>Contact: <a id="special" href=""></a></p>
|
||||
<p>More: <a class="general" href=""></a>, <a class="general" href=""></a></p>
|
||||
</article>
|
||||
</section>
|
||||
{% endblock %}
|
||||
|
|
@ -43,6 +45,8 @@ tags:
|
|||
|
||||
$(document).ready(function () {
|
||||
logPerf('JQ document ready event fired.');
|
||||
composeMail('special', 'me', 'domain', 'tld', 'Me', 'HIPPIE')
|
||||
composeMail('.general', 'name', 'domain', 'tld', '', '')
|
||||
});
|
||||
|
||||
$(document).scroll(function () {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue