mirror of
https://github.com/chinchang/web-maker.git
synced 2025-07-17 03:51:13 +02:00
bump to 3.3.0
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "web-maker",
|
"name": "web-maker",
|
||||||
"version": "3.2.0",
|
"version": "3.3.0",
|
||||||
"description": "A blazing fast & offline web playground",
|
"description": "A blazing fast & offline web playground",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
|
"start": "if-env NODE_ENV=production && npm run -s serve || npm run -s dev",
|
||||||
|
@@ -7,7 +7,7 @@ export function HelpModal(props) {
|
|||||||
<Modal show={props.show} closeHandler={props.closeHandler}>
|
<Modal show={props.show} closeHandler={props.closeHandler}>
|
||||||
<h1>
|
<h1>
|
||||||
<div class="web-maker-with-tag">Web Maker</div>
|
<div class="web-maker-with-tag">Web Maker</div>
|
||||||
<small style="font-size:14px;"> v3.2.0</small>
|
<small style="font-size:14px;">{props.version}</small>
|
||||||
</h1>
|
</h1>
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
|
@@ -49,13 +49,12 @@ const LocalStorageKeys = {
|
|||||||
ASKED_TO_IMPORT_CREATIONS: 'askedToImportCreations'
|
ASKED_TO_IMPORT_CREATIONS: 'askedToImportCreations'
|
||||||
};
|
};
|
||||||
const UNSAVED_WARNING_COUNT = 15;
|
const UNSAVED_WARNING_COUNT = 15;
|
||||||
const version = '3.2.0';
|
const version = '3.3.0';
|
||||||
|
|
||||||
export default class App extends Component {
|
export default class App extends Component {
|
||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.AUTO_SAVE_INTERVAL = 15000; // 15 seconds
|
this.AUTO_SAVE_INTERVAL = 15000; // 15 seconds
|
||||||
|
|
||||||
this.state = {
|
this.state = {
|
||||||
isSavedItemPaneOpen: false,
|
isSavedItemPaneOpen: false,
|
||||||
isModalOpen: false,
|
isModalOpen: false,
|
||||||
@@ -1110,6 +1109,7 @@ export default class App extends Component {
|
|||||||
show={this.state.isHelpModalOpen}
|
show={this.state.isHelpModalOpen}
|
||||||
closeHandler={() => this.setState({ isHelpModalOpen: false })}
|
closeHandler={() => this.setState({ isHelpModalOpen: false })}
|
||||||
onSupportBtnClick={this.openSupportDeveloperModal.bind(this)}
|
onSupportBtnClick={this.openSupportDeveloperModal.bind(this)}
|
||||||
|
version={version}
|
||||||
/>
|
/>
|
||||||
<SupportDeveloperModal
|
<SupportDeveloperModal
|
||||||
show={this.state.isSupportDeveloperModalOpen}
|
show={this.state.isSupportDeveloperModalOpen}
|
||||||
|
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Web Maker",
|
"name": "Web Maker",
|
||||||
"version": "3.2.0",
|
"version": "3.3.0",
|
||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"description": "Blazing fast & offline playground for your web experiments",
|
"description": "Blazing fast & offline playground for your web experiments",
|
||||||
"homepage_url": "https://webmakerapp.com",
|
"homepage_url": "https://webmakerapp.com",
|
||||||
|
@@ -1,58 +1,58 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
|
|
||||||
<head>
|
<head>
|
||||||
<title>Settings - Web Maker</title>
|
<title>Settings - Web Maker</title>
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
background: #ff8c00;
|
background: #ff8c00;
|
||||||
color: white;
|
color: white;
|
||||||
text-shadow: none;
|
text-shadow: none;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
border: 0;
|
border: 0;
|
||||||
outline: 0;
|
outline: 0;
|
||||||
padding: 5px 8px;
|
padding: 5px 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
font-size: inherit;
|
font-size: inherit;
|
||||||
}
|
}
|
||||||
|
|
||||||
.status {
|
.status {
|
||||||
color: green;
|
color: green;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
label {
|
label {
|
||||||
display: block;
|
display: block;
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
<h3>Settings
|
<h3>Settings
|
||||||
<span style="opacity: 0.6;font-size:0.7em;">
|
<span style="opacity: 0.6;font-size:0.7em;">
|
||||||
v3.2.0</span>
|
v3.3.0</span>
|
||||||
</h3>
|
</h3>
|
||||||
<form name="optionsForm">
|
<form name="optionsForm">
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" name="preserveLastCode"> Preserve last written code
|
<input type="checkbox" name="preserveLastCode"> Preserve last written code
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<label>
|
<label>
|
||||||
<input type="checkbox" name="replaceNewTab"> Replace new tab page
|
<input type="checkbox" name="replaceNewTab"> Replace new tab page
|
||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div id="js-status" class="status"> </div>
|
<div id="js-status" class="status"> </div>
|
||||||
<button id="js-save-btn" class="btn">Save</button>
|
<button id="js-save-btn" class="btn">Save</button>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<script src="options.js"></script>
|
<script src="options.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|
||||||
</html>
|
</html>
|
||||||
|
Reference in New Issue
Block a user