Refactors JS & Fixes

"Uncaught TypeError: Cannot read property 'siteApi' of undefined" error.
This commit is contained in:
Chuck Williams 2017-05-04 01:51:16 -06:00 committed by moocowmoo
parent 00010a3a58
commit fe72accf9b
4 changed files with 19 additions and 27 deletions

View file

@ -0,0 +1,5 @@
<script>
window.globals = {
siteApi : "{{ site.api }}"
};
</script>