Add api.js.
This commit is contained in:
parent
d0a0a87b43
commit
415acdf7d1
3 changed files with 9 additions and 0 deletions
7
frontends/ycdl_flask/static/js/api.js
Normal file
7
frontends/ycdl_flask/static/js/api.js
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
var api = {};
|
||||||
|
|
||||||
|
/**************************************************************************************************/
|
||||||
|
api.channels = {};
|
||||||
|
|
||||||
|
/**************************************************************************************************/
|
||||||
|
api.videos = {};
|
|
@ -6,6 +6,7 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
<link rel="stylesheet" href="/static/css/common.css">
|
<link rel="stylesheet" href="/static/css/common.css">
|
||||||
|
<script src="/static/js/api.js"></script>
|
||||||
<script src="/static/js/common.js"></script>
|
<script src="/static/js/common.js"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
<meta charset="UTF-8">
|
<meta charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
<link rel="stylesheet" href="/static/css/common.css">
|
<link rel="stylesheet" href="/static/css/common.css">
|
||||||
|
<script src="/static/js/api.js"></script>
|
||||||
<script src="/static/js/common.js"></script>
|
<script src="/static/js/common.js"></script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
|
Loading…
Reference in a new issue