Skip to content

Commit

Permalink
v0.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
javamxd committed Jul 26, 2020
1 parent d4d11ce commit 5c21d17
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<dependency>
<groupId>org.ssssssss</groupId>
<artifactId>magic-api-spring-boot-starter</artifactId>
<version>0.3.1</version>
<version>0.3.2</version>
</dependency>
```
## 修改application.properties
Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</parent>
<groupId>org.ssssssss</groupId>
<artifactId>magic-api</artifactId>
<version>0.3.1</version>
<version>0.3.2</version>
<packaging>jar</packaging>
<name>magic-api</name>
<description>auto generate http api</description>
Expand All @@ -38,7 +38,7 @@
<dependency>
<groupId>org.ssssssss</groupId>
<artifactId>magic-script</artifactId>
<version>1.2.0</version>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
Expand Down
6 changes: 3 additions & 3 deletions src/main/resources/magicapi-support/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html>
<head>
<meta charset="UTF-8">
<title>MagicAPI v0.3.1 - Powered by ssssssss-team</title>
<title>MagicAPI v0.3.2 - Powered by ssssssss-team</title>
<link rel="icon" href="images/favicon.png" />
<style type="text/css">.loading-wrapper{position:fixed;top:0;bottom:0;left:0;right:0;z-index:2147483647;text-align:center;background:#fff}.loading{position:absolute;top:50%;left:50%;width:500px;height:100px;margin-left:-250px;margin-top:-50px;text-align:center}.loading .title{font-size:0;color:#0075ff;letter-spacing:0}.loading .title label{font-size:36px;display:inline-block;margin-top:5px;vertical-align:top}.loading .title span{font-size:72px;display:inline-block;padding:0 3px;animation:stretch 1s infinite}.loading .title span:nth-child(1){animation-delay:calc(1s / 8 * 0 / 2)}.loading .title span:nth-child(2){animation-delay:calc(1s / 8 * 1 / 2)}.loading .title span:nth-child(3){animation-delay:calc(1s / 8 * 2 / 2)}.loading .title span:nth-child(4){animation-delay:calc(1s / 8 * 3 / 2)}.loading .title span:nth-child(5){animation-delay:calc(1s / 8 * 4 / 2)}.loading .title span:nth-child(6){animation-delay:calc(1s / 8 * 5 / 2)}.loading .title span:nth-child(7){animation-delay:calc(1s / 8 * 6 / 2)}.loading .title span:nth-child(8){animation-delay:calc(1s / 8 * 7 / 2)}.loading .loading-text{text-align:center;font-weight:bolder;font-style:italic;color:#889aa4;font-size:32px;animation:blink-loading 2s ease-in infinite}@keyframes stretch{0%{transform:scale(1)}25%{transform:scale(1.2)}50%{transform:scale(1)}100%{transform:scale(1)}}@keyframes blink-loading{0%{opacity:100%}50%{opacity:50%}100%{opacity:100%}}</style>
<link rel="stylesheet" href="css/index.css" />
Expand All @@ -25,7 +25,7 @@
<span>A</span>
<span>P</span>
<span>I</span>
<label>v0.3.1</label>
<label>v0.3.2</label>
</div>
<div class="loading-text">Loading...</div>
</div>
Expand All @@ -34,7 +34,7 @@
<div class="header">
<img src="images/logo.png"/>
<label>magic-api</label>
<label class="version">v0.3.1</label>
<label class="version">v0.3.2</label>
</div>
<span class="button-run" title="运行(Ctrl+Q)"><i class="iconfont icon-run"></i></span>
<span class="button-save" title="保存(Ctrl+S)"><i class="iconfont icon-save"></i></span>
Expand Down
10 changes: 5 additions & 5 deletions src/main/resources/magicapi-support/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ var MagicEditor = {
var _this = this;
element.onload = element.onreadystatechange = function(){
if(!this.readyState||this.readyState=='loaded'||this.readyState=='complete') {
_this.report('v0_3_1');
_this.report('v0_3_2');
}
}

Expand Down Expand Up @@ -562,9 +562,9 @@ var MagicEditor = {
createConsole : function(callback){
var source = new EventSource('console');
var _this = this;
// source.onerror = function(){
// source.close();
// }
source.onerror = function(){
source.close();
}
source.addEventListener('create',function(e){
_this.navigateTo(4);
callback&&callback(e.data);
Expand Down Expand Up @@ -829,7 +829,7 @@ var MagicEditor = {
url : 'https://img.shields.io/maven-central/v/org.ssssssss/magic-api.json',
dataType : 'json',
success : function(data){
if(data.value != 'v0.3.1'){
if(data.value != 'v0.3.2'){
if(ignoreVersion != data.value){
_this.createDialog({
title : '更新提示',
Expand Down

0 comments on commit 5c21d17

Please sign in to comment.