fixed version in about, documentation update

This commit is contained in:
Vilius 2017-12-05 20:35:45 +02:00
parent e69e25667e
commit 93cf774cfd
8 changed files with 11 additions and 97 deletions

View File

@ -42,7 +42,7 @@ To embed this app in other page, use this HTML code:
## Build instructions
- git clone https://github.com/viliusle/miniPaint.git
- cd [miniPaint directory]
- cd miniPaint
- npm install
- webpack-dev-server (using http://localhost:8080/ with live reload, require: npm install -g webpack-dev-server)
- edit files...

File diff suppressed because one or more lines are too long

View File

@ -10,6 +10,9 @@
"layers",
"effects"
],
"scripts": {
"dev-server": "webpack-dev-server"
},
"repository": {
"type": "git",
"url": "https://github.com/viliusle/miniPaint"

View File

@ -2,7 +2,6 @@
var config = {};
config.VERSION = '4.0.0';
config.TRANSPARENCY = false;
config.TRANSPARENCY_TYPE = 'squares'; //squares, green, grey
config.LANG = 'en';

View File

@ -512,7 +512,7 @@ class File_save_class {
about: 'Image data with multi-layers. Can be opened using miniPaint - '
+ 'https://github.com/viliusle/miniPaint',
date: today,
version: config.VERSION,
version: VERSION,
layer_active: config.layer.id,
};

View File

@ -16,7 +16,7 @@ class Help_about_class {
params: [
{title: "", html: '<img style="height:64px;" class="about-logo" alt="" src="images/logo-colors.png" />'},
{title: "Name:", html: '<span class="about-name">miniPaint</span>'},
{title: "Version:", value: config.VERSION},
{title: "Version:", value: VERSION},
{title: "Description:", value: "Online image editor."},
{title: "Author:", value: 'ViliusL'},
{title: "Email:", html: '<a href="mailto:' + email + '">' + email + '</a>'},

View File

@ -44,6 +44,9 @@ module.exports = {
jQuery: "jquery",
"window.jQuery": "jquery"
}),
new webpack.DefinePlugin({
VERSION: JSON.stringify(require("./package.json").version)
}),
],
devtool: "cheap-module-source-map",
devServer: {