Self hosted embedded mini-surveys
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
Syfaro 76edb0b60c Prevent duplicates when including script twice. 1 gadu atpakaļ
templates Example page shouldn't use localhost. 1 gadu atpakaļ
themes Number of improvements and validations. 1 gadu atpakaļ
.gitignore Extremely basic initial commit. 1 gadu atpakaļ
README.md Remove requirement of adding /api/v1 in host. 1 gadu atpakaļ
composer.json Extremely basic initial commit. 1 gadu atpakaļ
index.php Improve user permissions. 1 gadu atpakaļ
install.sql Improve validations, refactor name for clarity. 1 gadu atpakaļ
peppershrike.js Prevent duplicates when including script twice. 1 gadu atpakaļ

README.md

peppershrike

a way to easily embed a simple question or two into an already existing page.

allows for asking users a simple question rather than having them go to a separate site.

usage

<div class="peppershrike" data-id="1"></div>

<script src="peppershrike.js" data-host="http://localhost"></script>
<script>
    Peppershrike.find();
</script>