From e8cb038ea69e09ec91df32d1695f85bdfaf238ca Mon Sep 17 00:00:00 2001 From: benweet Date: Thu, 21 Nov 2013 17:49:45 +0000 Subject: [PATCH] Release v2.3.2 --- bower.json | 2 +- package.json | 2 +- public/cache.manifest | 2 +- public/res-min/main.js | 22 +++++++++++----------- public/res-min/themes/blue-gray.css | 3 ++- public/res-min/themes/default.css | 3 ++- public/res-min/themes/night.css | 3 ++- public/res-min/themes/school.css | 3 ++- public/res/constants.js | 2 +- 9 files changed, 23 insertions(+), 19 deletions(-) diff --git a/bower.json b/bower.json index 26760680..0b710535 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "stackedit", - "version": "2.3.1", + "version": "2.3.2", "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": { "bootstrap": "3.0.0", diff --git a/package.json b/package.json index 5c566633..b6a6a6f3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stackedit", - "version": "2.3.1", + "version": "2.3.2", "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", "directories": { diff --git a/public/cache.manifest b/public/cache.manifest index 0d01ca2c..2c75a294 100644 --- a/public/cache.manifest +++ b/public/cache.manifest @@ -1,5 +1,5 @@ CACHE MANIFEST -#Date Wed Nov 20 2013 22:28:32 +#Date Thu Nov 21 2013 17:49:45 CACHE: res/worker.js diff --git a/public/res-min/main.js b/public/res-min/main.js index fc096527..ffde2aa3 100644 --- a/public/res-min/main.js +++ b/public/res-min/main.js @@ -11520,7 +11520,7 @@ function printStackTrace(e) { return e; }), define("constants", [], function() { var e = {}; - return e.VERSION = "2.3.1", e.MAIN_URL = "https://stackedit.io/", e.GOOGLE_ANALYTICS_ACCOUNT_ID = "UA-39556145-1", + return e.VERSION = "2.3.2", e.MAIN_URL = "https://stackedit.io/", e.GOOGLE_ANALYTICS_ACCOUNT_ID = "UA-39556145-1", e.GOOGLE_API_KEY = "AIzaSyAeCU8CGcSkn0z9js6iocHuPBX4f_mMWkw", e.GOOGLE_DRIVE_APP_ID = "241271498917", e.DROPBOX_APP_KEY = "lq6mwopab8wskas", e.DROPBOX_APP_SECRET = "851fgnucpezy84t", e.BITLY_ACCESS_TOKEN = "317e033bfd48cf31155a68a536b1860013b09c4c", e.DEFAULT_FILE_TITLE = "Title", @@ -19060,15 +19060,15 @@ function() { return n.hashExtraBlock(c); }); }; - var m = function(e, t, n, i, o, r, s) { - var a = r, l = 0, c = ""; - return a.replace(/(<)([a-zA-Z1-6]*)([^\n>]?)(>)(.*?)(<\/\2>)/gm, function(e, t, n, i, o, r, s, u) { - c += f(a.substring(l, u)) + m(e, t, n, i, o, r, s), l = u + e.length; - }), c += f(a.substring(l)), t + n + i + o + c + s; + var m = function(e) { + var t = "", n = 0; + return e.replace(/(<)([a-zA-Z1-6]+)([^\n]*?>)([\s\S]*?)(<\/\2>)/g, function(i, o, r, s, a, l, c) { + t += f(e.substring(n, c)), n = c + i.length, /code|kbd|pre|script|noscript|iframe|math|ins|del|pre/i.test(r) || (a = m(a)), + t += o + r + s + a + l; + }), t + f(e.substring(n)); }; Markdown.Extra.prototype.runSmartyPants = function(e) { - return e = e.replace(/(<)([a-zA-Z1-6]+)([^\n>]*?)(>)(.*?)(<\/\2>)/gm, m), e = e.replace(/(<([a-zA-Z1-6]+)\b([^\n>]*?)(\/)?>)/g, p), - e = e.replace(/((<)(code|kbd|pre|script|noscript|iframe|math|ins|del|pre)(.?)(>)(.*?)(<\/)(code|kbd|pre|script|noscript|iframe|math|ins|del|pre)(>))/gm, p); + return e = m(e), e = e.replace(/(<([a-zA-Z1-6]+)\b([^\n>]*?)(\/)?>)/g, p); }, Markdown.Extra.prototype.definitionLists = function(t) { var n = new RegExp([ "(\\x02\\n?|\\n\\n)", "(?:", "(", "(", "[ ]{0,3}", "((?:[ \\t]*\\S.*\\n)+)", "\\n?", "[ ]{0,3}:[ ]+", ")", "([\\s\\S]+?)", "(", "(?=\\0x03)", "|", "(?=", "\\n{2,}", "(?=\\S)", "(?!", "[ ]{0,3}", "(?:\\S.*\\n)+?", "\\n?", "[ ]{0,3}:[ ]+", ")", "(?!", "[ ]{0,3}:[ ]+", ")", ")", ")", ")", ")" ].join(""), "gm"), i = this; return t = s(t), t = t.replace(n, function(t, n, o) { @@ -19270,9 +19270,9 @@ function() { o = e; }, r.onPagedownConfigure = function(i) { var r = "^.+[ \\t]*\\n=+[ \\t]*\\n+|^.+[ \\t]*\\n-+[ \\t]*\\n+|^\\#{1,6}[ \\t]*.+?[ \\t]*\\#*\\n+"; - t.config.enabled && e.some(t.config.extensions, function(e) { + t.enabled && e.some(t.config.extensions, function(e) { return "fenced_code_gfm" == e; - }) && (r = "^```.*\\n[\\s\\S]*?\\n```|" + r), n.config.enabled && (r = "^[ \\t]*\\n\\$\\$[\\s\\S]*?\\$\\$|" + r, + }) && (r = "^```.*\\n[\\s\\S]*?\\n```|" + r), n.enabled && (r = "^[ \\t]*\\n\\$\\$[\\s\\S]*?\\$\\$|" + r, r = "^[ \\t]*\\n\\\\\\\\[[\\s\\S]*?\\\\\\\\]|" + r, r = "^[ \\t]*\\n\\\\?\\\\begin\\{[a-z]*\\*?\\}[\\s\\S]*?\\\\end\\{[a-z]*\\*?\\}|" + r), r = new RegExp(r, "gm"); var s = i.getConverter(); @@ -19382,7 +19382,7 @@ function() { a(); }); }, l.onInit = function() { - n.config.enabled && e.some(n.config.extensions, function(e) { + n.enabled && e.some(n.config.extensions, function(e) { return "footnotes" == e; }) && (v = !0); }, l.onReady = function() { diff --git a/public/res-min/themes/blue-gray.css b/public/res-min/themes/blue-gray.css index 6b80d94a..26e220d5 100644 --- a/public/res-min/themes/blue-gray.css +++ b/public/res-min/themes/blue-gray.css @@ -1481,7 +1481,7 @@ a{-webkit-transition:background-color ease-in-out .15s,color ease-in-out .15s,bo .navbar .file-title-navbar{display:block;padding:4px 15px;font-size:20px;font-weight:200;color:#535353;max-width:280px;overflow:hidden;white-space:nowrap} .navbar .input-file-title{margin-right:10px} .navbar .working-indicator{overflow:hidden;height:38px;padding-top:10px;padding-right:8px;vertical-align:middle} -.navbar .working-indicator .bar{display:inline-block;visibility:hidden;width:8px;height:8px;border-radius:1px;margin:0 2px;background-color:#535353;animation:indicator .6s ease-out infinite;-webkit-animation:indicator .6s ease-out infinite;} +.navbar .working-indicator .bar{display:inline-block;visibility:hidden;width:10px;height:10px;border-radius:1px;margin:0 2px;background-color:#535353;animation:indicator .6s ease-out infinite;-webkit-animation:indicator .6s ease-out infinite;} .navbar .working-indicator.show div{visibility:visible} @keyframes indicator{from{opacity:1} to{opacity:0.25}}@-webkit-keyframes indicator /* Safari and Chrome */{from{opacity:1} to{opacity:0.25}}.menu-panel,.document-panel{display:block;position:absolute;top:0;height:100%;z-index:10;overflow:initial} .menu-panel .collapse-button i,.document-panel .collapse-button i{color:#737373;font-size:14px} @@ -1622,6 +1622,7 @@ ul ul,ol ul,ul ol,ol ol{margin-bottom:15px} .ace-tm .ace_keyword.ace_operator{color:#535353;background-color:transparent} .ace-tm .ace_keyword{color:#333333;background-color:rgba(0,0,0,0.03);font-weight:bold} .ace-tm .ace_string{color:#333333;font-style:italic;background-color:rgba(0,0,0,0.03)} +.ace-tm .ace_invalid{color:inherit;background:inherit} .ace-tm .ace_strong{font-weight:bold} .ace-tm .ace_emphasis{color:#333333;font-style:italic} .ace-tm .ace_blockquote{color:#939393} diff --git a/public/res-min/themes/default.css b/public/res-min/themes/default.css index 7790f994..0befa526 100644 --- a/public/res-min/themes/default.css +++ b/public/res-min/themes/default.css @@ -1481,7 +1481,7 @@ a{-webkit-transition:background-color ease-in-out .15s,color ease-in-out .15s,bo .navbar .file-title-navbar{display:block;padding:4px 15px;font-size:20px;font-weight:200;color:#535353;max-width:280px;overflow:hidden;white-space:nowrap} .navbar .input-file-title{margin-right:10px} .navbar .working-indicator{overflow:hidden;height:38px;padding-top:10px;padding-right:8px;vertical-align:middle} -.navbar .working-indicator .bar{display:inline-block;visibility:hidden;width:8px;height:8px;border-radius:1px;margin:0 2px;background-color:#535353;animation:indicator .6s ease-out infinite;-webkit-animation:indicator .6s ease-out infinite;} +.navbar .working-indicator .bar{display:inline-block;visibility:hidden;width:10px;height:10px;border-radius:1px;margin:0 2px;background-color:#535353;animation:indicator .6s ease-out infinite;-webkit-animation:indicator .6s ease-out infinite;} .navbar .working-indicator.show div{visibility:visible} @keyframes indicator{from{opacity:1} to{opacity:0.25}}@-webkit-keyframes indicator /* Safari and Chrome */{from{opacity:1} to{opacity:0.25}}.menu-panel,.document-panel{display:block;position:absolute;top:0;height:100%;z-index:10;overflow:initial} .menu-panel .collapse-button i,.document-panel .collapse-button i{color:#737373;font-size:14px} @@ -1622,6 +1622,7 @@ ul ul,ol ul,ul ol,ol ol{margin-bottom:15px} .ace-tm .ace_keyword.ace_operator{color:#535353;background-color:transparent} .ace-tm .ace_keyword{color:#333333;background-color:rgba(0,0,0,0.03);font-weight:bold} .ace-tm .ace_string{color:#333333;font-style:italic;background-color:rgba(0,0,0,0.03)} +.ace-tm .ace_invalid{color:inherit;background:inherit} .ace-tm .ace_strong{font-weight:bold} .ace-tm .ace_emphasis{color:#333333;font-style:italic} .ace-tm .ace_blockquote{color:#939393} diff --git a/public/res-min/themes/night.css b/public/res-min/themes/night.css index 1a76f235..cd730fb0 100644 --- a/public/res-min/themes/night.css +++ b/public/res-min/themes/night.css @@ -1481,7 +1481,7 @@ a{-webkit-transition:background-color ease-in-out .15s,color ease-in-out .15s,bo .navbar .file-title-navbar{display:block;padding:4px 15px;font-size:20px;font-weight:200;color:#dfdfdf;max-width:280px;overflow:hidden;white-space:nowrap} .navbar .input-file-title{margin-right:10px} .navbar .working-indicator{overflow:hidden;height:38px;padding-top:10px;padding-right:8px;vertical-align:middle} -.navbar .working-indicator .bar{display:inline-block;visibility:hidden;width:8px;height:8px;border-radius:1px;margin:0 2px;background-color:#dfdfdf;animation:indicator .6s ease-out infinite;-webkit-animation:indicator .6s ease-out infinite;} +.navbar .working-indicator .bar{display:inline-block;visibility:hidden;width:10px;height:10px;border-radius:1px;margin:0 2px;background-color:#dfdfdf;animation:indicator .6s ease-out infinite;-webkit-animation:indicator .6s ease-out infinite;} .navbar .working-indicator.show div{visibility:visible} @keyframes indicator{from{opacity:1} to{opacity:0.25}}@-webkit-keyframes indicator /* Safari and Chrome */{from{opacity:1} to{opacity:0.25}}.menu-panel,.document-panel{display:block;position:absolute;top:0;height:100%;z-index:10;overflow:initial} .menu-panel .collapse-button i,.document-panel .collapse-button i{color:#777777;font-size:14px} @@ -1622,6 +1622,7 @@ ul ul,ol ul,ul ol,ol ol{margin-bottom:15px} .ace-tm .ace_keyword.ace_operator{color:#dfdfdf;background-color:transparent} .ace-tm .ace_keyword{color:#ffffff;background-color:rgba(255,255,255,0.1);font-weight:bold} .ace-tm .ace_string{color:#ffffff;font-style:italic;background-color:rgba(255,255,255,0.1)} +.ace-tm .ace_invalid{color:inherit;background:inherit} .ace-tm .ace_strong{font-weight:bold} .ace-tm .ace_emphasis{color:#ffffff;font-style:italic} .ace-tm .ace_blockquote{color:#9f9f9f} diff --git a/public/res-min/themes/school.css b/public/res-min/themes/school.css index 28cb5177..e41a212d 100644 --- a/public/res-min/themes/school.css +++ b/public/res-min/themes/school.css @@ -1481,7 +1481,7 @@ a{-webkit-transition:background-color ease-in-out .15s,color ease-in-out .15s,bo .navbar .file-title-navbar{display:block;padding:4px 15px;font-size:20px;font-weight:200;color:#eeeeee;max-width:280px;overflow:hidden;white-space:nowrap} .navbar .input-file-title{margin-right:10px} .navbar .working-indicator{overflow:hidden;height:38px;padding-top:10px;padding-right:8px;vertical-align:middle} -.navbar .working-indicator .bar{display:inline-block;visibility:hidden;width:8px;height:8px;border-radius:1px;margin:0 2px;background-color:#eeeeee;animation:indicator .6s ease-out infinite;-webkit-animation:indicator .6s ease-out infinite;} +.navbar .working-indicator .bar{display:inline-block;visibility:hidden;width:10px;height:10px;border-radius:1px;margin:0 2px;background-color:#eeeeee;animation:indicator .6s ease-out infinite;-webkit-animation:indicator .6s ease-out infinite;} .navbar .working-indicator.show div{visibility:visible} @keyframes indicator{from{opacity:1} to{opacity:0.25}}@-webkit-keyframes indicator /* Safari and Chrome */{from{opacity:1} to{opacity:0.25}}.menu-panel,.document-panel{display:block;position:absolute;top:0;height:100%;z-index:10;overflow:initial} .menu-panel .collapse-button i,.document-panel .collapse-button i{color:#666666;font-size:14px} @@ -1622,6 +1622,7 @@ ul ul,ol ul,ul ol,ol ol{margin-bottom:15px} .ace-tm .ace_keyword.ace_operator{color:#3970a1;background-color:transparent} .ace-tm .ace_keyword{color:#284f72;background-color:rgba(0,0,0,0.03);font-weight:bold} .ace-tm .ace_string{color:#284f72;font-style:italic;background-color:rgba(0,0,0,0.03)} +.ace-tm .ace_invalid{color:inherit;background:inherit} .ace-tm .ace_strong{font-weight:bold} .ace-tm .ace_emphasis{color:#284f72;font-style:italic} .ace-tm .ace_blockquote{color:#85afd4} diff --git a/public/res/constants.js b/public/res/constants.js index c7123e91..06934d0a 100644 --- a/public/res/constants.js +++ b/public/res/constants.js @@ -1,6 +1,6 @@ define([], function() { var constants = {}; - constants.VERSION = "2.3.1"; + constants.VERSION = "2.3.2"; constants.MAIN_URL = "https://stackedit.io/"; constants.GOOGLE_ANALYTICS_ACCOUNT_ID = "UA-39556145-1";