mirror of
https://github.com/viliusle/miniPaint.git
synced 2026-02-06 09:41:49 +00:00
fixed version in about, documentation update
This commit is contained in:
parent
e69e25667e
commit
93cf774cfd
@ -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
@ -10,6 +10,9 @@
|
||||
"layers",
|
||||
"effects"
|
||||
],
|
||||
"scripts": {
|
||||
"dev-server": "webpack-dev-server"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/viliusle/miniPaint"
|
||||
|
||||
@ -2,7 +2,6 @@
|
||||
|
||||
var config = {};
|
||||
|
||||
config.VERSION = '4.0.0';
|
||||
config.TRANSPARENCY = false;
|
||||
config.TRANSPARENCY_TYPE = 'squares'; //squares, green, grey
|
||||
config.LANG = 'en';
|
||||
|
||||
@ -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,
|
||||
};
|
||||
|
||||
|
||||
@ -9,14 +9,14 @@ class Help_about_class {
|
||||
|
||||
//about
|
||||
about() {
|
||||
var email = 'www.viliusl@gmail.com';
|
||||
|
||||
var email = 'www.viliusl@gmail.com';
|
||||
|
||||
var settings = {
|
||||
title: 'About',
|
||||
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>'},
|
||||
|
||||
@ -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: {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user