parent
546b89569b
commit
4cf03981b7
5 changed files with 21 additions and 16 deletions
@ -1,13 +1,5 @@ |
|||||||
<div id="expo_top_events"> |
<div id="expo_top_events"> |
||||||
|
|
||||||
</div> |
</div> |
||||||
<script> |
|
||||||
/* НУЖНО ЛИ??? */ |
<script type="text/javascript" src="{% static 'client/js/rejs/tops.js' %}"></script> |
||||||
window.sendData = { |
|
||||||
"theme": [{{ themes|join:", " }}], |
|
||||||
"country": "{{ country }}", |
|
||||||
"city": "{{ city }}", |
|
||||||
"tag": "{{ tag }}" |
|
||||||
}; |
|
||||||
var url = "/expo-b/get-tops/"; |
|
||||||
</script> |
|
||||||
@ -0,0 +1,8 @@ |
|||||||
|
(function () { |
||||||
|
"use strict"; |
||||||
|
|
||||||
|
var API_URL_ROOT = "/expo-b/get-tops/"; |
||||||
|
var PARENT_ID = "expo_top_events"; |
||||||
|
|
||||||
|
console.log("TOPS"); |
||||||
|
})(); |
||||||
Loading…
Reference in new issue