Prepare release
This commit is contained in:
parent
b6db0e24fe
commit
b19636c34f
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "stackedit",
|
"name": "stackedit",
|
||||||
"version": "4.3.18",
|
"version": "4.3.19",
|
||||||
"description": "StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.",
|
"description": "StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"bootstrap": "3.0.3",
|
"bootstrap": "3.0.3",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "stackedit",
|
"name": "stackedit",
|
||||||
"version": "4.3.18",
|
"version": "4.3.19",
|
||||||
"description": "StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.",
|
"description": "StackEdit is a free, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.",
|
||||||
"main": "res/main.js",
|
"main": "res/main.js",
|
||||||
"engines": {
|
"engines": {
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
CACHE MANIFEST
|
CACHE MANIFEST
|
||||||
#Date Fri Sep 29 2017 20:16:40 GMT+0100 (WEST)
|
#Date Sun Jan 07 2018 16:23:22 GMT+0000 (WET)
|
||||||
|
|
||||||
CACHE:
|
CACHE:
|
||||||
.
|
.
|
||||||
@ -24,14 +24,6 @@ res-min/font/SourceSansPro-Regular-webfont.woff
|
|||||||
res-min/font/cursive_standard-webfont.woff
|
res-min/font/cursive_standard-webfont.woff
|
||||||
res-min/font/fontello.svg
|
res-min/font/fontello.svg
|
||||||
res-min/font/fontello.woff
|
res-min/font/fontello.woff
|
||||||
res-min/themes/base.css
|
|
||||||
res-min/themes/blue.css
|
|
||||||
res-min/themes/default.css
|
|
||||||
res-min/themes/gray.css
|
|
||||||
res-min/themes/night.css
|
|
||||||
res-min/themes/school.css
|
|
||||||
res-min/themes/solarized-dark.css
|
|
||||||
res-min/themes/solarized-light.css
|
|
||||||
res-min/img/button.svg
|
res-min/img/button.svg
|
||||||
res-min/img/code-block.png
|
res-min/img/code-block.png
|
||||||
res-min/img/comments.png
|
res-min/img/comments.png
|
||||||
@ -51,6 +43,14 @@ res-min/img/publish.png
|
|||||||
res-min/img/stackedit-32.ico
|
res-min/img/stackedit-32.ico
|
||||||
res-min/img/syntax-highlighting.gif
|
res-min/img/syntax-highlighting.gif
|
||||||
res-min/img/toc.gif
|
res-min/img/toc.gif
|
||||||
|
res-min/themes/base.css
|
||||||
|
res-min/themes/blue.css
|
||||||
|
res-min/themes/default.css
|
||||||
|
res-min/themes/gray.css
|
||||||
|
res-min/themes/night.css
|
||||||
|
res-min/themes/school.css
|
||||||
|
res-min/themes/solarized-dark.css
|
||||||
|
res-min/themes/solarized-light.css
|
||||||
# end_inject_resources
|
# end_inject_resources
|
||||||
|
|
||||||
|
|
||||||
@ -148,16 +148,6 @@ res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/MiscTechnical.js?rev
|
|||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/PUA.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/PUA.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/SpacingModLetters.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/SpacingModLetters.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/SuppMathOperators.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/AMS/Regular/SuppMathOperators.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Bold/Main.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Regular/Main.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/BasicLatin.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Main.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Other.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/PUA.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/BasicLatin.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/Main.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/Other.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/PUA.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/Arrows.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/Arrows.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/BasicLatin.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/BasicLatin.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/CombDiacritMarks.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/CombDiacritMarks.js?rev=2.6.1
|
||||||
@ -177,15 +167,21 @@ res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/MiscTechnical.js?rev=2
|
|||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SpacingModLetters.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SpacingModLetters.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SuppMathOperators.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SuppMathOperators.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SupplementalArrowsA.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Bold/SupplementalArrowsA.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/BasicLatin.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/BasicLatin.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/CombDiacritMarks.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Main.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GeneralPunctuation.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/Other.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GreekAndCoptic.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Bold/PUA.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedA.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/BasicLatin.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedB.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/Main.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LetterlikeSymbols.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/Other.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/Main.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Fraktur/Regular/PUA.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/MathOperators.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Bold/Main.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Caligraphic/Regular/Main.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Math/BoldItalic/Main.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/BasicLatin.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/Main.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/Other.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/BasicLatin.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/BasicLatin.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/CombDiacritMarks.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/CombDiacritMarks.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/GeometricShapes.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/GeometricShapes.js?rev=2.6.1
|
||||||
@ -198,26 +194,30 @@ res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/MathOperators.js?re
|
|||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/MiscSymbols.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/MiscSymbols.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SpacingModLetters.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SpacingModLetters.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SuppMathOperators.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Regular/SuppMathOperators.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Math/Italic/Main.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Math/BoldItalic/Main.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/BasicLatin.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/CombDiacritMarks.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/Main.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Bold/Other.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/BasicLatin.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/BasicLatin.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/CombDiacritMarks.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/Main.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/Main.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/Other.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Italic/Other.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/BasicLatin.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/CombDiacritMarks.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GeneralPunctuation.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/GreekAndCoptic.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedA.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LatinExtendedB.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/LetterlikeSymbols.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/Main.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Main/Italic/MathOperators.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Math/Italic/Main.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/BasicLatin.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/BasicLatin.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/CombDiacritMarks.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/Main.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/Main.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/Other.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/SansSerif/Regular/Other.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Size3/Regular/Main.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Size1/Regular/Main.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Script/Regular/BasicLatin.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Script/Regular/BasicLatin.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Script/Regular/Main.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Script/Regular/Main.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Size1/Regular/Main.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Size3/Regular/Main.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Size2/Regular/Main.js?rev=2.6.1
|
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Size4/Regular/Main.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Size4/Regular/Main.js?rev=2.6.1
|
||||||
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Size2/Regular/Main.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/BasicLatin.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/BasicLatin.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/CombDiacritMarks.js?rev=2.6.1
|
||||||
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/Main.js?rev=2.6.1
|
res/bower-libs/MathJax/jax/output/SVG/fonts/TeX/Typewriter/Regular/Main.js?rev=2.6.1
|
||||||
|
22368
public/res-min/main.js
22368
public/res-min/main.js
File diff suppressed because one or more lines are too long
@ -1,6 +1,6 @@
|
|||||||
define([], function() {
|
define([], function() {
|
||||||
var constants = {};
|
var constants = {};
|
||||||
constants.VERSION = "4.3.18";
|
constants.VERSION = "4.3.19";
|
||||||
constants.MAIN_URL = "https://stackedit.io/";
|
constants.MAIN_URL = "https://stackedit.io/";
|
||||||
constants.GOOGLE_ANALYTICS_ACCOUNT_ID = "UA-39556145-1";
|
constants.GOOGLE_ANALYTICS_ACCOUNT_ID = "UA-39556145-1";
|
||||||
constants.GOOGLE_API_KEY = "AIzaSyAeCU8CGcSkn0z9js6iocHuPBX4f_mMWkw";
|
constants.GOOGLE_API_KEY = "AIzaSyAeCU8CGcSkn0z9js6iocHuPBX4f_mMWkw";
|
||||||
|
@ -576,7 +576,7 @@ define([
|
|||||||
document.getElementById('input-settings-theme').innerHTML = themeOptions;
|
document.getElementById('input-settings-theme').innerHTML = themeOptions;
|
||||||
}
|
}
|
||||||
|
|
||||||
$('.modal-header').append('<a class="dialog-header-message" href="app" target="_blank"><i class="icon-megaphone"></i> Try StackEdit 5!</a>');
|
$('.modal-header').append('<a class="dialog-header-message" href="app" target="_blank"><i class="icon-megaphone"></i> Switch to StackEdit 5 now!</a>');
|
||||||
checkPayment();
|
checkPayment();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
@ -2,9 +2,10 @@ define([
|
|||||||
'underscore',
|
'underscore',
|
||||||
'jquery',
|
'jquery',
|
||||||
'storage',
|
'storage',
|
||||||
|
'utils',
|
||||||
'classes/Extension',
|
'classes/Extension',
|
||||||
'bootstrap-tour'
|
'bootstrap-tour'
|
||||||
], function(_, $, storage, Extension, Tour) {
|
], function(_, $, storage, utils, Extension, Tour) {
|
||||||
|
|
||||||
var welcomeTour = new Extension('welcomeTour', 'Welcome tour', false, true);
|
var welcomeTour = new Extension('welcomeTour', 'Welcome tour', false, true);
|
||||||
|
|
||||||
@ -42,9 +43,9 @@ define([
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
onEnd: function() {
|
onEnd: function() {
|
||||||
storage.welcomeTour_1 = 'done';
|
// storage.welcomeTour = 'done';
|
||||||
infoTooltip('.drag-me', 'Drag me!', 'left');
|
// infoTooltip('.drag-me', 'Drag me!', 'left');
|
||||||
infoTooltip('.layout-toggler-preview', 'Toggle preview', 'right');
|
// infoTooltip('.layout-toggler-preview', 'Toggle preview', 'right');
|
||||||
},
|
},
|
||||||
template: [
|
template: [
|
||||||
'<div class="popover tour">',
|
'<div class="popover tour">',
|
||||||
@ -53,7 +54,7 @@ define([
|
|||||||
' <div class="popover-content"></div>',
|
' <div class="popover-content"></div>',
|
||||||
' <nav class="popover-navigation">',
|
' <nav class="popover-navigation">',
|
||||||
' <button class="btn btn-primary" data-role="next">Next</button>',
|
' <button class="btn btn-primary" data-role="next">Next</button>',
|
||||||
' <button class="btn btn-default" data-role="end">Got it!</button>',
|
' <button class="btn btn-default" data-role="end">OK</button>',
|
||||||
' </nav>',
|
' </nav>',
|
||||||
'</div>'
|
'</div>'
|
||||||
].join("")
|
].join("")
|
||||||
@ -61,60 +62,23 @@ define([
|
|||||||
tour.addSteps([
|
tour.addSteps([
|
||||||
{
|
{
|
||||||
element: '.navbar-inner',
|
element: '.navbar-inner',
|
||||||
title: 'StackEdit 5 is coming...',
|
title: 'StackEdit 4 is deprecated',
|
||||||
content: [
|
content: [
|
||||||
'<p>A new version of StackEdit is on its way and <a href="app" target="_blank">you can try it here</a>!</p>',
|
'<p><b>StackEdit 5</b> is now ready for production!</p>',
|
||||||
'<p>It\'s still in beta. Some of the features may not be available just yet.</p>',
|
'<p>If you want to migrate, <a href="#" class="action-export-docs-tour">click here</a> to export a backup of your files.</p>',
|
||||||
'You can always click <b>Next</b> to go through the StackEdit 4 tour.'
|
'<p>To import the backup in StackEdit 5, go to Menu > More > Import workspace backup.</p>',
|
||||||
].join(""),
|
'<p><a href="app" target="_blank">Click here</a> to open StackEdit 5 now!</p>',
|
||||||
placement: 'bottom'
|
'You can always click <b>OK</b> to continue with StackEdit 4.'
|
||||||
},
|
|
||||||
{
|
|
||||||
element: '.document-panel .toggle-button',
|
|
||||||
title: 'Documents',
|
|
||||||
content: [
|
|
||||||
'<p>The <i class="icon-folder-open"></i> <b>document panel</b> allows you to manage your local documents.</p>',
|
|
||||||
'<b>Tip:</b> Use <kbd>Ctrl+[</kbd> and <kbd>Ctrl+]</kbd> to toggle documents.'
|
|
||||||
].join(""),
|
|
||||||
placement: 'left',
|
|
||||||
reflex: true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
element: '.menu-panel .toggle-button',
|
|
||||||
title: 'Menu',
|
|
||||||
content: [
|
|
||||||
'<p>The <i class="icon-provider-stackedit"></i> <b>menu panel</b> allows you to synchronize your documents on <i class="icon-provider-gdrive"></i> Google Drive, <i class="icon-provider-dropbox"></i> Dropbox or to publish them on <i class="icon-provider-github"></i> GitHub, <i class="icon-provider-blogger"></i> Blogger...</p>',
|
|
||||||
'<b>Tip:</b> Use the <i class="icon-provider-stackedit"></i> <b>menu panel</b> to access the settings.'
|
|
||||||
].join(""),
|
|
||||||
placement: 'right',
|
|
||||||
reflex: true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
element: '.navbar-inner > .nav .button-open-discussion, .navbar .buttons-dropdown > .nav > .btn:not(:hidden)',
|
|
||||||
title: 'Comments/discussions',
|
|
||||||
content: [
|
|
||||||
'<p>New in StackEdit 4: the <i class="icon-comment-alt"></i> <b>comments</b> button lets you create inline discussions!</p>',
|
|
||||||
'<b>Tip:</b> Reopen the Hello! document from Settings>Utils to discover other new features.'
|
|
||||||
].join(""),
|
|
||||||
placement: 'right',
|
|
||||||
reflex: true
|
|
||||||
},
|
|
||||||
{
|
|
||||||
element: '.navbar-inner',
|
|
||||||
title: 'Happy StackWriting!',
|
|
||||||
content: [
|
|
||||||
'<p>Enjoy, and don\'t forget to rate 5 stars on the <a target="_blank" href="https://chrome.google.com/webstore/detail/stackedit/iiooodelglhkcpgbajoejffhijaclcdg/reviews">Chrome Web Store</a>...</p>',
|
|
||||||
'<a href="https://twitter.com/share" class="twitter-share-button" data-url="https://stackedit.io" data-text="Great #markdown editor!" data-via="stackedit" data-size="large"></a>'
|
|
||||||
].join(""),
|
].join(""),
|
||||||
placement: 'bottom',
|
placement: 'bottom',
|
||||||
onShown: function() {
|
onShown: function() {
|
||||||
eventMgr.onTweet();
|
$(".action-export-docs-tour").click(function() {
|
||||||
|
utils.saveAs(JSON.stringify(storage), "StackEdit local storage.json");
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
]);
|
]);
|
||||||
if(!_.has(storage, 'welcomeTour_1')) {
|
tour.start();
|
||||||
tour.start();
|
|
||||||
}
|
|
||||||
$('.action-welcome-tour').click(function() {
|
$('.action-welcome-tour').click(function() {
|
||||||
tour.restart();
|
tour.restart();
|
||||||
});
|
});
|
||||||
|
@ -282,8 +282,16 @@ define([
|
|||||||
localStorage.settings = JSON.stringify(settings);
|
localStorage.settings = JSON.stringify(settings);
|
||||||
}
|
}
|
||||||
version = "v23";
|
version = "v23";
|
||||||
|
}
|
||||||
|
|
||||||
|
if(version == 'v23') {
|
||||||
|
// Force welcome tour
|
||||||
|
localStorage.removeItem("welcomeTour");
|
||||||
|
localStorage.removeItem("welcomeTour_1");
|
||||||
|
version = "v24";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
localStorage.version = version;
|
localStorage.version = version;
|
||||||
return localStorage;
|
return localStorage;
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user