Skip to content

Commit

Permalink
chore: Update version info
Browse files Browse the repository at this point in the history
  • Loading branch information
PindleskinY committed Feb 17, 2021
1 parent d278cb0 commit 1623f6e
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 13 deletions.
16 changes: 6 additions & 10 deletions examples/templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,17 @@
<meta name="viewport"
content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>index</title>
<script src="https://cdn.jsdelivr.net/gh/yoobool/[email protected]/packages/umd/flask-state.min.js"></script>
<link href="https://cdn.jsdelivr.net/gh/yoobool/[email protected]/packages/flask-state.min.css" rel="stylesheet">
<link href="../static/dist/css/flask-state.css" rel="stylesheet"></head>
<script src="https://cdn.jsdelivr.net/gh/yoobool/[email protected]/packages/umd/flask-state.min.js"></script>
<link href="https://cdn.jsdelivr.net/gh/yoobool/[email protected]/packages/flask-state.min.css" rel="stylesheet">
</head>
<body style="height: 100%;background-color: purple">
<script src="https://cdn.staticfile.org/echarts/4.2.1/echarts.min.js"></script>
<div id="test_id"
style="margin: 0 auto;background-color: #fff;border-radius: 100px;width: 100px;height: 100px;cursor: pointer;opacity: 0.5;border: 1px solid #777;text-align: center;line-height: 100px">
<div id="test_id" style="margin: 0 auto;background-color: #fff;border-radius: 100px;width: 100px;height: 100px;cursor: pointer;opacity: 0.5;border: 1px solid #777;text-align: center;line-height: 100px">
click me
</div>
</body>
<script type="text/javascript">
<<<<<<< Updated upstream
flaskState.init({dom: document.getElementById("test_id")});
=======

flaskState.init({dom: document.getElementById('test_id'), lang: flaskState.en});
>>>>>>> Stashed changes
</script>
</html>
</html>
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flask-state",
"version": "1.0.6",
"version": "1.0.7",
"description": "Flask-States is a visual plug-in based on flask. It can record the local state every minute and read the status of redis if you have configured redis,and generate data chart to show to users through Echarts.",
"main": "./packages/index.js",
"directories": {
Expand Down
2 changes: 1 addition & 1 deletion packages/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "flask-state",
"version": "1.0.6",
"version": "1.0.7",
"description": "Flask-States is a visual plug-in based on flask. It can record the local state every minute and read the status of redis if you have configured redis,and generate data chart to show to users through Echarts.",
"main": "index.js",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion src/flask_state/__about__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "1.0.6"
__version__ = "1.0.7"

0 comments on commit 1623f6e

Please sign in to comment.