diff --git a/bower.json b/bower.json index 14d44635..475cd65c 100644 --- a/bower.json +++ b/bower.json @@ -1,6 +1,6 @@ { "name": "stackedit", - "version": "4.0.2", + "version": "4.1.0", "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.3", diff --git a/package.json b/package.json index 1076bbf3..e645dfe9 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "stackedit", - "version": "4.0.2", + "version": "4.1.0", "private": true, "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", @@ -11,10 +11,12 @@ "doc": "doc" }, "dependencies": { - "express": "~3.16.6", + "express": "^4.8.5", "ejs": "~0.8.4", "request": "~2.40.0", - "ssh2": "^0.3.5" + "ssh2": "^0.3.5", + "compression": "^1.0.11", + "serve-static": "^1.5.3" }, "devDependencies": { "grunt-contrib-requirejs": "~0.4.3", diff --git a/public/cache.manifest b/public/cache.manifest index f3e98ffe..76f4ac4a 100644 --- a/public/cache.manifest +++ b/public/cache.manifest @@ -1,7 +1,10 @@ CACHE MANIFEST -#Date Sun Aug 24 2014 00:57:37 +#Date Thu Aug 28 2014 00:13:19 CACHE: +. +editor +viewer libs/MathJax/MathJax.js?config=TeX-AMS_HTML libs/MathJax/config/Safe.js libs/MathJax/config/TeX-AMS_HTML.js @@ -31,12 +34,22 @@ res-min/font/fontello.svg res-min/font/fontello.ttf res-min/font/fontello.woff res-min/img/button.svg +res-min/img/code-block.png +res-min/img/comments.png +res-min/img/conflict.png +res-min/img/diagram.png res-min/img/gittip.png res-min/img/icons.png res-min/img/icons2x.png +res-min/img/live-preview.png res-min/img/logo.svg +res-min/img/math.png res-min/img/menu-icon.png +res-min/img/menu.png +res-min/img/publish.png res-min/img/stackedit-32.ico +res-min/img/syntax-highlighting.gif +res-min/img/toc.gif res-min/main.js res-min/require.js res-min/themes/base.css diff --git a/public/editor.html b/public/editor.html deleted file mode 100644 index 5024b8df..00000000 --- a/public/editor.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - StackEdit – In-browser markdown editor - - - - - - - - - - - - - - - - diff --git a/public/error_404.html b/public/error_404.html deleted file mode 100644 index 0e0f3537..00000000 --- a/public/error_404.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - StackEdit - 404 - - - - - - - - -
-

- -

-

404 — Page not found

-

Looking for StackEdit recovery?

- - - diff --git a/public/index.html b/public/index.html deleted file mode 100644 index 71272dd7..00000000 --- a/public/index.html +++ /dev/null @@ -1,476 +0,0 @@ - - - - - StackEdit – In-browser markdown editor - - - - - - - - - - - - - - -
- - - - - -
-
- - -
- - - diff --git a/public/res-min/font/fontello.eot b/public/res-min/font/fontello.eot index 8a458fb5..a4a4a255 100644 Binary files a/public/res-min/font/fontello.eot and b/public/res-min/font/fontello.eot differ diff --git a/public/res-min/font/fontello.svg b/public/res-min/font/fontello.svg index 9f21c59a..97027a83 100644 --- a/public/res-min/font/fontello.svg +++ b/public/res-min/font/fontello.svg @@ -6,324 +6,326 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/public/res-min/font/fontello.ttf b/public/res-min/font/fontello.ttf index 136c3ae5..5bcc9be0 100644 Binary files a/public/res-min/font/fontello.ttf and b/public/res-min/font/fontello.ttf differ diff --git a/public/res-min/font/fontello.woff b/public/res-min/font/fontello.woff index ff789c9d..a1118a22 100644 Binary files a/public/res-min/font/fontello.woff and b/public/res-min/font/fontello.woff differ diff --git a/public/res-min/img/icons.png b/public/res-min/img/icons.png index 7f5b222b..d1a5a49e 100644 Binary files a/public/res-min/img/icons.png and b/public/res-min/img/icons.png differ diff --git a/public/res-min/img/icons2x.png b/public/res-min/img/icons2x.png index b4a3c25b..551945cf 100644 Binary files a/public/res-min/img/icons2x.png and b/public/res-min/img/icons2x.png differ diff --git a/public/res-min/img/stackedit-32.ico b/public/res-min/img/stackedit-32.ico index 9b9f0f5c..34c215f3 100644 Binary files a/public/res-min/img/stackedit-32.ico and b/public/res-min/img/stackedit-32.ico differ diff --git a/public/res-min/main.js b/public/res-min/main.js index d1ab356f..afe81e37 100644 --- a/public/res-min/main.js +++ b/public/res-min/main.js @@ -901,7 +901,7 @@ function diff_match_patch() { } } - function D(e, t, n, i) { + function N(e, t, n, i) { function r(s) { var l; return o[s] = !0, ot.each(e[s] || [], function(e, s) { @@ -913,7 +913,7 @@ function diff_match_patch() { return r(t.dataTypes[0]) || !o["*"] && r("*") } - function N(e, n) { + function D(e, n) { var i, r, o = ot.ajaxSettings.flatOptions || {}; for(i in n) n[i] !== t && ((o[i] ? e : r || (r = {}))[i] = n[i]); return r && ot.extend(!0, e, r), e @@ -1051,7 +1051,7 @@ function diff_match_patch() { p.overflow = i.overflow[0], p.overflowX = i.overflow[1], p.overflowY = i.overflow[2] })); for(r in n) - if(o = n[r], Nn.exec(o)) { + if(o = n[r], Dn.exec(o)) { if(delete n[r], a = a || "toggle" === o, o === (h ? "hide" : "show")) { if("show" !== o || !f || f[r] === t) continue; h = !0 @@ -1518,7 +1518,7 @@ function diff_match_patch() { return nt.call(t, e) > -1 }, a, !0), u = [ function(e, n, i) { - return !o && (i || n !== D) || ((t = n).nodeType ? l(e, n, i) : c(e, n, i)) + return !o && (i || n !== N) || ((t = n).nodeType ? l(e, n, i) : c(e, n, i)) }]; r > s; s++) if(n = k.relative[e[s].type]) u = [f(m(u), n)]; else { @@ -1543,10 +1543,10 @@ function diff_match_patch() { v = "0", b = r && [], y = null != u, - x = D, + x = N, w = r || a && k.find.TAG("*", u && s.parentNode || s), S = q += null == x ? 1 : Math.random() || .1; - for(y && (D = s !== M && s, _ = i); null != (d = w[v]); v++) { + for(y && (N = s !== M && s, _ = i); null != (d = w[v]); v++) { if(a && d) { for(p = 0; h = e[p++];) if(h(d, s, l)) { @@ -1566,7 +1566,7 @@ function diff_match_patch() { } et.apply(c, f), y && !r && f.length > 0 && m + t.length > 1 && n.uniqueSort(c) } - return y && (q = S, D = x), b + return y && (q = S, N = x), b }; return o ? r(s) : s } @@ -1591,7 +1591,7 @@ function diff_match_patch() { } return I(e, c)(i, t, !R, n, ht.test(e)), n } - var S, C, _, k, T, E, I, D, N, L, M, A, R, P, F, O, B, j = "sizzle" + -new Date, + var S, C, _, k, T, E, I, N, D, L, M, A, R, P, F, O, B, j = "sizzle" + -new Date, $ = e.document, q = 0, G = 0, @@ -1721,7 +1721,7 @@ function diff_match_patch() { }, W = A.compareDocumentPosition ? function(e, n) { if(e === n) return V = !0, 0; var i = n.compareDocumentPosition && e.compareDocumentPosition && e.compareDocumentPosition(n); - return i ? 1 & i || !C.sortDetached && n.compareDocumentPosition(e) === i ? e === t || B($, e) ? -1 : n === t || B($, n) ? 1 : N ? nt.call(N, e) - nt.call(N, n) : 0 : 4 & i ? -1 : 1 : e.compareDocumentPosition ? -1 : 1 + return i ? 1 & i || !C.sortDetached && n.compareDocumentPosition(e) === i ? e === t || B($, e) ? -1 : n === t || B($, n) ? 1 : D ? nt.call(D, e) - nt.call(D, n) : 0 : 4 & i ? -1 : 1 : e.compareDocumentPosition ? -1 : 1 } : function(e, n) { var i, r = 0, o = e.parentNode, @@ -1729,7 +1729,7 @@ function diff_match_patch() { l = [e], c = [n]; if(e === n) return V = !0, 0; - if(!o || !a) return e === t ? -1 : n === t ? 1 : o ? -1 : a ? 1 : N ? nt.call(N, e) - nt.call(N, n) : 0; + if(!o || !a) return e === t ? -1 : n === t ? 1 : o ? -1 : a ? 1 : D ? nt.call(D, e) - nt.call(D, n) : 0; if(o === a) return s(e, n); for(i = e; i = i.parentNode;) l.unshift(i); for(i = n; i = i.parentNode;) c.unshift(i); @@ -1757,7 +1757,7 @@ function diff_match_patch() { var t, n = [], i = 0, r = 0; - if(V = !C.detectDuplicates, N = !C.sortStable && e.slice(0), e.sort(W), V) { + if(V = !C.detectDuplicates, D = !C.sortStable && e.slice(0), e.sort(W), V) { for(; t = e[r++];) t === e[r] && (i = n.push(r)); for(; i--;) e.splice(n[i], 1) } @@ -2697,8 +2697,8 @@ function diff_match_patch() { } }); var It = /^.[^:#\[\.,]*$/, - Dt = /^(?:parents|prev(?:Until|All))/, - Nt = ot.expr.match.needsContext, + Nt = /^(?:parents|prev(?:Until|All))/, + Dt = ot.expr.match.needsContext, Lt = { children: !0, contents: !0, @@ -2732,10 +2732,10 @@ function diff_match_patch() { return this.pushStack(u(this, e || [], !1)) }, is: function(e) { - return !!u(this, "string" == typeof e && Nt.test(e) ? ot(e) : e || [], !1).length + return !!u(this, "string" == typeof e && Dt.test(e) ? ot(e) : e || [], !1).length }, closest: function(e, t) { - for(var n, i = 0, r = this.length, o = [], a = Nt.test(e) || "string" != typeof e ? ot(e, t || this.context) : 0; r > i; i++) + for(var n, i = 0, r = this.length, o = [], a = Dt.test(e) || "string" != typeof e ? ot(e, t || this.context) : 0; r > i; i++) for(n = this[i]; n && n !== t; n = n.parentNode) if(n.nodeType < 11 && (a ? a.index(n) > -1 : 1 === n.nodeType && ot.find.matchesSelector(n, e))) { n = o.push(n); @@ -2795,7 +2795,7 @@ function diff_match_patch() { }, function(e, t) { ot.fn[e] = function(n, i) { var r = ot.map(this, t, n); - return "Until" !== e.slice(-5) && (i = n), i && "string" == typeof i && (r = ot.filter(i, r)), this.length > 1 && (Lt[e] || ot.unique(r), Dt.test(e) && r.reverse()), this.pushStack(r) + return "Until" !== e.slice(-5) && (i = n), i && "string" == typeof i && (r = ot.filter(i, r)), this.length > 1 && (Lt[e] || ot.unique(r), Nt.test(e) && r.reverse()), this.pushStack(r) } }), ot.extend({ filter: function(e, t, n) { @@ -3275,7 +3275,7 @@ function diff_match_patch() { } }, ajaxSetup: function(e, t) { - return t ? N(N(e, ot.ajaxSettings), t) : N(ot.ajaxSettings, e) + return t ? D(D(e, ot.ajaxSettings), t) : D(ot.ajaxSettings, e) }, ajaxPrefilter: I(bn), ajaxTransport: I(yn), @@ -3326,7 +3326,7 @@ function diff_match_patch() { return r && r.abort(t), i(0, t), this } }; - if(m.promise(S).complete = g.add, S.success = S.done, S.error = S.fail, p.url = ((e || p.url || sn) + "").replace(un, "").replace(mn, an[1] + "//"), p.type = n.method || n.type || p.method || p.type, p.dataTypes = ot.trim(p.dataType || "*").toLowerCase().match(st) || [""], null == p.crossDomain && (c = gn.exec(p.url.toLowerCase()), p.crossDomain = !(!c || c[1] === an[1] && c[2] === an[2] && (c[3] || ("http:" === c[1] ? "80" : "443")) === (an[3] || ("http:" === an[1] ? "80" : "443")))), p.data && p.processData && "string" != typeof p.data && (p.data = ot.param(p.data, p.traditional)), D(bn, p, n, S), 2 === x) return S; + if(m.promise(S).complete = g.add, S.success = S.done, S.error = S.fail, p.url = ((e || p.url || sn) + "").replace(un, "").replace(mn, an[1] + "//"), p.type = n.method || n.type || p.method || p.type, p.dataTypes = ot.trim(p.dataType || "*").toLowerCase().match(st) || [""], null == p.crossDomain && (c = gn.exec(p.url.toLowerCase()), p.crossDomain = !(!c || c[1] === an[1] && c[2] === an[2] && (c[3] || ("http:" === c[1] ? "80" : "443")) === (an[3] || ("http:" === an[1] ? "80" : "443")))), p.data && p.processData && "string" != typeof p.data && (p.data = ot.param(p.data, p.traditional)), N(bn, p, n, S), 2 === x) return S; u = p.global, u && 0 === ot.active++ && ot.event.trigger("ajaxStart"), p.type = p.type.toUpperCase(), p.hasContent = !fn.test(p.type), o = p.url, p.hasContent || (p.data && (o = p.url += (cn.test(o) ? "&" : "?") + p.data, delete p.data), p.cache === !1 && (p.url = dn.test(o) ? o.replace(dn, "$1_=" + ln++) : o + (cn.test(o) ? "&" : "?") + "_=" + ln++)), p.ifModified && (ot.lastModified[o] && S.setRequestHeader("If-Modified-Since", ot.lastModified[o]), ot.etag[o] && S.setRequestHeader("If-None-Match", ot.etag[o])), (p.data && p.hasContent && p.contentType !== !1 || n.contentType) && S.setRequestHeader("Content-Type", p.contentType), S.setRequestHeader("Accept", p.dataTypes[0] && p.accepts[p.dataTypes[0]] ? p.accepts[p.dataTypes[0]] + ("*" !== p.dataTypes[0] ? ", " + xn + "; q=0.01" : "") : p.accepts["*"]); for(d in p.headers) S.setRequestHeader(d, p.headers[d]); if(p.beforeSend && (p.beforeSend.call(h, S, p) === !1 || 2 === x)) return S.abort(); @@ -3336,7 +3336,7 @@ function diff_match_patch() { error: 1, complete: 1 }) S[d](p[d]); - if(r = D(yn, p, n, S)) { + if(r = N(yn, p, n, S)) { S.readyState = 1, u && f.trigger("ajaxSend", [S, p]), p.async && p.timeout > 0 && (l = setTimeout(function() { S.abort("timeout") }, p.timeout)); @@ -3451,7 +3451,7 @@ function diff_match_patch() { } } : void 0 }); - var In, Dn, Nn = /^(?:toggle|show|hide)$/, + var In, Nn, Dn = /^(?:toggle|show|hide)$/, Ln = new RegExp("^(?:([+-])=|)(" + at + ")([a-z%]*)$", "i"), Mn = /queueHooks$/, An = [O], @@ -3597,9 +3597,9 @@ function diff_match_patch() { }, ot.fx.timer = function(e) { e() && ot.timers.push(e) && ot.fx.start() }, ot.fx.interval = 13, ot.fx.start = function() { - Dn || (Dn = setInterval(ot.fx.tick, ot.fx.interval)) + Nn || (Nn = setInterval(ot.fx.tick, ot.fx.interval)) }, ot.fx.stop = function() { - clearInterval(Dn), Dn = null + clearInterval(Nn), Nn = null }, ot.fx.speeds = { slow: 600, fast: 200, @@ -3831,7 +3831,7 @@ function diff_match_patch() { var n, i = []; for(n = e; n; n = n.parentNode) i.push(n); for(n = t; n; n = n.parentNode) - if(D(i, n)) return n; + if(N(i, n)) return n; return null } @@ -3954,7 +3954,7 @@ function diff_match_patch() { T.areHostMethods(E, ["insertBefore", "appendChild", "cloneNode"] || !T.areHostObjects(E, ["previousSibling", "nextSibling", "childNodes", "parentNode"])) || t.fail("Incomplete Element implementation"), T.isHostProperty(E, "innerHTML") || t.fail("Element is missing innerHTML property"); var I = document.createTextNode("test"); T.areHostMethods(I, ["splitText", "deleteData", "insertData", "appendData", "cloneNode"] || !T.areHostObjects(E, ["previousSibling", "nextSibling", "childNodes", "parentNode"]) || !T.areHostProperties(I, ["data"])) || t.fail("Incomplete Text Node implementation"); - var D = function(e, t) { + var N = function(e, t) { for(var n = e.length; n--;) if(e[n] === t) return !0; return !1 @@ -3995,7 +3995,7 @@ function diff_match_patch() { }, _.prototype.toString = function() { return this.message }, e.dom = { - arrayContains: D, + arrayContains: N, isHtmlNamespace: n, parentElement: i, getNodeIndex: r, @@ -4170,12 +4170,12 @@ function diff_match_patch() { function I() {} - function D(e) { + function N(e) { e.START_TO_START = et, e.START_TO_END = tt, e.END_TO_END = nt, e.END_TO_START = it, e.NODE_BEFORE = rt, e.NODE_AFTER = ot, e.NODE_BEFORE_AND_AFTER = at, e.NODE_INSIDE = st } - function N(e) { - D(e), D(e.prototype) + function D(e) { + N(e), N(e.prototype) } function L(e, t) { @@ -4298,7 +4298,7 @@ function diff_match_patch() { collapseToPoint: function(e, t) { b(this), v(e, !0), x(e, t), p(this, e, t) } - }), N(n) + }), D(n) } function A(e) { @@ -4573,7 +4573,7 @@ function diff_match_patch() { inspect: function() { return p(this) } - }, M(F, R, P), e.rangePrototype = I.prototype, F.rangeProperties = Z, F.RangeIterator = h, F.copyComparisonConstants = N, F.createPrototypeRange = M, F.inspect = p, F.getRangeDocument = n, F.rangesEqual = function(e, t) { + }, M(F, R, P), e.rangePrototype = I.prototype, F.rangeProperties = Z, F.RangeIterator = h, F.copyComparisonConstants = D, F.createPrototypeRange = M, F.inspect = p, F.getRangeDocument = n, F.rangesEqual = function(e, t) { return e.startContainer === t.startContainer && e.startOffset === t.startOffset && e.endContainer === t.endContainer && e.endOffset === t.endOffset }, e.DomRange = F, e.RangeException = f }), rangy.createModule("WrappedRange", function(e) { @@ -4874,14 +4874,14 @@ function diff_match_patch() { T = e.DOMException, E = S.DomPosition, I = "Control", - D = e.util.isHostMethod(window, "getSelection"), - N = e.util.isHostObject(document, "selection"), - L = N && (!D || e.config.preferTextRange); + N = e.util.isHostMethod(window, "getSelection"), + D = e.util.isHostObject(document, "selection"), + L = D && (!N || e.config.preferTextRange); L ? (b = i, e.isSelectionValid = function(e) { var t = (e || window).document, n = t.selection; return "None" != n.type || S.getDocument(n.createRange().parentElement()) == t - }) : D ? (b = n, e.isSelectionValid = function() { + }) : N ? (b = n, e.isSelectionValid = function() { return !0 }) : t.fail("Neither document.selection or window.getSelection() detected."), e.getNativeSelection = b; var M = b(), @@ -4930,7 +4930,7 @@ function diff_match_patch() { e = e || window; var t = e[w], n = b(e), - r = N ? i(e) : null; + r = D ? i(e) : null; return t ? (t.nativeSelection = n, t.docSelection = r, t.refresh(e)) : (t = new f(n, r, e), e[w] = t), t }, e.getIframeSelection = function(t) { return e.getSelection(S.getIframeWindow(t)) @@ -4946,7 +4946,7 @@ function diff_match_patch() { r.collapseToPoint(n.endContainer, n.endOffset), t.nativeSelection.addRange(s(r)), t.nativeSelection.extend(n.startContainer, n.startOffset), t.refresh() }; H.addRange = O ? function(t, n) { - if(q && N && this.docSelection.type == I) h(this, t); + if(q && D && this.docSelection.type == I) h(this, t); else if(n && F) U(this, t); else { var i; @@ -5003,7 +5003,7 @@ function diff_match_patch() { e.isSelectionValid(t.win) ? n = t.docSelection.createRange() : (n = S.getBody(t.win.document).createTextRange(), n.collapse(!0)), t.docSelection.type == I ? p(t) : u(n) ? d(t, n) : a(t) }; else if(C.isHostMethod(M, "getRangeAt") && "number" == typeof M.rangeCount) z = function(t) { - if(q && N && t.docSelection.type == I) p(t); + if(q && D && t.docSelection.type == I) p(t); else if(t._ranges.length = t.rangeCount = t.nativeSelection.rangeCount, t.rangeCount) { for(var n = 0, i = t.rangeCount; i > n; ++n) t._ranges[n] = new e.WrappedRange(t.nativeSelection.getRangeAt(n)); r(t, t._ranges[t.rangeCount - 1], W(t.nativeSelection)), t.isCollapsed = y(t) @@ -5069,7 +5069,7 @@ function diff_match_patch() { var n = e.createRange(S.getDocument(t)); n.selectNodeContents(t), this.removeAllRanges(), this.addRange(n) }, H.deleteFromDocument = function() { - if(q && N && this.docSelection.type == I) { + if(q && D && this.docSelection.type == I) { for(var e, t = this.docSelection.createRange(); t.length;) e = t.item(0), t.remove(e), e.parentNode.removeChild(e); this.refresh() } else if(this.rangeCount) { @@ -5318,13 +5318,13 @@ function() { }, C.compact = function(e) { return C.filter(e, C.identity) }; - var D = function(e, t, n) { + var N = function(e, t, n) { return t && C.every(e, C.isArray) ? l.apply(n, e) : (_(e, function(e) { - C.isArray(e) || C.isArguments(e) ? t ? a.apply(n, e) : D(e, t, n) : n.push(e) + C.isArray(e) || C.isArguments(e) ? t ? a.apply(n, e) : N(e, t, n) : n.push(e) }), n) }; C.flatten = function(e, t) { - return D(e, t, []) + return N(e, t, []) }, C.without = function(e) { return C.difference(e, s.call(arguments, 1)) }, C.uniq = C.unique = function(e, t, n, i) { @@ -5380,16 +5380,16 @@ function() { for(var i = Math.max(Math.ceil((t - e) / n), 0), r = 0, o = new Array(i); i > r;) o[r++] = e, e += n; return o }; - var N = function() {}; + var D = function() {}; C.bind = function(e, t) { var n, i; if(S && e.bind === S) return S.apply(e, s.call(arguments, 1)); if(!C.isFunction(e)) throw new TypeError; return n = s.call(arguments, 2), i = function() { if(!(this instanceof i)) return e.apply(t, n.concat(s.call(arguments))); - N.prototype = e.prototype; - var r = new N; - N.prototype = null; + D.prototype = e.prototype; + var r = new D; + D.prototype = null; var o = e.apply(r, n.concat(s.call(arguments))); return Object(o) === o ? o : r } @@ -5764,7 +5764,7 @@ function(e, t) { var t = JSON.parse(localStorage[e]); "gdrive" == t.provider && (t.id = t.fileId, t.fileId = void 0, localStorage[e] = JSON.stringify(t)) }) - }), o = "v6"), "v6" == o && (n = localStorage["file.current"], void 0 !== n && (localStorage[n + ".selectTime"] = (new Date).getTime(), localStorage.removeItem("file.current")), o = "v7"), ("v7" == o || "v8" == o || "v9" == o) && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.editorFontFamily, delete i.editorFontSize, i.template && (i.template = i.template.replace("http://benweet.github.io/stackedit/css/main-min.css", "http://benweet.github.io/stackedit/res-min/themes/default.css")), localStorage.settings = JSON.stringify(i)), o = "v10"), "v10" == o && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), ((i.extensionSettings || {}).markdownExtra || {}).extensions && i.extensionSettings.markdownExtra.extensions.push("smartypants"), "http://stackedit-ssh-proxy.herokuapp.com/" == i.sshProxy && (i.sshProxy = "https://stackedit-ssh-proxy.herokuapp.com/"), i.template && (i.template = i.template.replace("http://benweet.github.io/stackedit/lib/", "https://stackedit.io/libs/")), i.template && (i.template = i.template.replace("http://benweet.github.io/stackedit/", "https://stackedit.io/")), i.pdfTemplate && (i.pdfTemplate = i.pdfTemplate.replace("http://benweet.github.io/stackedit/lib/", "https://stackedit.io/libs/")), i.pdfTemplate && (i.pdfTemplate = i.pdfTemplate.replace("http://benweet.github.io/stackedit/", "https://stackedit.io/")), i.defaultContent && (i.defaultContent = i.defaultContent.replace("http://benweet.github.io/stackedit/", "https://stackedit.io/")), i.commitMsg && (i.commitMsg = i.commitMsg.replace("http://benweet.github.io/stackedit/", "https://stackedit.io/")), localStorage.settings = JSON.stringify(i)), o = "v11"), "v11" == o && (localStorage.removeItem("theme"), e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.editorFontFamily, delete i.editorFontSize, i.template && (i.template = i.template.replace("https://stackedit.io/res-min/themes/default.css", "https://stackedit.io/res-min/themes/base.css")), i.pdfTemplate && (i.pdfTemplate = i.pdfTemplate.replace("https://stackedit.io/res-min/themes/default.css", "https://stackedit.io/res-min/themes/base.css")), localStorage.settings = JSON.stringify(i)), o = "v12"), ("v12" == o || "v13" == o) && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.editorFontFamily, localStorage.settings = JSON.stringify(i)), o = "v14"), "v14" == o && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), i.template && (i.template = i.template.replace("https://stackedit.io/res-min/themes/default.css", "https://stackedit.io/res-min/themes/base.css")), i.pdfTemplate && (i.pdfTemplate = i.pdfTemplate.replace("https://stackedit.io/res-min/themes/default.css", "https://stackedit.io/res-min/themes/base.css")), localStorage.settings = JSON.stringify(i)), o = "v15"), "v15" == o && (localStorage.removeItem("gdrivePermissions"), e.has(localStorage, "gdrive.lastChangeId") && (localStorage["google.gdrive0.gdrive.lastChangeId"] = localStorage["gdrive.lastChangeId"], localStorage.removeItem("gdrive.lastChangeId")), e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), ((i.extensionSettings || {}).markdownExtra || {}).extensions && (i.extensionSettings.markdownExtra.extensions.push("newlines"), i.extensionSettings.markdownExtra.extensions.push("strikethrough")), localStorage.settings = JSON.stringify(i)), o = "v16"), ("v16" == o || "v17" == o) && (localStorage.removeItem("focusMode"), localStorage.removeItem("mode"), localStorage.removeItem("gdrive.state"), localStorage.removeItem("google.picasa0.permissions"), localStorage.removeItem("google.picasa0.userId"), e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.shortcuts, delete i.editorFontFamily, delete i.editorFontSize, delete i.maxWidth, localStorage.settings = JSON.stringify(i)), o = "v18"), "v18" == o && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), ((i.extensionSettings || {}).markdownExtra || {}).diagrams = !0, localStorage.settings = JSON.stringify(i)), o = "v19"), "v19" == o && (localStorage.removeItem("themeV3"), localStorage.removeItem("welcomeTour"), e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.pdfTemplate, delete i.pdfPageSize, delete i.sshProxy, localStorage.settings = JSON.stringify(i)), o = "v20"), localStorage.version = o, localStorage + }), o = "v6"), "v6" == o && (n = localStorage["file.current"], void 0 !== n && (localStorage[n + ".selectTime"] = (new Date).getTime(), localStorage.removeItem("file.current")), o = "v7"), ("v7" == o || "v8" == o || "v9" == o) && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.editorFontFamily, delete i.editorFontSize, i.template && (i.template = i.template.replace("http://benweet.github.io/stackedit/css/main-min.css", "http://benweet.github.io/stackedit/res-min/themes/default.css")), localStorage.settings = JSON.stringify(i)), o = "v10"), "v10" == o && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), ((i.extensionSettings || {}).markdownExtra || {}).extensions && i.extensionSettings.markdownExtra.extensions.push("smartypants"), "http://stackedit-ssh-proxy.herokuapp.com/" == i.sshProxy && (i.sshProxy = "https://stackedit-ssh-proxy.herokuapp.com/"), i.template && (i.template = i.template.replace("http://benweet.github.io/stackedit/lib/", "https://stackedit.io/libs/")), i.template && (i.template = i.template.replace("http://benweet.github.io/stackedit/", "https://stackedit.io/")), i.pdfTemplate && (i.pdfTemplate = i.pdfTemplate.replace("http://benweet.github.io/stackedit/lib/", "https://stackedit.io/libs/")), i.pdfTemplate && (i.pdfTemplate = i.pdfTemplate.replace("http://benweet.github.io/stackedit/", "https://stackedit.io/")), i.defaultContent && (i.defaultContent = i.defaultContent.replace("http://benweet.github.io/stackedit/", "https://stackedit.io/")), i.commitMsg && (i.commitMsg = i.commitMsg.replace("http://benweet.github.io/stackedit/", "https://stackedit.io/")), localStorage.settings = JSON.stringify(i)), o = "v11"), "v11" == o && (localStorage.removeItem("theme"), e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.editorFontFamily, delete i.editorFontSize, i.template && (i.template = i.template.replace("https://stackedit.io/res-min/themes/default.css", "https://stackedit.io/res-min/themes/base.css")), i.pdfTemplate && (i.pdfTemplate = i.pdfTemplate.replace("https://stackedit.io/res-min/themes/default.css", "https://stackedit.io/res-min/themes/base.css")), localStorage.settings = JSON.stringify(i)), o = "v12"), ("v12" == o || "v13" == o) && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.editorFontFamily, localStorage.settings = JSON.stringify(i)), o = "v14"), "v14" == o && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), i.template && (i.template = i.template.replace("https://stackedit.io/res-min/themes/default.css", "https://stackedit.io/res-min/themes/base.css")), i.pdfTemplate && (i.pdfTemplate = i.pdfTemplate.replace("https://stackedit.io/res-min/themes/default.css", "https://stackedit.io/res-min/themes/base.css")), localStorage.settings = JSON.stringify(i)), o = "v15"), "v15" == o && (localStorage.removeItem("gdrivePermissions"), e.has(localStorage, "gdrive.lastChangeId") && (localStorage["google.gdrive0.gdrive.lastChangeId"] = localStorage["gdrive.lastChangeId"], localStorage.removeItem("gdrive.lastChangeId")), e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), ((i.extensionSettings || {}).markdownExtra || {}).extensions && (i.extensionSettings.markdownExtra.extensions.push("newlines"), i.extensionSettings.markdownExtra.extensions.push("strikethrough")), localStorage.settings = JSON.stringify(i)), o = "v16"), ("v16" == o || "v17" == o) && (localStorage.removeItem("focusMode"), localStorage.removeItem("mode"), localStorage.removeItem("gdrive.state"), localStorage.removeItem("google.picasa0.permissions"), localStorage.removeItem("google.picasa0.userId"), e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.shortcuts, delete i.editorFontFamily, delete i.editorFontSize, delete i.maxWidth, localStorage.settings = JSON.stringify(i)), o = "v18"), "v18" == o && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), ((i.extensionSettings || {}).markdownExtra || {}).diagrams = !0, localStorage.settings = JSON.stringify(i)), o = "v19"), "v19" == o && (localStorage.removeItem("themeV3"), localStorage.removeItem("welcomeTour"), e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.pdfTemplate, delete i.pdfPageSize, delete i.sshProxy, localStorage.settings = JSON.stringify(i)), o = "v20"), "v20" == o && (e.has(localStorage, "settings") && (i = JSON.parse(localStorage.settings), delete i.markdownMimeType, localStorage.settings = JSON.stringify(i)), o = "v21"), localStorage.version = o, localStorage }), function(e) { var t; @@ -5885,13 +5885,13 @@ function(e) { "default": /\\(?:0(?:[0-3][0-7]{0,2}|[4-7][0-7]?)?|[1-9]\d*|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|\(\?[:=!]|[?*+]\?|{\d+(?:,\d*)?}\??|[\s\S]/, "class": /\\(?:[0-3][0-7]{0,2}|[4-7][0-7]?|x[\dA-Fa-f]{2}|u[\dA-Fa-f]{4}|c[A-Za-z]|[\s\S])|[\s\S]/ }, I = /\$(?:{([\w$]+)}|(\d\d?|[\s\S]))/g, - D = x.exec.call(/()??/, "")[1] === e, - N = RegExp.prototype.sticky !== e, + N = x.exec.call(/()??/, "")[1] === e, + D = RegExp.prototype.sticky !== e, L = { g: !0, i: !0, m: !0, - y: N + y: D }, M = {}.toString; return g = function(n, r) { var o, a, s, l = { @@ -5925,7 +5925,7 @@ function(e) { for(o = x.split.call(o, ""), r = 0; r < o.length; ++r) d(o[r]); _.push({ regex: i(e, { - add: "g" + (N ? "y" : "") + add: "g" + (D ? "y" : "") }), handler: t, scope: n.scope || k, @@ -5941,7 +5941,7 @@ function(e) { return x.replace.call(m(e), /[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&") }, g.exec = function(e, t, n, o) { var a, s, l = "g"; - return N && (o || t.sticky && o !== !1) && (l += "y"), t[b] = t[b] || r(), s = t[b][l] || (t[b][l] = i(t, { + return D && (o || t.sticky && o !== !1) && (l += "y"), t[b] = t[b] || r(), s = t[b][l] || (t[b][l] = i(t, { add: l, remove: o === !1 ? "y" : "" })), s.lastIndex = n = n || 0, a = w.exec.call(s, e), o && a && a.index !== n && (a = null), t.global && (t.lastIndex = a ? s.lastIndex : 0), a @@ -6017,7 +6017,7 @@ function(e) { var n, r, o, s = this.lastIndex, l = x.exec.apply(this, arguments); if(l) { - if(!D && l.length > 1 && a(l, "") > -1 && (r = i(this, { + if(!N && l.length > 1 && a(l, "") > -1 && (r = i(this, { remove: "g" }), x.replace.call(String(t).slice(l.index), r, function() { var t, n = arguments.length; @@ -8018,7 +8018,7 @@ var saveAs = saveAs || "undefined" != typeof navigator && navigator.msSaveOrOpen }, utils }), define("constants", [], function() { var e = {}; - return e.VERSION = "4.0.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.DROPBOX_RESTRICTED_APP_KEY = "sw0hlixhr8q1xk0", e.DROPBOX_RESTRICTED_APP_SECRET = "1r808p2xygs6lbg", e.BITLY_ACCESS_TOKEN = "317e033bfd48cf31155a68a536b1860013b09c4c", e.DEFAULT_FILE_TITLE = "Title", e.DEFAULT_FOLDER_NAME = "New folder", e.GDRIVE_DEFAULT_FILE_TITLE = "New Markdown document", e.EDITOR_DEFAULT_PADDING = 35, e.CHECK_ONLINE_PERIOD = 12e4, e.AJAX_TIMEOUT = 3e4, e.ASYNC_TASK_DEFAULT_TIMEOUT = 6e4, e.ASYNC_TASK_LONG_TIMEOUT = 18e4, e.USER_IDLE_THRESHOLD = 3e5, e.IMPORT_FILE_MAX_CONTENT_SIZE = 1e5, e.IMPORT_IMG_MAX_CONTENT_SIZE = 1e7, e.TEMPORARY_FILE_INDEX = "file.tempIndex", e.WELCOME_DOCUMENT_TITLE = "Welcome document", e.DOWNLOAD_IMPORT_URL = "/downloadImport", e.PICASA_IMPORT_IMG_URL = "/picasaImportImg", e.SSH_PUBLISH_URL = "/sshPublish", e.PDF_EXPORT_URL = "/pdfExport", e.BASE_URL = "http://localhost/", e.GOOGLE_CLIENT_ID = "241271498917-lev37kef013q85avc91am1gccg5g8lrb.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "e47fef6055344579799d", e.GATEKEEPER_URL = "https://stackedit-gatekeeper-localhost.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy-local.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "23361", e.WORDPRESS_PROXY_URL = "https://stackedit-io-wordpress-proxy.herokuapp.com/", 0 === location.hostname.indexOf("stackedit.io") ? (e.BASE_URL = e.MAIN_URL, e.GOOGLE_CLIENT_ID = "241271498917-t4t7d07qis7oc0ahaskbif3ft6tk63cd.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "710fc67886ab1ae8fee6", e.GATEKEEPER_URL = "https://stackedit-io-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-io-tumblr-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("benweet.github.io") ? (e.BASE_URL = "http://benweet.github.io/stackedit/", e.GOOGLE_CLIENT_ID = "241271498917-jpto9lls9fqnem1e4h6ppds9uob8rpvu.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "fa0d09514da8377ee32e", e.GATEKEEPER_URL = "https://stackedit-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "3185", e.WORDPRESS_PROXY_URL = "https://stackedit-wordpress-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("stackedit-beta.herokuapp.com") ? (e.BASE_URL = "https://stackedit-beta.herokuapp.com/", e.GOOGLE_CLIENT_ID = "241271498917-9bbplknkt0ljv5gaudhoiogp13hd18be.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "e9034ae191c3a8a1c5ed", e.GATEKEEPER_URL = "https://stackedit-beta-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-beta-tumblr-proxy.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "34786", e.WORDPRESS_PROXY_URL = "https://stackedit-beta-wordpress-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("benweet.insomnia247.nl") && (e.BASE_URL = "http://benweet.insomnia247.nl/stackedit/", e.GOOGLE_CLIENT_ID = "241271498917-52hae7a08hv7ltenv7km8h7lghno9sk3.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "d2943d6074b2d9c4a830", e.GATEKEEPER_URL = "https://stackedit-gatekeeper-insomnia.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy-beta.herokuapp.com/"), e.THEME_LIST = { + return e.VERSION = "4.1.0", 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.DROPBOX_RESTRICTED_APP_KEY = "sw0hlixhr8q1xk0", e.DROPBOX_RESTRICTED_APP_SECRET = "1r808p2xygs6lbg", e.BITLY_ACCESS_TOKEN = "317e033bfd48cf31155a68a536b1860013b09c4c", e.DEFAULT_FILE_TITLE = "Title", e.DEFAULT_FOLDER_NAME = "New folder", e.GDRIVE_DEFAULT_FILE_TITLE = "New Markdown document", e.EDITOR_DEFAULT_PADDING = 35, e.CHECK_ONLINE_PERIOD = 12e4, e.AJAX_TIMEOUT = 3e4, e.ASYNC_TASK_DEFAULT_TIMEOUT = 6e4, e.ASYNC_TASK_LONG_TIMEOUT = 18e4, e.USER_IDLE_THRESHOLD = 3e5, e.IMPORT_FILE_MAX_CONTENT_SIZE = 1e5, e.IMPORT_IMG_MAX_CONTENT_SIZE = 1e7, e.TEMPORARY_FILE_INDEX = "file.tempIndex", e.WELCOME_DOCUMENT_TITLE = "Welcome document", e.DOWNLOAD_IMPORT_URL = "/downloadImport", e.PICASA_IMPORT_IMG_URL = "/picasaImportImg", e.SSH_PUBLISH_URL = "/sshPublish", e.PDF_EXPORT_URL = "/pdfExport", e.BASE_URL = "http://localhost/", e.GOOGLE_CLIENT_ID = "241271498917-lev37kef013q85avc91am1gccg5g8lrb.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "e47fef6055344579799d", e.GATEKEEPER_URL = "https://stackedit-gatekeeper-localhost.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy-local.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "23361", e.WORDPRESS_PROXY_URL = "https://stackedit-io-wordpress-proxy.herokuapp.com/", 0 === location.hostname.indexOf("stackedit.io") ? (e.BASE_URL = e.MAIN_URL, e.GOOGLE_CLIENT_ID = "241271498917-t4t7d07qis7oc0ahaskbif3ft6tk63cd.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "710fc67886ab1ae8fee6", e.GATEKEEPER_URL = "https://stackedit-io-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-io-tumblr-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("benweet.github.io") ? (e.BASE_URL = "http://benweet.github.io/stackedit/", e.GOOGLE_CLIENT_ID = "241271498917-jpto9lls9fqnem1e4h6ppds9uob8rpvu.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "fa0d09514da8377ee32e", e.GATEKEEPER_URL = "https://stackedit-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "3185", e.WORDPRESS_PROXY_URL = "https://stackedit-wordpress-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("stackedit-beta.herokuapp.com") ? (e.BASE_URL = "https://stackedit-beta.herokuapp.com/", e.GOOGLE_CLIENT_ID = "241271498917-9bbplknkt0ljv5gaudhoiogp13hd18be.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "e9034ae191c3a8a1c5ed", e.GATEKEEPER_URL = "https://stackedit-beta-gatekeeper.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-beta-tumblr-proxy.herokuapp.com/", e.WORDPRESS_CLIENT_ID = "34786", e.WORDPRESS_PROXY_URL = "https://stackedit-beta-wordpress-proxy.herokuapp.com/") : 0 === location.hostname.indexOf("benweet.insomnia247.nl") && (e.BASE_URL = "http://benweet.insomnia247.nl/stackedit/", e.GOOGLE_CLIENT_ID = "241271498917-52hae7a08hv7ltenv7km8h7lghno9sk3.apps.googleusercontent.com", e.GITHUB_CLIENT_ID = "d2943d6074b2d9c4a830", e.GATEKEEPER_URL = "https://stackedit-gatekeeper-insomnia.herokuapp.com/", e.TUMBLR_PROXY_URL = "https://stackedit-tumblr-proxy-beta.herokuapp.com/"), e.THEME_LIST = { blue: "Blue", "default": "Default", gray: "Gray", @@ -8037,7 +8037,7 @@ var saveAs = saveAs || "undefined" != typeof navigator && navigator.msSaveOrOpen defaultContent: "\n\n\n> Written with [StackEdit](" + t.MAIN_URL + ").", commitMsg: "Published with " + t.MAIN_URL, conflictMode: "merge", - markdownMimeType: "text/x-markdown", + markdownMimeType: "text/plain", gdriveMultiAccount: 1, gdriveFullAccess: !0, dropboxFullAccess: !0, @@ -8072,7 +8072,7 @@ function(e, t) { function o(e) { e = e || {}; var t, n = !1; - for(t in N) e[t] ? n = !0 : N[t] = 0; + for(t in D) e[t] ? n = !0 : D[t] = 0; n || (A = !1) } @@ -8081,7 +8081,7 @@ function(e, t) { u = n.type; if(!I[e]) return []; for("keyup" == u && h(e) && (t = [e]), s = 0; s < I[e].length; ++s) - if(l = I[e][s], (i || !l.seq || N[l.seq] == l.level) && u == l.action && ("keypress" == u && !n.metaKey && !n.ctrlKey || r(t, l.modifiers))) { + if(l = I[e][s], (i || !l.seq || D[l.seq] == l.level) && u == l.action && ("keypress" == u && !n.metaKey && !n.ctrlKey || r(t, l.modifiers))) { var d = !i && l.combo == o, p = i && l.seq == i && l.level == a; (d || p) && I[e].splice(s, 1), c.push(l) @@ -8149,14 +8149,14 @@ function(e, t) { function v(e, t, n, r) { function a(t) { return function() { - A = t, ++N[e], f() + A = t, ++D[e], f() } } function s(t) { u(n, t, e), "keyup" !== r && (L = i(t)), setTimeout(o, 10) } - N[e] = 0; + D[e] = 0; for(var l = 0; l < t.length; ++l) { var c = l + 1 === t.length, d = c ? s : a(r || y(t[l + 1]).action); @@ -8179,7 +8179,7 @@ function(e, t) { } function x(e, t, n, i, r) { - D[e + ":" + n] = t, e = e.replace(/\s+/g, " "); + N[e + ":" + n] = t, e = e.replace(/\s+/g, " "); var o, s = e.split(" "); return s.length > 1 ? void v(e, s, t, n) : (o = y(e, n), I[o.key] = I[o.key] || [], a(o.key, o.modifiers, { type: o.action @@ -8262,7 +8262,7 @@ function(e, t) { "return": "enter", escape: "esc", mod: /Mac|iPod|iPhone|iPad/.test(navigator.platform) ? "meta" : "ctrl" - }, I = {}, D = {}, N = {}, L = !1, M = !1, A = !1, R = 1; 20 > R; ++R) _[111 + R] = "f" + R; + }, I = {}, N = {}, D = {}, L = !1, M = !1, A = !1, R = 1; 20 > R; ++R) _[111 + R] = "f" + R; for(R = 0; 9 >= R; ++R) _[R + 96] = R; n(t, "keypress", p), n(t, "keydown", p), n(t, "keyup", p); var P = { @@ -8273,10 +8273,10 @@ function(e, t) { return P.bind(e, function() {}, t) }, trigger: function(e, t) { - return D[e + ":" + t] && D[e + ":" + t]({}, e), this + return N[e + ":" + t] && N[e + ":" + t]({}, e), this }, reset: function() { - return I = {}, D = {}, this + return I = {}, N = {}, this }, stopCallback: function(e, t) { return(" " + t.className + " ").indexOf(" mousetrap ") > -1 ? !1 : "INPUT" == t.tagName || "SELECT" == t.tagName || "TEXTAREA" == t.tagName || t.isContentEditable @@ -9443,14 +9443,14 @@ var prettyPrintOne, prettyPrint; n = []; t.push(e.tripleQuotedStrings ? [I, /^(?:\'\'\'(?:[^\'\\]|\\[\s\S]|\'{1,2}(?=[^\']))*(?:\'\'\'|$)|\"\"\"(?:[^\"\\]|\\[\s\S]|\"{1,2}(?=[^\"]))*(?:\"\"\"|$)|\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$))/, null, "'\""] : e.multiLineStrings ? [I, /^(?:\'(?:[^\\\']|\\[\s\S])*(?:\'|$)|\"(?:[^\\\"]|\\[\s\S])*(?:\"|$)|\`(?:[^\\\`]|\\[\s\S])*(?:\`|$))/, null, "'\"`"] : [I, /^(?:\'(?:[^\\\'\r\n]|\\.)*(?:\'|$)|\"(?:[^\\\"\r\n]|\\.)*(?:\"|$))/, null, "\"'"]), e.verbatimStrings && n.push([I, /^@\"(?:[^\"]|\"\")*(?:\"|$)/, null]); var i = e.hashComments; - if(i && (e.cStyleComments ? (t.push(i > 1 ? [N, /^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/, null, "#"] : [N, /^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/, null, "#"]), n.push([I, /^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/, null])) : t.push([N, /^#[^\r\n]*/, null, "#"])), e.cStyleComments && (n.push([N, /^\/\/[^\r\n]*/, null]), n.push([N, /^\/\*[\s\S]*?(?:\*\/|$)/, null])), e.regexLiterals) { + if(i && (e.cStyleComments ? (t.push(i > 1 ? [D, /^#(?:##(?:[^#]|#(?!##))*(?:###|$)|.*)/, null, "#"] : [D, /^#(?:(?:define|e(?:l|nd)if|else|error|ifn?def|include|line|pragma|undef|warning)\b|[^\r\n]*)/, null, "#"]), n.push([I, /^<(?:(?:(?:\.\.\/)*|\/?)(?:[\w-]+(?:\/[\w-]+)+)?[\w-]+\.h(?:h|pp|\+\+)?|[a-z]\w*)>/, null])) : t.push([D, /^#[^\r\n]*/, null, "#"])), e.cStyleComments && (n.push([D, /^\/\/[^\r\n]*/, null]), n.push([D, /^\/\*[\s\S]*?(?:\*\/|$)/, null])), e.regexLiterals) { var o = "/(?=[^/*])(?:[^/\\x5B\\x5C]|\\x5C[\\s\\S]|\\x5B(?:[^\\x5C\\x5D]|\\x5C[\\s\\S])*(?:\\x5D|$))+/"; n.push(["lang-regex", new RegExp("^" + q + "(" + o + ")")]) } var a = e.types; a && n.push([L, a]); var s = ("" + e.keywords).replace(/^ | $/g, ""); - s.length && n.push([D, new RegExp("^(?:" + s.replace(/[\s,]+/g, "|") + ")\\b"), null]), t.push([R, /^\s+/, null, " \r\n  "]); + s.length && n.push([N, new RegExp("^(?:" + s.replace(/[\s,]+/g, "|") + ")\\b"), null]), t.push([R, /^\s+/, null, " \r\n  "]); var l = /^.[^\s\w\.$@\'\"\`\/\\]*/; return n.push([M, /^@[a-z_$][a-z_$@0-9]*/i, null], [L, /^(?:[@_]?[A-Z]+[a-z][A-Za-z_$@0-9]*|\w+_t\b)/, null], [R, /^[a-z_$][a-z_$@0-9]*/i, null], [M, new RegExp("^(?:0x[a-f0-9]+|(?:\\d(?:_\\d+)*\\d*(?:\\.\\d*)?|\\.\\d\\+)(?:e[+\\-]?\\d+)?)[a-z]*", "i"), null, "0123456789"], [R, /^\\[\s\S]?/, null], [A, l, null]), r(t, n) } @@ -9662,8 +9662,8 @@ var prettyPrintOne, prettyPrint; T = [v, y, w, S + C, _, k], E = /^(DIR|FILE|vector|(de|priority_)?queue|list|stack|(const_)?iterator|(multi)?(set|map)|bitset|u?(int|float)\d*)\b/, I = "str", - D = "kwd", - N = "com", + N = "kwd", + D = "com", L = "typ", M = "lit", A = "pun", @@ -9684,7 +9684,7 @@ var prettyPrintOne, prettyPrint; regexLiterals: !0 }), U = {}; - l(H, ["default-code"]), l(r([], [[R, /^[^]*(?:>|$)/], [N, /^<\!--[\s\S]*?(?:-\->|$)/], ["lang-", /^<\?([\s\S]+?)(?:\?>|$)/], ["lang-", /^<%([\s\S]+?)(?:%>|$)/], [A, /^(?:<[%?]|[%?]>)/], ["lang-", /^]*>([\s\S]+?)<\/xmp\b[^>]*>/i], ["lang-js", /^]*>([\s\S]*?)(<\/script\b[^>]*>)/i], ["lang-css", /^]*>([\s\S]*?)(<\/style\b[^>]*>)/i], ["lang-in.tag", /^(<\/?[a-z][^<>]*>)/i]]), ["default-markup", "htm", "html", "mxml", "xhtml", "xml", "xsl"]), l(r([[R, /^[\s]+/, null, " \r\n"], [j, /^(?:\"[^\"]*\"?|\'[^\']*\'?)/, null, "\"'"]], [[P, /^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i], [B, /^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i], ["lang-uq.val", /^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/], [A, /^[=<>\/]+/], ["lang-js", /^on\w+\s*=\s*\"([^\"]+)\"/i], ["lang-js", /^on\w+\s*=\s*\'([^\']+)\'/i], ["lang-js", /^on\w+\s*=\s*([^\"\'>\s]+)/i], ["lang-css", /^style\s*=\s*\"([^\"]+)\"/i], ["lang-css", /^style\s*=\s*\'([^\']+)\'/i], ["lang-css", /^style\s*=\s*([^\"\'>\s]+)/i]]), ["in.tag"]), l(r([], [[j, /^[\s\S]+/]]), ["uq.val"]), l(o({ + l(H, ["default-code"]), l(r([], [[R, /^[^]*(?:>|$)/], [D, /^<\!--[\s\S]*?(?:-\->|$)/], ["lang-", /^<\?([\s\S]+?)(?:\?>|$)/], ["lang-", /^<%([\s\S]+?)(?:%>|$)/], [A, /^(?:<[%?]|[%?]>)/], ["lang-", /^]*>([\s\S]+?)<\/xmp\b[^>]*>/i], ["lang-js", /^]*>([\s\S]*?)(<\/script\b[^>]*>)/i], ["lang-css", /^]*>([\s\S]*?)(<\/style\b[^>]*>)/i], ["lang-in.tag", /^(<\/?[a-z][^<>]*>)/i]]), ["default-markup", "htm", "html", "mxml", "xhtml", "xml", "xsl"]), l(r([[R, /^[\s]+/, null, " \r\n"], [j, /^(?:\"[^\"]*\"?|\'[^\']*\'?)/, null, "\"'"]], [[P, /^^<\/?[a-z](?:[\w.:-]*\w)?|\/?>$/i], [B, /^(?!style[\s=]|on)[a-z](?:[\w:-]*\w)?/i], ["lang-uq.val", /^=\s*([^>\'\"\s]*(?:[^>\'\"\s\/]|\/(?=\s)))/], [A, /^[=<>\/]+/], ["lang-js", /^on\w+\s*=\s*\"([^\"]+)\"/i], ["lang-js", /^on\w+\s*=\s*\'([^\']+)\'/i], ["lang-js", /^on\w+\s*=\s*([^\"\'>\s]+)/i], ["lang-css", /^style\s*=\s*\"([^\"]+)\"/i], ["lang-css", /^style\s*=\s*\'([^\']+)\'/i], ["lang-css", /^style\s*=\s*([^\"\'>\s]+)/i]]), ["in.tag"]), l(r([], [[j, /^[\s\S]+/]]), ["uq.val"]), l(o({ keywords: v, hashComments: !0, cStyleComments: !0, @@ -9737,9 +9737,9 @@ var prettyPrintOne, prettyPrint; sourceDecorator: o, PR_ATTRIB_NAME: B, PR_ATTRIB_VALUE: j, - PR_COMMENT: N, + PR_COMMENT: D, PR_DECLARATION: F, - PR_KEYWORD: D, + PR_KEYWORD: N, PR_LITERAL: M, PR_NOCODE: $, PR_PLAIN: R, @@ -9963,11 +9963,11 @@ var hljs = new function() { var T = "", E = 0; try { - for(var I, D, N = 0;;) { - if(C.t.lastIndex = N, I = C.t.exec(i), !I) break; - D = w(i.substr(N, I.index - N), I[0]), N = I.index + D + for(var I, N, D = 0;;) { + if(C.t.lastIndex = D, I = C.t.exec(i), !I) break; + N = w(i.substr(D, I.index - D), I[0]), D = I.index + N } - w(i.substr(N)); + w(i.substr(D)); for(var k = C; k.parent; k = k.parent) k.cN && (_ += ""); return { r: E, @@ -13813,7 +13813,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor if(!(l.search(/\(\s*\)$/m) > -1)) return l; p = "" } - p = N(p), p = L(p, "*_"); + p = D(p), p = L(p, "*_"); var f = '" } @@ -13886,7 +13886,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor return e += "~0", e = e.replace(/(?:\n\n|^\n?)((?:(?:[ ]{4}|\t).*\n+)+)(\n*[ ]{0,3}[^ \t\n]|(?=~0))/g, function(e, t, n) { var i = t, r = n; - return i = y(I(i)), i = D(i), i = i.replace(/^\n+/g, ""), i = i.replace(/\n+$/g, ""), i = "
" + i + "\n
", "\n\n" + i + "\n\n" + r + return i = y(I(i)), i = N(i), i = i.replace(/^\n+/g, ""), i = i.replace(/\n+$/g, ""), i = "
" + i + "\n
", "\n\n" + i + "\n\n" + r }), e = e.replace(/~0/, "") } @@ -13980,7 +13980,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor return e = e.replace(/^(\t|[ ]{1,4})/gm, "~0"), e = e.replace(/~0/g, "") } - function D(e) { + function N(e) { if(!/\t/.test(e)) return e; var t, n = [" ", " ", " ", " "], i = 0; @@ -13989,7 +13989,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor }) } - function N(e) { + function D(e) { if(!e) return ""; e.length; return e.replace(z, function(e) { @@ -14017,7 +14017,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor var P, F, O, B; this.makeHtml = function(n) { if(P) throw new Error("Recursive call to converter.makeHtml"); - return P = new i, F = new i, O = [], B = 0, n = R.preConversion(n), n = n.replace(/~/g, "~T"), n = n.replace(/\$/g, "~D"), n = n.replace(/\r\n/g, "\n"), n = n.replace(/\r/g, "\n"), n = "\n\n" + n + "\n\n", n = D(n), n = n.replace(/^[ \t]+$/gm, ""), n = R.postNormalization(n), n = t(n), n = e(n), n = o(n), n = E(n), n = n.replace(/~D/g, "$$"), n = n.replace(/~T/g, "~"), n = R.postConversion(n), O = F = P = null, n + return P = new i, F = new i, O = [], B = 0, n = R.preConversion(n), n = n.replace(/~/g, "~T"), n = n.replace(/\$/g, "~D"), n = n.replace(/\r\n/g, "\n"), n = n.replace(/\r/g, "\n"), n = "\n\n" + n + "\n\n", n = N(n), n = n.replace(/^[ \t]+$/gm, ""), n = R.postNormalization(n), n = t(n), n = e(n), n = o(n), n = E(n), n = n.replace(/~D/g, "$$"), n = n.replace(/~T/g, "~"), n = R.postConversion(n), O = F = P = null, n }; var j = function(e) { return o(e) @@ -14177,7 +14177,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor n = n.replace(/^ *[|]/m, ""), r = r.replace(/^ *[|]/m, ""), o = o.replace(/^ *[|]/gm, ""), n = n.replace(/[|] *$/m, ""), r = r.replace(/[|] *$/m, ""), o = o.replace(/[|] *$/gm, ""), alignspecs = r.split(/ *[|] */), align = []; for(var a = 0; a < alignspecs.length; a++) { var s = alignspecs[a]; - align[a] = s.match(/^ *-+: *$/m) ? ' style="text-align:right;"' : s.match(/^ *:-+: *$/m) ? ' style="text-align:center;"' : s.match(/^ *:-+ *$/m) ? ' style="text-align:left;"' : "" + align[a] = s.match(/^ *-+: *$/m) ? ' align="right"' : s.match(/^ *:-+: *$/m) ? ' align="center"' : s.match(/^ *:-+ *$/m) ? ' align="left"' : "" } var c = n.split(/ *[|] */), u = c.length, @@ -15532,11 +15532,11 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor }, l }), define("extensions/documentManager", ["jquery", "underscore", "constants", "utils", "storage", "classes/Extension", "classes/FolderDescriptor", "folderList", "fileSystem"], function(e, t, n, i, r, o, a, s, l) { function c() { - D = [], I = [], t.each(v.querySelectorAll('input[type="checkbox"]:checked'), function(t) { + N = [], I = [], t.each(v.querySelectorAll('input[type="checkbox"]:checked'), function(t) { var n = e(t.parentNode.parentNode), i = s[n.data("folderIndex")], r = l[n.data("fileIndex")]; - void 0 !== i ? D.push(i) : void 0 !== r && I.push(r) + void 0 !== i ? N.push(i) : void 0 !== r && I.push(r) }) } @@ -15555,7 +15555,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor function d() { t.each(I, function(e) { e.folder && e.folder.removeFile(e), p.deleteFile(e) - }), t.each(D, function(e) { + }), t.each(N, function(e) { i.removeIndexFromArray("folder.list", e.folderIndex), delete s[e.folderIndex] }), f.onFoldersChanged() } @@ -15572,13 +15572,13 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor T = ['
', '
<%= _.size(folderDesc.fileList) %>
', '
', "<%= folderDesc.name %>
"].join(""), E = ['
  • ', '
    <%= fileDesc.composeTitle() %>
  • '].join(""), I = [], - D = [], - N = t.debounce(function() { - c(), y.toggleClass("disabled", 0 === t.size(s) || 0 === t.size(I)), x.toggleClass("disabled", 0 === t.size(D) && 0 === t.size(I)) + N = [], + D = t.debounce(function() { + c(), y.toggleClass("disabled", 0 === t.size(s) || 0 === t.size(I)), x.toggleClass("disabled", 0 === t.size(N) && 0 === t.size(I)) }, 50), L = t.debounce(function() { if(m !== !1) { - N(), S.text(t.size(l)), C.text(t.size(s) + 1), w = t.filter(l, function(e) { + D(), S.text(t.size(l)), C.text(t.size(s) + 1), w = t.filter(l, function(e) { return void 0 === e.folder }); var e = ['', '', '
    ', t.size(w), "
    ", '
    ', "ROOT folder
    "].join(""), @@ -15666,7 +15666,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor i = n.parent(), r = s[i.data("folderIndex")], o = l[i.data("fileIndex")]; - I = [], D = [], r ? (D.push(r), I = r.fileList) : o && I.push(o), u() + I = [], N = [], r ? (N.push(r), I = r.fileList) : o && I.push(o), u() }).on("click", ".button-rename", function(t) { t.stopPropagation(); var n, i = e(this.parentNode), @@ -15686,11 +15686,11 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor }).on("click", ".file .checkbox", function(e) { e.stopPropagation() }).on("change", ".file .checkbox input", function() { - e(this).parents(".file-list").prev().find(".checkbox input").prop("checked", !1), N() + e(this).parents(".file-list").prev().find(".checkbox input").prop("checked", !1), D() }).on("click", ".folder .checkbox", function(e) { e.stopPropagation() }).on("change", ".folder .checkbox input", function() { - e(this).parents(".folder").next().find(".checkbox input").prop("checked", this.checked), N() + e(this).parents(".folder").next().find(".checkbox input").prop("checked", this.checked), D() }) }, h }), define("extensions/workingIndicator", ["jquery", "underscore", "crel", "classes/Extension"], function(e, t, n, i) { @@ -16017,15 +16017,15 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor }(this, function(e, t) { function n(e) { if(n.is(e, "function")) return x ? e() : t.on("raphael.DOMload", e); - if(n.is(e, W)) return n._engine.create[D](n, e.splice(0, 3 + n.is(e[0], z))).add(e); + if(n.is(e, W)) return n._engine.create[N](n, e.splice(0, 3 + n.is(e[0], z))).add(e); var i = Array.prototype.slice.call(arguments, 0); if(n.is(i[i.length - 1], "function")) { var r = i.pop(); - return x ? r.call(n._engine.create[D](n, i)) : t.on("raphael.DOMload", function() { - r.call(n._engine.create[D](n, i)) + return x ? r.call(n._engine.create[N](n, i)) : t.on("raphael.DOMload", function() { + r.call(n._engine.create[N](n, i)) }) } - return n._engine.create[D](n, arguments) + return n._engine.create[N](n, arguments) } function i(e) { @@ -16045,7 +16045,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor var o = Array.prototype.slice.call(arguments, 0), a = o.join("␀"), s = i.cache = i.cache || {}, l = i.count = i.count || []; - return s[k](a) ? (r(l, a), n ? n(s[a]) : s[a]) : (l.length >= 1e3 && delete s[l.shift()], l.push(a), s[a] = e[D](t, o), n ? n(s[a]) : s[a]) + return s[k](a) ? (r(l, a), n ? n(s[a]) : s[a]) : (l.length >= 1e3 && delete s[l.shift()], l.push(a), s[a] = e[N](t, o), n ? n(s[a]) : s[a]) } return i } @@ -16296,7 +16296,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor I = E[1]; for(v[_] = E[0], y[_] = [], w = 0, C = v[_].length; C > w; w++) { y[_][w] = [0]; - for(var D = 1, L = v[_][w].length; L > D; D++) y[_][w][D] = (I[w][D] - v[_][w][D]) / m + for(var N = 1, L = v[_][w].length; L > N; N++) y[_][w][N] = (I[w][N] - v[_][w][N]) / m } break; case "transform": @@ -16304,7 +16304,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor A = qt(M[_], b[_]); if(A) for(v[_] = A.from, b[_] = A.to, y[_] = [], y[_].real = !0, w = 0, C = v[_].length; C > w; w++) - for(y[_][w] = [v[_][w][0]], D = 1, L = v[_][w].length; L > D; D++) y[_][w][D] = (b[_][w][D] - v[_][w][D]) / m; + for(y[_][w] = [v[_][w][0]], N = 1, L = v[_][w].length; L > N; N++) y[_][w][N] = (b[_][w][N] - v[_][w][N]) / m; else { var F = i.matrix || new f, O = { @@ -16326,7 +16326,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor b[_] = B; break; default: - for(B = [][N](l[_]), j = [][N](v[_]), y[_] = [], w = i.paper.customAttributes[_].length; w--;) y[_][w] = ((B[w] || 0) - (j[w] || 0)) / m + for(B = [][D](l[_]), j = [][D](v[_]), y[_] = [], w = i.paper.customAttributes[_].length; w--;) y[_][w] = ((B[w] || 0) - (j[w] || 0)) / m } var $ = l.easing, q = n.easing_formulas[$]; if(!q) @@ -16385,8 +16385,8 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor is: T.win.Raphael }, I = function() { this.ca = this.customAttributes = {} - }, D = "apply", - N = "concat", + }, N = "apply", + D = "concat", L = "ontouchstart" in T.win || T.win.DocumentTouch && T.doc instanceof DocumentTouch, M = "", A = " ", @@ -16735,9 +16735,9 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor a = t.toLowerCase(); if(n.replace(ct, function(e, t) { t && o.push(+t) - }), "m" == a && o.length > 2 && (r.push([t][N](o.splice(0, 2))), a = "l", t = "m" == t ? "l" : "L"), "r" == a) r.push([t][N](o)); + }), "m" == a && o.length > 2 && (r.push([t][D](o.splice(0, 2))), a = "l", t = "m" == t ? "l" : "L"), "r" == a) r.push([t][D](o)); else - for(; o.length >= i[a] && (r.push([t][N](o.splice(0, i[a]))), i[a]);); + for(; o.length >= i[a] && (r.push([t][D](o.splice(0, i[a]))), i[a]);); }), r.toString = n._path2string, t.arr = It(r), r }, n.parseTransformString = o(function(e) { if(!e) return null; @@ -16749,7 +16749,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor } i.replace(ct, function(e, t) { t && r.push(+t) - }), t.push([n][N](r)) + }), t.push([n][D](r)) }), t.toString = n._path2string, t }); var Tt = function(e) { @@ -16842,12 +16842,12 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor if(n = e[l], "M" == n[0]) r = n[1], o = n[2], a.push(r), s.push(o); else { var u = Pt(r, o, n[1], n[2], n[3], n[4], n[5], n[6]); - a = a[N](u.min.x, u.max.x), s = s[N](u.min.y, u.max.y), r = n[5], o = n[6] + a = a[D](u.min.x, u.max.x), s = s[D](u.min.y, u.max.y), r = n[5], o = n[6] } - var d = q[D](0, a), - p = q[D](0, s), - h = $[D](0, a), - f = $[D](0, s), + var d = q[N](0, a), + p = q[N](0, s), + h = $[N](0, a), + f = $[N](0, s), m = h - d, g = f - p, v = { @@ -16864,7 +16864,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor }, It = function(e) { var t = i(e); return t.toString = n._path2string, t - }, Dt = n._pathToRelative = function(e) { + }, Nt = n._pathToRelative = function(e) { var t = Tt(e); if(t.rel) return It(t.rel); n.is(e, W) && n.is(e && e[0], W) || (e = n.parsePathString(e)); @@ -16909,7 +16909,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor } } return i.toString = n._path2string, t.rel = It(i), i - }, Nt = n._pathToAbsolute = function(e) { + }, Dt = n._pathToAbsolute = function(e) { var t = Tt(e); if(t.abs) return It(t.abs); if(n.is(e, W) && n.is(e && e[0], W) || (e = n.parsePathString(e)), !e || !e.length) return [["M", 0, 0]]; @@ -16932,14 +16932,14 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor u[1] = +d[1] + r; break; case "R": - for(var m = [r, o][N](d.slice(1)), g = 2, v = m.length; v > g; g++) m[g] = +m[g] + r, m[++g] = +m[g] + o; - i.pop(), i = i[N](s(m, p)); + for(var m = [r, o][D](d.slice(1)), g = 2, v = m.length; v > g; g++) m[g] = +m[g] + r, m[++g] = +m[g] + o; + i.pop(), i = i[D](s(m, p)); break; case "M": a = +d[1] + r, l = +d[2] + o; default: for(g = 1, v = d.length; v > g; g++) u[g] = +d[g] + (g % 2 ? r : o) - } else if("R" == d[0]) m = [r, o][N](d.slice(1)), i.pop(), i = i[N](s(m, p)), u = ["R"][N](d.slice(-2)); + } else if("R" == d[0]) m = [r, o][D](d.slice(1)), i.pop(), i = i[D](s(m, p)), u = ["R"][D](d.slice(-2)); else for(var b = 0, y = d.length; y > b; b++) u[b] = d[b]; switch(u[0]) { @@ -16997,8 +16997,8 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor if(G(T) > p) { var E = k, I = l, - D = c; - k = _ + p * (s && k > _ ? 1 : -1), l = S + n * j.cos(k), c = C + i * j.sin(k), f = At(l, c, n, i, r, 0, s, I, D, [k, E, S, C]) + N = c; + k = _ + p * (s && k > _ ? 1 : -1), l = S + n * j.cos(k), c = C + i * j.sin(k), f = At(l, c, n, i, r, 0, s, I, N, [k, E, S, C]) } T = k - _; var L = j.cos(_), @@ -17012,8 +17012,8 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor q = [e + O * M, t - B * L], H = [l + O * R, c - B * A], z = [l, c]; - if(q[0] = 2 * $[0] - q[0], q[1] = 2 * $[1] - q[1], u) return [q, H, z][N](f); - f = [q, H, z][N](f).join()[P](","); + if(q[0] = 2 * $[0] - q[0], q[1] = 2 * $[1] - q[1], u) return [q, H, z][D](f); + f = [q, H, z][D](f).join()[P](","); for(var V = [], W = 0, X = f.length; X > W; W++) V[W] = W % 2 ? m(f[W - 1], f[W], h).y : m(f[W], f[W + 1], h).x; return V }, Rt = function(e, t, n, i, r, o, a, s, l) { @@ -17032,19 +17032,19 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor m = [e, a]; return G(p) > "1e12" && (p = .5), G(h) > "1e12" && (h = .5), p > 0 && 1 > p && (l = Rt(e, t, n, i, r, o, a, s, p), m.push(l.x), f.push(l.y)), h > 0 && 1 > h && (l = Rt(e, t, n, i, r, o, a, s, h), m.push(l.x), f.push(l.y)), c = o - 2 * i + t - (s - 2 * o + i), u = 2 * (i - t) - 2 * (o - i), d = t - i, p = (-u + j.sqrt(u * u - 4 * c * d)) / 2 / c, h = (-u - j.sqrt(u * u - 4 * c * d)) / 2 / c, G(p) > "1e12" && (p = .5), G(h) > "1e12" && (h = .5), p > 0 && 1 > p && (l = Rt(e, t, n, i, r, o, a, s, p), m.push(l.x), f.push(l.y)), h > 0 && 1 > h && (l = Rt(e, t, n, i, r, o, a, s, h), m.push(l.x), f.push(l.y)), { min: { - x: q[D](0, m), - y: q[D](0, f) + x: q[N](0, m), + y: q[N](0, f) }, max: { - x: $[D](0, m), - y: $[D](0, f) + x: $[N](0, m), + y: $[N](0, f) } } }), Ft = n._path2curve = o(function(e, t) { var n = !t && Tt(e); if(!t && n.curve) return It(n.curve); - for(var i = Nt(e), r = t && Nt(t), o = { + for(var i = Dt(e), r = t && Dt(t), o = { x: 0, y: 0, bx: 0, @@ -17073,34 +17073,34 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor t.X = e[1], t.Y = e[2]; break; case "A": - e = ["C"][N](At[D](0, [t.x, t.y][N](e.slice(1)))); + e = ["C"][D](At[N](0, [t.x, t.y][D](e.slice(1)))); break; case "S": - "C" == n || "S" == n ? (i = 2 * t.x - t.bx, r = 2 * t.y - t.by) : (i = t.x, r = t.y), e = ["C", i, r][N](e.slice(1)); + "C" == n || "S" == n ? (i = 2 * t.x - t.bx, r = 2 * t.y - t.by) : (i = t.x, r = t.y), e = ["C", i, r][D](e.slice(1)); break; case "T": - "Q" == n || "T" == n ? (t.qx = 2 * t.x - t.qx, t.qy = 2 * t.y - t.qy) : (t.qx = t.x, t.qy = t.y), e = ["C"][N](Mt(t.x, t.y, t.qx, t.qy, e[1], e[2])); + "Q" == n || "T" == n ? (t.qx = 2 * t.x - t.qx, t.qy = 2 * t.y - t.qy) : (t.qx = t.x, t.qy = t.y), e = ["C"][D](Mt(t.x, t.y, t.qx, t.qy, e[1], e[2])); break; case "Q": - t.qx = e[1], t.qy = e[2], e = ["C"][N](Mt(t.x, t.y, e[1], e[2], e[3], e[4])); + t.qx = e[1], t.qy = e[2], e = ["C"][D](Mt(t.x, t.y, e[1], e[2], e[3], e[4])); break; case "L": - e = ["C"][N](Lt(t.x, t.y, e[1], e[2])); + e = ["C"][D](Lt(t.x, t.y, e[1], e[2])); break; case "H": - e = ["C"][N](Lt(t.x, t.y, e[1], t.y)); + e = ["C"][D](Lt(t.x, t.y, e[1], t.y)); break; case "V": - e = ["C"][N](Lt(t.x, t.y, t.x, e[1])); + e = ["C"][D](Lt(t.x, t.y, t.x, e[1])); break; case "Z": - e = ["C"][N](Lt(t.x, t.y, t.X, t.Y)) + e = ["C"][D](Lt(t.x, t.y, t.X, t.Y)) } return e }), l = function(e, t) { if(e[t].length > 7) { e[t].shift(); - for(var n = e[t]; n.length;) e.splice(t++, 0, ["C"][N](n.splice(0, 6))); + for(var n = e[t]; n.length;) e.splice(t++, 0, ["C"][D](n.splice(0, 6))); e.splice(t, 1), d = $(i.length, r && r.length || 0) } }, c = function(e, t, n, o, a) { @@ -17219,7 +17219,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor width: i, height: r } : void 0 - }, n.pathToRelative = Dt, n._engine = {}, n.path2curve = Ft, n.matrix = function(e, t, n, i, r, o) { + }, n.pathToRelative = Nt, n._engine = {}, n.path2curve = Ft, n.matrix = function(e, t, n, i, r, o) { return new f(e, t, n, i, r, o) }, function(e) { @@ -17432,7 +17432,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor return this.__set__ && this.__set__.push(o), o }, w.path = function(e) { e && !n.is(e, V) && !n.is(e[0], W) && (e += M); - var t = n._engine.path(n.format[D](n, arguments), this); + var t = n._engine.path(n.format[N](n, arguments), this); return this.__set__ && this.__set__.push(t), t }, w.image = function(e, t, i, r, o) { var a = n._engine.image(this, e || "about:blank", t || 0, i || 0, r || 0, o || 0); @@ -17681,7 +17681,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor for(o = [], y = 4; y--;) o[y] = +u[v][y] + g * l * d[v][y]; break; default: - var _ = [][N](u[v]); + var _ = [][D](u[v]); for(o = [], y = h.paper.customAttributes[v].length; y--;) o[y] = +_[y] + g * l * d[v][y] } f[v] = o @@ -17790,7 +17790,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor return function() { var t = arguments; return this.forEach(function(n) { - n[e][D](n, t) + n[e][N](n, t) }) } }(mn)); @@ -17838,7 +17838,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor var o = this.items[r].getBBox(); e.push(o.x), t.push(o.y), n.push(o.x + o.width), i.push(o.y + o.height) } - return e = q[D](0, e), t = q[D](0, t), n = $[D](0, n), i = $[D](0, i), { + return e = q[N](0, e), t = q[N](0, t), n = $[N](0, n), i = $[N](0, i), { x: e, y: t, x2: n, @@ -17944,7 +17944,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor for(var t, i = this.set(), r = 0, o = e.length; o > r; r++) t = e[r] || {}, C[k](t.type) && i.push(this[t.type]().attr(t)); return i }, n.format = function(e, t) { - var i = n.is(t, W) ? [0][N](t) : arguments; + var i = n.is(t, W) ? [0][D](t) : arguments; return e && n.is(e, V) && i.length - 1 && (e = e.replace(_, function(e, t) { return null == i[++t] ? M : i[t] })), e || M @@ -18098,8 +18098,8 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor d: f[S], id: T })), m[T] = 1); - var I, D = n._g.doc.getElementById(E); - D ? (m[E]++, I = D.getElementsByTagName("use")[0]) : (D = g(g("marker"), { + var I, N = n._g.doc.getElementById(E); + N ? (m[E]++, I = N.getElementsByTagName("use")[0]) : (N = g(g("marker"), { id: E, markerHeight: _, markerWidth: C, @@ -18110,9 +18110,9 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor "xlink:href": "#" + T, transform: (o ? "rotate(180 " + C / 2 + " " + _ / 2 + ") " : d) + "scale(" + C / k + "," + _ / k + ")", "stroke-width": (1 / ((C / k + _ / k) / 2)).toFixed(4) - }), D.appendChild(I), h.defs.appendChild(D), m[E] = 1), g(I, u); - var N = l * ("diamond" != S && "oval" != S); - o ? (a = i._.arrows.startdx * x || 0, s = n.getTotalLength(y.path) - N * x) : (a = N * x, s = n.getTotalLength(y.path) - (i._.arrows.enddx * x || 0)), u = {}, u["marker-" + v] = "url(#" + E + ")", (s || a) && (u.d = n.getSubpath(y.path, a, s)), g(b, u), i._.arrows[v + "Path"] = T, i._.arrows[v + "Marker"] = E, i._.arrows[v + "dx"] = N, i._.arrows[v + "Type"] = S, i._.arrows[v + "String"] = r + }), N.appendChild(I), h.defs.appendChild(N), m[E] = 1), g(I, u); + var D = l * ("diamond" != S && "oval" != S); + o ? (a = i._.arrows.startdx * x || 0, s = n.getTotalLength(y.path) - D * x) : (a = D * x, s = n.getTotalLength(y.path) - (i._.arrows.enddx * x || 0)), u = {}, u["marker-" + v] = "url(#" + E + ")", (s || a) && (u.d = n.getSubpath(y.path, a, s)), g(b, u), i._.arrows[v + "Path"] = T, i._.arrows[v + "Marker"] = E, i._.arrows[v + "dx"] = D, i._.arrows[v + "Type"] = S, i._.arrows[v + "String"] = r } else o ? (a = i._.arrows.startdx * x || 0, s = n.getTotalLength(y.path) - a) : (a = 0, s = n.getTotalLength(y.path) - (i._.arrows.enddx * x || 0)), i._.arrows[v + "Path"] && g(b, { d: n.getSubpath(y.path, a, s) }), delete i._.arrows[v + "Path"], delete i._.arrows[v + "Marker"], delete i._.arrows[v + "dx"], delete i._.arrows[v + "Type"], delete i._.arrows[v + "String"]; @@ -18203,8 +18203,8 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor if(!m) { var I = l.getAttribute("clip-path"); if(I) { - var D = n._g.doc.getElementById(I.replace(/(^url\(#|\)$)/g, d)); - D && D.parentNode.removeChild(D), g(l, { + var N = n._g.doc.getElementById(I.replace(/(^url\(#|\)$)/g, d)); + N && N.parentNode.removeChild(N), g(l, { "clip-path": d }), delete i.clip } @@ -18251,8 +18251,8 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor w(i, m, o); break; case "fill": - var N = t(m).match(n._ISURL); - if(N) { + var D = t(m).match(n._ISURL); + if(D) { T = g("pattern"); var L = g("image"); T.id = n.createUUID(), g(T, { @@ -18264,10 +18264,10 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor }), g(L, { x: 0, y: 0, - "xlink:href": N[1] + "xlink:href": D[1] }), T.appendChild(L), function(e) { - n._preload(N[1], function() { + n._preload(D[1], function() { var t = this.offsetWidth, n = this.offsetHeight; g(e, { @@ -18743,9 +18743,9 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor if(g && (p.path = n._getPath[r.type](r), r._.dirty = 1), l.href && (d.href = l.href), l.title && (d.title = l.title), l.target && (d.target = l.target), l.cursor && (m.cursor = l.cursor), "blur" in l && r.blur(l.blur), (l.path && "path" == r.type || g) && (d.path = C(~t(p.path).toLowerCase().indexOf("r") ? n._pathToAbsolute(p.path) : p.path), "image" == r.type && (r._.fillpos = [p.x, p.y], r._.fillsize = [p.width, p.height], k(r, 1, 1, 0, 0, 0))), "transform" in l && r.transform(l.transform), v) { var _ = +p.cx, E = +p.cy, - D = +p.rx || +p.r || 0, - N = +p.ry || +p.r || 0; - d.path = n.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x", o((_ - D) * x), o((E - N) * x), o((_ + D) * x), o((E + N) * x), o(_ * x)), r._.dirty = 1 + N = +p.rx || +p.r || 0, + D = +p.ry || +p.r || 0; + d.path = n.format("ar{0},{1},{2},{3},{4},{1},{4},{1}x", o((_ - N) * x), o((E - D) * x), o((_ + N) * x), o((E + D) * x), o(_ * x)), r._.dirty = 1 } if("clip-rect" in l) { var M = t(l["clip-rect"]).split(u); @@ -18849,7 +18849,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor a.colors = p.length ? p.join() : "0% " + a.color, "radial" == l ? (a.type = "gradientTitle", a.focus = "100%", a.focussize = "0 0", a.focusposition = c, a.angle = 0) : (a.type = "gradient", a.angle = (270 - u) % 360), e.appendChild(a) } return 1 - }, D = function(e, t) { + }, N = function(e, t) { this[0] = this.node = e, e.raphael = !0, this.id = n._oid++, e.raphaelid = this.id, this.X = 0, this.Y = 0, this.attrs = {}, this.paper = t, this.matrix = n.matrix(), this._ = { transform: [], sx: 1, @@ -18860,8 +18860,8 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor dirty: 1, dirtyT: 1 }, !t.bottom && (t.bottom = this), this.prev = t.top, t.top && (t.top.next = this), t.top = this, this.next = null - }, N = n.el; - D.prototype = N, N.constructor = D, N.transform = function(e) { + }, D = n.el; + N.prototype = D, D.constructor = N, D.transform = function(e) { if(null == e) return this._.transform; var i, r = this.paper._viewBoxShift, o = r ? "s" + [r.scale, r.scale] + "-1-1t" + [r.dx, r.dy] : f; @@ -18882,7 +18882,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor } else c.style.filter = f, k(this, a.scalex, a.scaley, a.dx, a.dy, a.rotate); else c.style.filter = f, l.matrix = t(s), l.offset = s.offset(); return i && (this._.transform = i), this - }, N.rotate = function(e, n, r) { + }, D.rotate = function(e, n, r) { if(this.removed) return this; if(null != e) { if(e = t(e).split(u), e.length - 1 && (n = i(e[1]), r = i(e[2])), e = i(e[0]), null == r && (n = r), null == n || null == r) { @@ -18891,30 +18891,30 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor } return this._.dirtyT = 1, this.transform(this._.transform.concat([["r", e, n, r]])), this } - }, N.translate = function(e, n) { + }, D.translate = function(e, n) { return this.removed ? this : (e = t(e).split(u), e.length - 1 && (n = i(e[1])), e = i(e[0]) || 0, n = +n || 0, this._.bbox && (this._.bbox.x += e, this._.bbox.y += n), this.transform(this._.transform.concat([["t", e, n]])), this) - }, N.scale = function(e, n, r, o) { + }, D.scale = function(e, n, r, o) { if(this.removed) return this; if(e = t(e).split(u), e.length - 1 && (n = i(e[1]), r = i(e[2]), o = i(e[3]), isNaN(r) && (r = null), isNaN(o) && (o = null)), e = i(e[0]), null == n && (n = e), null == o && (r = o), null == r || null == o) var a = this.getBBox(1); return r = null == r ? a.x + a.width / 2 : r, o = null == o ? a.y + a.height / 2 : o, this.transform(this._.transform.concat([["s", e, n, r, o]])), this._.dirtyT = 1, this - }, N.hide = function() { + }, D.hide = function() { return !this.removed && (this.node.style.display = "none"), this - }, N.show = function() { + }, D.show = function() { return !this.removed && (this.node.style.display = f), this - }, N._getBBox = function() { + }, D._getBBox = function() { return this.removed ? {} : { x: this.X + (this.bbx || 0) - this.W / 2, y: this.Y - this.H, width: this.W, height: this.H } - }, N.remove = function() { + }, D.remove = function() { if(!this.removed && this.node.parentNode) { this.paper.__set__ && this.paper.__set__.exclude(this), n.eve.unbind("raphael.*.*." + this.id), n._tear(this, this.paper), this.node.parentNode.removeChild(this.node), this.shape && this.shape.parentNode.removeChild(this.shape); for(var e in this) this[e] = "function" == typeof this[e] ? n._removedFactory(e) : null; this.removed = !0 } - }, N.attr = function(t, i) { + }, D.attr = function(t, i) { if(this.removed) return this; if(null == t) { var r = {}; @@ -18943,22 +18943,22 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor h.text && "text" == this.type && (this.textpath.string = h.text), E(this, h) } return this - }, N.toFront = function() { + }, D.toFront = function() { return !this.removed && this.node.parentNode.appendChild(this.node), this.paper && this.paper.top != this && n._tofront(this, this.paper), this - }, N.toBack = function() { + }, D.toBack = function() { return this.removed ? this : (this.node.parentNode.firstChild != this.node && (this.node.parentNode.insertBefore(this.node, this.node.parentNode.firstChild), n._toback(this, this.paper)), this) - }, N.insertAfter = function(e) { + }, D.insertAfter = function(e) { return this.removed ? this : (e.constructor == n.st.constructor && (e = e[e.length - 1]), e.node.nextSibling ? e.node.parentNode.insertBefore(this.node, e.node.nextSibling) : e.node.parentNode.appendChild(this.node), n._insertafter(this, e, this.paper), this) - }, N.insertBefore = function(e) { + }, D.insertBefore = function(e) { return this.removed ? this : (e.constructor == n.st.constructor && (e = e[0]), e.node.parentNode.insertBefore(this.node, e.node), n._insertbefore(this, e, this.paper), this) - }, N.blur = function(e) { + }, D.blur = function(e) { var t = this.node.runtimeStyle, i = t.filter; return i = i.replace(v, f), 0 !== +e ? (this.attrs.blur = e, t.filter = i + h + p + ".Blur(pixelradius=" + (+e || 1.5) + ")", t.margin = n.format("-{0}px 0 0 -{0}px", o(+e || 1.5))) : (t.filter = i, t.margin = 0, delete this.attrs.blur), this }, n._engine.path = function(e, t) { var n = L("shape"); n.style.cssText = y, n.coordsize = x + h + x, n.coordorigin = t.coordorigin; - var i = new D(n, t), + var i = new N(n, t), r = { fill: "none", stroke: "#000" @@ -19006,7 +19006,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor l = L("path"), c = L("textpath"); i = i || 0, r = r || 0, a = a || "", l.v = n.format("m{0},{1}l{2},{1}", o(i * x), o(r * x), o(i * x) + 1), l.textpathok = !0, c.string = t(a), c.on = !0, s.style.cssText = y, s.coordsize = x + h + x, s.coordorigin = "0 0"; - var u = new D(s, e), + var u = new N(s, e), d = { fill: "#000", stroke: "none", @@ -19065,7 +19065,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor return !0 }; var M = n.st; - for(var A in N) N[e](A) && !M[e](A) && (M[A] = function(e) { + for(var A in D) D[e](A) && !M[e](A) && (M[A] = function(e) { return function() { var t = arguments; return this.forEach(function(n) { @@ -20316,16 +20316,16 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor } else if(y.indexOf("->") >= 0) for(var k = y.split("->"), T = 0, E = k.length; E > T; T++) { var I = k[T], - D = t(I), - N = n(I), + N = t(I), + D = n(I), L = null; - if(N.indexOf(",") >= 0) { - var M = N.split(","); - N = M[0], L = M[1].trim() + if(D.indexOf(",") >= 0) { + var M = D.split(","); + D = M[0], L = M[1].trim() } - if(i.start || (i.start = D), E > T + 1) { + if(i.start || (i.start = N), E > T + 1) { var A = k[T + 1]; - D[N] = t(A), D["direction_" + N] = L, L = null + N[D] = t(A), N["direction_" + D] = L, L = null } } } @@ -20616,12 +20616,12 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor y: h.y }], t), this.rightStart = !0, e.topEnd = !0, S = l.x + C / 2) : (o = i(this.chart, u, f, t), this.leftStart = !0, e.rightEnd = !0, S = f.x) : (o = i(this.chart, l, m, t), this.rightStart = !0, e.leftEnd = !0, S = m.x) : (o = i(this.chart, c, h, t), this.bottomStart = !0, e.topEnd = !0, S = c.x), o) { for(var k = 0, T = this.chart.lines.length; T > k; k++) - for(var E, I = this.chart.lines[k], D = I.attr("path"), N = o.attr("path"), L = 0, M = D.length - 1; M > L; L++) { + for(var E, I = this.chart.lines[k], N = I.attr("path"), D = o.attr("path"), L = 0, M = N.length - 1; M > L; L++) { var A = []; - A.push(["M", D[L][1], D[L][2]]), A.push(["L", D[L + 1][1], D[L + 1][2]]); - for(var R = A[0][1], P = A[0][2], F = A[1][1], O = A[1][2], B = 0, j = N.length - 1; j > B; B++) { + A.push(["M", N[L][1], N[L][2]]), A.push(["L", N[L + 1][1], N[L + 1][2]]); + for(var R = A[0][1], P = A[0][2], F = A[1][1], O = A[1][2], B = 0, j = D.length - 1; j > B; B++) { var $ = []; - $.push(["M", N[B][1], N[B][2]]), $.push(["L", N[B + 1][1], N[B + 1][2]]); + $.push(["M", D[B][1], D[B][2]]), $.push(["L", D[B + 1][1], D[B + 1][2]]); var q = $[0][1], G = $[0][2], H = $[1][1], @@ -20629,7 +20629,7 @@ if(Markdown = "object" == typeof exports && "function" == typeof require ? expor z = r(R, P, F, O, q, G, H, U); if(z.onLine1 && z.onLine2) { var V; - G === U ? q > H ? (V = ["L", z.x + 2 * _, G], N.splice(B + 1, 0, V), V = ["C", z.x + 2 * _, G, z.x, G - 4 * _, z.x - 2 * _, G], N.splice(B + 2, 0, V), o.attr("path", N)) : (V = ["L", z.x - 2 * _, G], N.splice(B + 1, 0, V), V = ["C", z.x - 2 * _, G, z.x, G - 4 * _, z.x + 2 * _, G], N.splice(B + 2, 0, V), o.attr("path", N)) : G > U ? (V = ["L", q, z.y + 2 * _], N.splice(B + 1, 0, V), V = ["C", q, z.y + 2 * _, q + 4 * _, z.y, q, z.y - 2 * _], N.splice(B + 2, 0, V), o.attr("path", N)) : (V = ["L", q, z.y - 2 * _], N.splice(B + 1, 0, V), V = ["C", q, z.y - 2 * _, q + 4 * _, z.y, q, z.y + 2 * _], N.splice(B + 2, 0, V), o.attr("path", N)), B += 2, E += 2 + G === U ? q > H ? (V = ["L", z.x + 2 * _, G], D.splice(B + 1, 0, V), V = ["C", z.x + 2 * _, G, z.x, G - 4 * _, z.x - 2 * _, G], D.splice(B + 2, 0, V), o.attr("path", D)) : (V = ["L", z.x - 2 * _, G], D.splice(B + 1, 0, V), V = ["C", z.x - 2 * _, G, z.x, G - 4 * _, z.x + 2 * _, G], D.splice(B + 2, 0, V), o.attr("path", D)) : G > U ? (V = ["L", q, z.y + 2 * _], D.splice(B + 1, 0, V), V = ["C", q, z.y + 2 * _, q + 4 * _, z.y, q, z.y - 2 * _], D.splice(B + 2, 0, V), o.attr("path", D)) : (V = ["L", q, z.y - 2 * _], D.splice(B + 1, 0, V), V = ["C", q, z.y - 2 * _, q + 4 * _, z.y, q, z.y + 2 * _], D.splice(B + 2, 0, V), o.attr("path", D)), B += 2, E += 2 } } } @@ -22090,7 +22090,7 @@ function(e, t) { r.tooltip("hide").removeClass("info-tooltip").parent().removeClass("info-tooltip-container") }), setTimeout(function() { r.tooltip("hide").removeClass("info-tooltip").parent().removeClass("info-tooltip-container") - }, 2e4) + }, 3e4) } var a = new r({ keyboard: !1, @@ -22230,12 +22230,12 @@ function(e, t) { utils.createTooltip(".tooltip-usercustom-extension", tooltipUserCustomExtensionHTML) }, userCustom }), define("text!html/commentsPopoverContent.html", [], function() { - return '
    \n
    <%= commentList %>
    \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n' + return '
    \n
    <%= commentList %>
    \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n' }), define("extensions/comments", ["jquery", "underscore", "utils", "storage", "crel", "rangy", "classes/Extension", "text!html/commentsPopoverContent.html", "bootstrap"], function(e, t, n, i, r, o, a, s) { function l(e, t, n) { t = Math.round(t); - for(var i = t - 21; t + 22 > i;) w[i] && (t = i + 22), i++; - !n && (w[t] = 1); + for(var i = t - 21; t + 22 > i;) S[i] && (t = i + 22), i++; + !n && (S[t] = 1); var r = -8; - 1 !== e.className.indexOf(" icon-split") && (r = -12); var o = t + r; e.style.top = o + "px", e.style.right = "12px" @@ -22246,19 +22246,19 @@ function(e, t) { } function u(e) { - var t = C.getPopoverElt(), + var t = _.getPopoverElt(), n = 0; t.offsetWidth < x.offsetWidth - 10 && (n = x.offsetWidth - 10 - t.offsetWidth), t.style.left = n + "px", t.querySelector(".arrow").style.left = x.offsetWidth - parseInt(e.style.right) - e.offsetWidth / 2 - n + "px"; - var i = window.innerHeight - C.hr.getBoundingClientRect().top; + var i = window.innerHeight - _.hr.getBoundingClientRect().top; 0 > i && (t.style.top = parseInt(t.style.top) + i + "px") } function d() { - C && C.$commentElt.popover("toggle").popover("destroy") + _ && _.$commentElt.popover("toggle").popover("destroy") } function p() { - var e = C.getDiscussion(), + var e = _.getDiscussion(), n = i["author.name"], r = []; return e.commentList && (r = e.commentList.map(function(e) { @@ -22270,7 +22270,7 @@ function(e, t) { }) })), "conflict" == e.type && r.unshift(t.template(m, { author: "StackEdit", - content: "Multiple users have made conflicting modifications.", + content: "Conflicting changes have been detected.", reply: !0 })), r.join("") } @@ -22284,8 +22284,8 @@ function(e, t) { f.onEditorCreated = function(e) { v = e, b = v.selectionMgr }; - var y, x, w = [], - S = r("a", { + var y, x, w, S = [], + C = r("a", { "class": "discussion icon-comment new" }); c.prototype.getDiscussion = function() { @@ -22293,78 +22293,80 @@ function(e, t) { }, c.prototype.getPopoverElt = function() { return document.querySelector(".comments-popover .popover:last-child") }; - var C, _, k, T, E, I, D = {}, N = [], - L = !1, - M = t.debounce(function() { + var _, k, T, E, I, N, D = {}, L = [], + M = !1, + A = t.debounce(function() { function e() { var i; if(0 === o.length) return t.filter(D, function(e, n) { - return !t.has(k.discussionList, n) + return !t.has(T.discussionList, n) }).forEach(function(e) { x.removeChild(e), delete D[e.discussionIndex] - }), C && !C.discussionIndex && (i = b.getCoordinates(C.getDiscussion().selectionEnd), l(S, i.y, !0), y.scrollTop += parseInt(S.style.top) - y.scrollTop - 3 * y.offsetHeight / 4, u(S)), N = t.sortBy(D, function(e) { + }), l(C, w, !0), _ && !_.discussionIndex && (y.scrollTop += parseInt(C.style.top) - y.scrollTop - 3 * y.offsetHeight / 4, u(C)), L = t.sortBy(D, function(e) { return e.selectionEnd - }), E.toggleClass("some", 0 !== N.length), E.toggleClass("replied", L), void I.toggleClass("icon-chat", 0 !== N.length); + }), I.toggleClass("some", 0 !== L.length), I.toggleClass("replied", M), void N.toggleClass("icon-chat", 0 !== L.length); var a = o.shift(), s = D[a.discussionIndex]; s || (s = r("a")); var c = "discussion", d = !a.commentList || !n || t.last(a.commentList).author != n; - d && (L = !0), c += "conflict" == a.type ? " icon-split" : " icon-comment", c += d ? " replied" : " added", s.className = c, s.discussionIndex = a.discussionIndex, s.selectionEnd = a.selectionEnd, i = b.getCoordinates(a.selectionEnd), l(s, i.y), x.appendChild(s), D[a.discussionIndex] = s, C && C.getDiscussion() === a && (y.scrollTop += parseInt(s.style.top) - y.scrollTop - 3 * y.offsetHeight / 4, u(s)), T = setTimeout(e, 5) + d && (M = !0), c += "conflict" == a.type ? " icon-split" : " icon-comment", c += d ? " replied" : " added", s.className = c, s.discussionIndex = a.discussionIndex, s.selectionEnd = a.selectionEnd, i = b.getCoordinates(a.selectionEnd), l(s, i.y), x.appendChild(s), D[a.discussionIndex] = s, _ && _.getDiscussion() === a && (y.scrollTop += parseInt(s.style.top) - y.scrollTop - 3 * y.offsetHeight / 4, u(s)), E = setTimeout(e, 5) } - if(void 0 !== k) { - L = !1, N = []; + if(void 0 !== T) { + M = !1, L = []; var n = i["author.name"]; - w = []; - var o = t.sortBy(k.discussionList, function(e) { + S = []; + var o = t.sortBy(T.discussionList, function(e) { return e.selectionEnd }); - clearTimeout(T), T = setTimeout(e, 5) + clearTimeout(E), E = setTimeout(e, 5) } }, 50); - return f.onLayoutResize = M, f.onFileOpen = function(e) { - k = e, M() + return f.onLayoutResize = A, f.onFileOpen = function(e) { + T = e, A() }, f.onContentChanged = function(e) { - k === e && M() + T === e && A() + }, f.onCursorCoordinates = function(e, t) { + w = t, l(C, t, !0) }, f.onCommentsChanged = function(e) { - if(k === e) { - if(void 0 !== C) { - var t = C; + if(T === e) { + if(void 0 !== _) { + var t = _; t.discussionIndex && (t.getPopoverElt().querySelector(".discussion-comment-list").innerHTML = p()); try { - _.undoToRange(t.rangyRange), t.rangyRange.detach() + k.undoToRange(t.rangyRange), t.rangyRange.detach() } catch(n) {} var i = t.getDiscussion(); t.selectionRange = b.createRange(i.selectionStart, i.selectionEnd), t.rangyRange = o.createRange(), t.rangyRange.setStart(t.selectionRange.startContainer, t.selectionRange.startOffset), t.rangyRange.setEnd(t.selectionRange.endContainer, t.selectionRange.endOffset), setTimeout(function() { - C === t && _.applyToRange(t.rangyRange) + _ === t && k.applyToRange(t.rangyRange) }, 50) } - M() + A() } }, f.onEditorPopover = function() { d() }, f.onDiscussionCreated = function(e) { - k === e && M() + T === e && A() }, f.onDiscussionRemoved = function(e, t) { - k === e && (void 0 !== C && C.discussionIndex == t.discussionIndex && d(), M()) + T === e && (void 0 !== _ && _.discussionIndex == t.discussionIndex && d(), A()) }, f.onReady = function() { - _ = o.createCssClassApplier("comment-highlight", { + k = o.createCssClassApplier("comment-highlight", { normalize: !1 }); var a = ""; - y = document.getElementById("wmd-input"), x = document.querySelector("#wmd-input > .editor-margin"), x.appendChild(S); - var f = e(r("div", { + y = document.getElementById("wmd-input"), x = document.querySelector("#wmd-input > .editor-margin"), x.appendChild(C); + var l = e(r("div", { "class": "comments-popover" })); - e(document.body).append(f).on("click", function(e) { - C && C.$commentElt[0] !== e.target && d() + e(document.body).append(l).on("click", function(e) { + _ && _.$commentElt[0] !== e.target && d() }).popover({ placement: "auto top", container: ".comments-popover", html: !0, title: function() { - if(!C) return !0; - var e = C.getDiscussion(), + if(!_) return !0; + var e = _.getDiscussion(), n = e.selectionEnd - e.selectionStart, i = v.getValue().substr(e.selectionStart, n > 20 ? 20 : n); return n > 20 && (i += "..."), t.template(g, { @@ -22380,8 +22382,8 @@ function(e, t) { selector: "#wmd-input > .editor-margin > .discussion" }), e(x).on("show.bs.popover", function(e) { h.onEditorPopover(); - var t = new c(e.target, k); - C = t; + var t = new c(e.target, T); + _ = t; var n = t.getDiscussion(); if(!n) { var i = Math.min(b.selectionStart, b.selectionEnd), @@ -22394,13 +22396,11 @@ function(e, t) { selectionStart: i, selectionEnd: r, commentList: [] - }, k.newDiscussion = n; - var a = b.getCoordinates(i); - l(S, a.y, !0) + }, T.newDiscussion = n } t.selectionRange = b.createRange(n.selectionStart, n.selectionEnd), y.scrollTop += parseInt(e.target.style.top) - y.scrollTop - 3 * y.offsetHeight / 4 }).on("shown.bs.popover", function(r) { - var s = C, + var s = _, l = s.getPopoverElt(); s.$authorInputElt = e(l.querySelector(".input-comment-author")).val(i["author.name"]), s.$contentInputElt = e(l.querySelector(".input-comment-content")), s.hr = l.querySelector("hr"), u(s.commentElt), l.querySelector(".scrollport").scrollTop = 9999999; var c = e(l.querySelector(".action-add-comment")); @@ -22431,31 +22431,32 @@ function(e, t) { var e = s.getDiscussion(); delete s.fileDesc.discussionList[e.discussionIndex], s.fileDesc.discussionList = s.fileDesc.discussionList, h.onDiscussionRemoved(s.fileDesc, e), y.focus() }) : p.hide(), s.rangyRange = o.createRange(), s.rangyRange.setStart(s.selectionRange.startContainer, s.selectionRange.startOffset), s.rangyRange.setEnd(s.selectionRange.endContainer, s.selectionRange.endOffset), setTimeout(function() { - C === s && _.applyToRange(s.rangyRange) + _ === s && k.applyToRange(s.rangyRange) }, 50), s.$contentInputElt.focus().val(a) }).on("hide.bs.popover", function() { - if(C) { - C.$commentElt.removeClass("active"), a = C.$contentInputElt.val(), i["author.name"] = C.$authorInputElt.val(); + if(_) { + _.$commentElt.removeClass("active"), a = _.$contentInputElt.val(), i["author.name"] = _.$authorInputElt.val(); try { - _.undoToRange(C.rangyRange), C.rangyRange.detach() + k.undoToRange(_.rangyRange), _.rangyRange.detach() } catch(e) {} - C = void 0, delete k.newDiscussion + _ = void 0, delete T.newDiscussion } - }), f.on("click", ".popover", function(e) { + }), l.on("click", ".popover", function(e) { e.stopPropagation() }); - var m = e(S); - E = e(".button-open-discussion").click(function(n) { - var i = m; - if(C) - if(C.discussionIndex) { + var f = e(C); + I = e(".button-open-discussion").click(function(n) { + var i = f; + if(_) + if(_.discussionIndex) { var r = -1; - N.some(function(e, t) { - return e === C.commentElt ? (r = t, !0) : void 0 - }), i = e(N[r + 1]) - } else i = e(t.first(N)); - 0 === i.length ? (d(), v.focus(), v.adjustCursorPosition()) : i.click(), n.stopPropagation() - }), I = E.find("i") + L.some(function(e, t) { + return e === _.commentElt ? (r = t, !0) : void 0 + }), i = e(L[r + 1]) + } else i = e(t.first(L)); + else b.selectionStart === b.selectionEnd && L.length && (i = e(t.first(L))); + 0 === i.length ? (d(), v.focus(), v.adjustCursorPosition(!0)) : i.click(), n.stopPropagation() + }), N = I.find("i") }, f }), define("text!html/findReplace.html", [], function() { return '\n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n 0 found\n
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n' @@ -22491,7 +22492,7 @@ function(e, t) { if(F) { var n = k.val(), i = I.prop("checked"), - r = D.prop("checked"); + r = N.prop("checked"); if(e || n != A || i != R || r != P) { A = n, R = i, P = r, c(); var o, s = {}; @@ -22500,7 +22501,7 @@ function(e, t) { u = n.length; if(u) try { var d = i ? "g" : "gi"; - if(n = r ? n : n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), N = new RegExp(n, d), b.getValue().replace(N, function(e, t) { + if(n = r ? n : n.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&"), D = new RegExp(n, d), b.getValue().replace(D, function(e, t) { M.push({ start: t, end: t + e.length @@ -22559,7 +22560,7 @@ function(e, t) { function g() { var e = T.val(); - b.replaceAll(N, e) + b.replaceAll(D, e) } var v = new r("findReplace", "Find and Replace", !0, !0); v.settingsBlock = l, v.defaultConfig = { @@ -22577,7 +22578,7 @@ function(e, t) { v.onEventMgrCreated = function(e) { y = e }; - var x, w, S, C, _, k, T, E, I, D, N, L = [], + var x, w, S, C, _, k, T, E, I, N, D, L = [], M = [], A = "", R = !1, @@ -22596,7 +22597,7 @@ function(e, t) { }); _ = e(i).hide(), i.innerHTML = s, document.querySelector(".layout-wrapper-l2").appendChild(i), e(".button-find-replace-dismiss").click(function() { h() - }), E = i.querySelector(".found-counter"), I = _.find(".checkbox-case-sensitive").change(t.bind(d, null, !1)), D = _.find(".checkbox-regexp").change(t.bind(d, null, !1)), _.find(".search-button").click(f), k = e("#input-find-replace-search-for").keyup(t.bind(d, null, !1)), _.find(".replace-button").click(m), T = e("#input-find-replace-replace-with"), _.find(".replace-all-button").click(g), e().add(k).add(T).keydown(function(e) { + }), E = i.querySelector(".found-counter"), I = _.find(".checkbox-case-sensitive").change(t.bind(d, null, !1)), N = _.find(".checkbox-regexp").change(t.bind(d, null, !1)), _.find(".search-button").click(f), k = e("#input-find-replace-search-for").keyup(t.bind(d, null, !1)), _.find(".replace-button").click(m), T = e("#input-find-replace-replace-with"), _.find(".replace-all-button").click(g), e().add(k).add(T).keydown(function(e) { 13 === e.which && (e.preventDefault(), f()) }), o.bind(v.config.findReplaceShortcut, function(e) { var t = b.selectionMgr.getSelectedText(); @@ -22619,8 +22620,8 @@ function(e, t) { function l(e, t) { function n(e, n, r, o) { - if(n = n && n.toLowerCase(), D[n]) - for(; s.last() && N[s.last()];) i("", s.last()); + if(n = n && n.toLowerCase(), N[n]) + for(; s.last() && D[s.last()];) i("", s.last()); I[n] && s.last() == n && i("", n), o = k[n] || !! o, o || s.push(n); var a = {}; r.replace(b, function(e, t, n, i, r) { @@ -22721,11 +22722,11 @@ function(e, t) { T = s("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"), E = s("rp,rt"), I = t.extend({}, E, T), - D = t.extend({}, T, s("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")), - N = t.extend({}, E, s("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")), + N = t.extend({}, T, s("address,article,aside,blockquote,caption,center,del,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,map,menu,nav,ol,pre,script,section,table,ul")), + D = t.extend({}, E, s("a,abbr,acronym,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,q,ruby,rp,rt,s,samp,small,span,strike,strong,sub,sup,time,tt,u,var")), L = s("script,style"); - D.iframe = !0; - var M = t.extend({}, k, D, N, I), + N.iframe = !0; + var M = t.extend({}, k, N, D, I), A = s("background,cite,href,longdesc,src,usemap"), R = t.extend({}, A, s("abbr,align,alt,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,coords,dir,face,headers,height,hreflang,hspace,ismap,lang,language,nohref,nowrap,rel,rev,rows,rowspan,rules,scope,scrolling,shape,size,span,start,summary,target,title,type,valign,value,vspace,width")); R.id = !0, R.allowfullscreen = !0; @@ -24506,7 +24507,9 @@ function(e) { }, a.pre = { pattern: /(^|(?:^|(?:^|\n)(?![ \t]*([*+\-]|\d+\.)[ \t]).*\n)\s*?\n)(\s*(?: {4}|\t).*(?:\n|$))+/g, lookbehind: !0, - inside: {} + inside: { + lf: o + } }, a.table = { pattern: new RegExp(["^", "[ ]{0,3}", "[|]", "(.+)\\n", "[ ]{0,3}", "[|]([ ]*[-:]+[-| :]*)\\n", "(", "(?:[ ]*[|].*\\n?)*", ")", "(?:\\n|$)"].join(""), "gm"), inside: { @@ -24727,7 +24730,7 @@ function(e) { this.isWatching = !1; var e; this.startWatching = function() { - this.isWatching = !0, e = e || new MutationObserver(S), e.observe(N, { + this.isWatching = !0, e = e || new MutationObserver(S), e.observe(D, { childList: !0, subtree: !0, characterData: !0 @@ -24746,7 +24749,7 @@ function(e) { this.selectionStart = 0, this.selectionEnd = 0, this.cursorY = 0, this.adjustTop = 0, this.adjustBottom = 0, this.findOffsets = function(e) { var t = []; if(!e.length) return t; - for(var n = e.shift(), i = document.createTreeWalker(N, 4, null, !1), r = "", o = 0; i.nextNode();) { + for(var n = e.shift(), i = document.createTreeWalker(D, 4, null, !1), r = "", o = 0; i.nextNode();) { r = i.currentNode.nodeValue || ""; for(var a = o + r.length; a > n;) { if(t.push({ @@ -24775,7 +24778,7 @@ function(e) { return n && n != e && (l = t.isObject(n) ? n : a[r]), o.setEnd(l.container, l.offsetInContainer), o }; var s, l = n.debounce(function() { - D.toggleClass("has-selection", this.selectionStart !== this.selectionEnd); + N.toggleClass("has-selection", this.selectionStart !== this.selectionEnd); var e = this.getCoordinates(this.selectionEnd, this.selectionEndContainer, this.selectionEndOffset); if(this.cursorY !== e.y && (this.cursorY = e.y, r.onCursorCoordinates(e.x, e.y)), s) { var t, n; @@ -24810,7 +24813,7 @@ function(e) { if(r.rangeCount > 0) { var o = r.getRangeAt(0), a = o.startContainer; - if(16 & N.compareDocumentPosition(a)) { + if(16 & D.compareDocumentPosition(a)) { t = o; var s = a, l = t.startOffset; @@ -24827,10 +24830,10 @@ function(e) { } var i = !1, r = n.debounce(function() { - t(), o == e.selectionStart && a == e.selectionEnd && (i = !1), e.updateCursorCoordinates(i), i = !1 + t(), o === e.selectionStart && a === e.selectionEnd && (i = !1), e.updateCursorCoordinates(i), i = !1 }); - return function(e, n) { - return e ? (i = i || n, r()) : void t() + return function(e, n, s) { + return s && (o = void 0, a = void 0), e ? (i = i || n, r()) : void t() } }(), this.getSelectedText = function() { var e = Math.min(this.selectionStart, this.selectionEnd), @@ -24877,8 +24880,8 @@ function(e) { } } - function p() { - void 0 !== I && V.saveSelectionState(!0, !0) + function p(e) { + void 0 !== I && V.saveSelectionState(!0, !0, e) } function h(e) { @@ -24985,7 +24988,7 @@ function(e) { selectionEndAfter: q.selectionEnd, content: e, discussionListJSON: q.discussionListJSON - }, this.currentMode = void 0, o = void 0, N.textContent = e, S() + }, this.currentMode = void 0, o = void 0, D.textContent = e, S() } } @@ -24995,9 +24998,9 @@ function(e) { function S() { var e = I.textContent; - if(N.lastChild === F && "\n" == F.textContent.slice(-1) && (e = e.slice(0, -1)), e = e.replace(/\r\n?/g, "\n"), G === !1) { - if(e == W) return void(0 === N.children.length && (N.innerHTML = "", K.forEach(function(e) { - N.appendChild(e.elt) + if(D.lastChild === F && "\n" == F.textContent.slice(-1) && (e = e.slice(0, -1)), e = e.replace(/\r\n?/g, "\n"), G === !1) { + if(e == W) return void(0 === D.children.length && (D.innerHTML = "", K.forEach(function(e) { + D.appendChild(e.elt) }), T())); X.currentMode = X.currentMode || "typing"; var n = t.values(q.discussionList); @@ -25029,12 +25032,12 @@ function(e) { var n = K.length; t.some(K, function(t, i) { var r = e[i]; - return i >= e.length || t.textWithFrontMatter != r.textWithFrontMatter || t.elt.parentNode !== N || t.elt.textContent != r.textWithFrontMatter ? (n = i, !0) : void 0 + return i >= e.length || t.textWithFrontMatter != r.textWithFrontMatter || t.elt.parentNode !== D || t.elt.textContent != r.textWithFrontMatter ? (n = i, !0) : void 0 }); var i = -K.length; t.some(K.slice().reverse(), function(t, n) { var r = e[e.length - n - 1]; - return n >= e.length || t.textWithFrontMatter != r.textWithFrontMatter || t.elt.parentNode !== N || t.elt.textContent != r.textWithFrontMatter ? (i = -n, !0) : void 0 + return n >= e.length || t.textWithFrontMatter != r.textWithFrontMatter || t.elt.parentNode !== D || t.elt.textContent != r.textWithFrontMatter ? (i = -n, !0) : void 0 }), n - i > K.length && (i = n - K.length); var r = K.slice(0, n); Z = e.slice(n, e.length + i); @@ -25047,14 +25050,14 @@ function(e) { Z.forEach(function(t) { E(t), e.appendChild(t.elt) }), H.noWatch(function() { - if(G === !0) N.innerHTML = "", N.appendChild(e); + if(G === !0) D.innerHTML = "", D.appendChild(e); else { J.forEach(function(e) { - e.elt.parentNode === N && N.removeChild(e.elt) - }), void 0 !== Y ? N.insertBefore(e, Y.elt) : N.appendChild(e); - for(var t = N.firstChild; t;) { + e.elt.parentNode === D && D.removeChild(e.elt) + }), void 0 !== Y ? D.insertBefore(e, Y.elt) : D.appendChild(e); + for(var t = D.firstChild; t;) { var n = t.nextSibling; - t.generated || N.removeChild(t), t = n + t.generated || D.removeChild(t), t = n } } T(), V.updateSelectionRange(), V.updateCursorCoordinates() @@ -25064,7 +25067,7 @@ function(e) { function T() { F = l("span", { "class": "token lf" - }), F.textContent = "\n", N.appendChild(F) + }), F.textContent = "\n", D.appendChild(F) } function E(e) { @@ -25078,7 +25081,7 @@ function(e) { }); i.generated = !0, i.innerHTML = t, e.elt = i } - var I, D, N, L, M, A, R, P, F, O = {}, B = 0, + var I, N, D, L, M, A, R, P, F, O = {}, B = 0, j = function() { var e, n = 0, r = function() { @@ -25125,7 +25128,7 @@ function(e) { V.hasFocus && !$ && V.selectionStart === V.selectionEnd && e.modify && (V.selectionStart ? (e.modify("move", "backward", "character"), e.modify("move", "forward", "character")) : (e.modify("move", "forward", "character"), e.modify("move", "backward", "character"))) }, 10); O.adjustCommentOffsets = C, O.init = function() { - if(I = document.getElementById("wmd-input"), D = e(I), N = I.querySelector(".editor-content"), L = e(N), M = I.querySelector(".editor-margin"), A = e(M), R = document.querySelector(".preview-container"), D.addClass(i.editorFontClass), H.startWatching(), e(I).scroll(function() { + if(I = document.getElementById("wmd-input"), N = e(I), D = I.querySelector(".editor-content"), L = e(D), M = I.querySelector(".editor-margin"), A = e(M), R = document.querySelector(".preview-container"), N.addClass(i.editorFontClass), H.startWatching(), e(I).scroll(function() { B = I.scrollTop, G === !1 && (q.editorScrollTop = B) }), e(R).scroll(function() { G === !1 && (q.previewScrollTop = R.scrollTop) @@ -25767,9 +25770,9 @@ function(e, t) { } x.isOpen = !1, x.$elt.trigger("hide.layout.toggle").trigger("hidden.layout.toggle") } - T.$elt.toggleClass("open", x.isOpen), E.$elt.toggleClass("open", _.isOpen), I.$elt.toggleClass("open", _.isOpen), C.applyCss(), _.applyCss(), k.applyCss(), E.applyCss(), I.applyCss(), T.applyCss(), D.adjustPosition(), f() + T.$elt.toggleClass("open", x.isOpen), E.$elt.toggleClass("open", _.isOpen), I.$elt.toggleClass("open", _.isOpen), C.applyCss(), _.applyCss(), k.applyCss(), E.applyCss(), I.applyCss(), T.applyCss(), N.adjustPosition(), f() } - var g, v, b, y, x, w, S, C, _, k, T, E, I, D, N, L = {}, M = 32, + var g, v, b, y, x, w, S, C, _, k, T, E, I, N, D, L = {}, M = 32, A = 60, R = 50, P = { @@ -25793,7 +25796,7 @@ function(e, t) { this.elt.style.width = this.width + "px" }, this)) : void 0 !== this.width && (this.elt.style.width = this.width + "px"), this.oldWidth = this.width, H && this.height < this.oldHeight ? U.push(t.bind(function() { this.elt.style.height = this.height + "px" - }, this)) : void 0 !== this.height && (this.elt.style.height = this.height + "px"), this.oldHeight = this.height, clearTimeout(N), H && (N = setTimeout(p, 800)) + }, this)) : void 0 !== this.height && (this.elt.style.height = this.height + "px"), this.oldHeight = this.height, clearTimeout(D), H && (D = setTimeout(p, 800)) }, d.prototype.createToggler = function(i) { var r, o = 0; this.toggle = function(a) { @@ -25846,7 +25849,7 @@ function(e, t) { } if(function(e) { e.position = "absolute", e.top = 0, e.left = 0, e.bottom = 0, e.right = 0, e.overflow = "hidden" - }(document.body.style), document.documentElement.style.overflow = "hidden", v = new d(".layout-wrapper-l1"), b = new d(".layout-wrapper-l2"), y = new d(".layout-wrapper-l3"), x = new d(".navbar"), w = new d(".menu-panel"), S = new d(".document-panel"), C = new d("#wmd-input"), _ = new d(".preview-panel"), k = new d(".preview-container"), T = new d(".layout-toggler-navbar"), E = new d(".layout-toggler-preview"), I = new d(".layout-resizer-preview"), D = new d(".extension-preview-buttons"), z = C.elt.querySelector(".editor-content"), V = document.getElementById("preview-contents"), W = C.elt.querySelector(".editor-margin"), X = x.elt.querySelector(".navbar-inner"), Q = x.elt.querySelector(".buttons-dropdown .dropdown-menu"), Y = x.$elt.find(".buttons-dropdown"), K = x.elt.querySelector(".title-container"), J = x.$elt.find(".file-title-navbar, .input-file-title"), t.each(x.elt.querySelectorAll(".right-buttons"), function(e) { + }(document.body.style), document.documentElement.style.overflow = "hidden", v = new d(".layout-wrapper-l1"), b = new d(".layout-wrapper-l2"), y = new d(".layout-wrapper-l3"), x = new d(".navbar"), w = new d(".menu-panel"), S = new d(".document-panel"), C = new d("#wmd-input"), _ = new d(".preview-panel"), k = new d(".preview-container"), T = new d(".layout-toggler-navbar"), E = new d(".layout-toggler-preview"), I = new d(".layout-resizer-preview"), N = new d(".extension-preview-buttons"), z = C.elt.querySelector(".editor-content"), V = document.getElementById("preview-contents"), W = C.elt.querySelector(".editor-margin"), X = x.elt.querySelector(".navbar-inner"), Q = x.elt.querySelector(".buttons-dropdown .dropdown-menu"), Y = x.$elt.find(".buttons-dropdown"), K = x.elt.querySelector(".title-container"), J = x.$elt.find(".file-title-navbar, .input-file-title"), t.each(x.elt.querySelectorAll(".right-buttons"), function(e) { tt.push({ elt: e, width: nt.shift() @@ -25878,23 +25881,23 @@ function(e, t) { at ? _.height = i.height - e.gesture.deltaY : _.width = i.width - e.gesture.deltaX, e.gesture.preventDefault(), _.halfSize = !1, m() }) } - D.initHammer(!0), D.adjustPosition = function() { - if(D.isDragged) { - var e = -g.width + D.elt.offsetWidth, - t = -g.height + D.elt.offsetHeight; + N.initHammer(!0), N.adjustPosition = function() { + if(N.isDragged) { + var e = -g.width + N.elt.offsetWidth, + t = -g.height + N.elt.offsetHeight; this.x < e && (this.x = e), this.y < t && (this.y = t), this.x > 0 && (this.x = 0), this.y > 0 && (this.y = 0), this.applyCss() } }; var o; - D.hammer.on("dragstart", function() { - D.isDragged = !0, D.$elt.removeClass("animate"), b.$elt.addClass("dragging"), o = { - x: D.x, - y: D.y + N.hammer.on("dragstart", function() { + N.isDragged = !0, N.$elt.removeClass("animate"), b.$elt.addClass("dragging"), o = { + x: N.x, + y: N.y } }).on("drag", function(e) { - D.x = o.x + e.gesture.deltaX, D.y = o.y + e.gesture.deltaY, D.adjustPosition(), e.gesture.preventDefault() + N.x = o.x + e.gesture.deltaX, N.y = o.y + e.gesture.deltaY, N.adjustPosition(), e.gesture.preventDefault() }).on("dragend", function() { - b.$elt.removeClass("dragging"), D.$elt.find(".btn-group").toggleClass("dropup", g.height / 2 > -D.y) + b.$elt.removeClass("dragging"), N.$elt.find(".btn-group").toggleClass("dropup", g.height / 2 > -N.y) }); var l = !1; e(".modal").on("show.bs.modal", function() { @@ -25914,40 +25917,40 @@ function(e, t) { u.innerHTML = c, document.head.appendChild(u), m() }, o.addListener("onReady", function() { function n() { - clearTimeout(r), D.isDragged || (D.isOpen = !0, D.x = G.x, D.applyCss(), D.$elt.removeClass("closed")) + clearTimeout(r), N.isDragged || (N.isOpen = !0, N.x = G.x, N.applyCss(), N.$elt.removeClass("closed")) } function i() { clearTimeout(r), r = setTimeout(function() { - D.isDragged || o || (D.isOpen = !1, D.x = G.x + D.elt.offsetWidth + $, D.applyCss(), D.$elt.addClass("closed")) + N.isDragged || o || (N.isOpen = !1, N.x = G.x + N.elt.offsetWidth + $, N.applyCss(), N.$elt.addClass("closed")) }, 3e3) } - D.x = G.x, D.y = G.y, D.applyCss(), setTimeout(function() { - D.$elt.addClass("animate") + N.x = G.x, N.y = G.y, N.applyCss(), setTimeout(function() { + N.$elt.addClass("animate") }, 0); var r, o = !1; - n(), i(), D.$elt.hover(n, i).on("show.bs.dropdown", function() { + n(), i(), N.$elt.hover(n, i).on("show.bs.dropdown", function() { o = !0 }).on("hidden.bs.dropdown", function() { o = !1, i() - }), t.each(D.elt.querySelectorAll(".btn-group"), function(t) { + }), t.each(N.elt.querySelectorAll(".btn-group"), function(t) { var n = e(t); n.on("shown.bs.dropdown", function() { n.find(".dropdown-menu").css({ - right: -D.elt.offsetWidth + n.width() + n.position().left + right: -N.elt.offsetWidth + n.width() + n.position().left }); - var e = -D.y - q; - g.height / 2 > -D.y && (e = g.height + D.y - D.elt.offsetHeight - q), n.find(".markdown-syntax, .table-of-contents").css({ + var e = -N.y - q; + g.height / 2 > -N.y && (e = g.height + N.y - N.elt.offsetHeight - q), n.find(".markdown-syntax, .table-of-contents").css({ maxHeight: e }) }).addClass("dropup") }) }), o.addListener("onExtensionButtonResize", function() { - D.isDragged ? D.adjustPosition() : D.isOpen || (D.$elt.removeClass("animate"), D.x = G.x + D.elt.offsetWidth + $, D.applyCss(), setTimeout(function() { - D.$elt.addClass("animate") + N.isDragged ? N.adjustPosition() : N.isOpen || (N.$elt.removeClass("animate"), N.x = G.x + N.elt.offsetWidth + $, N.applyCss(), setTimeout(function() { + N.$elt.addClass("animate") }, 0)) }), o.onLayoutCreated(L), L -}), define("text!html/bodyIndex.html", [], function() { +}), define("text!html/bodyEditor.html", [], function() { return '
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n \n\n\n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n
    \n' }), define("text!html/bodyViewer.html", [], function() { return '
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n \n\n\n
    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n\n' @@ -26494,22 +26497,22 @@ function() { }, y.doHorizontalRule = function(e) { e.startTag = "----------\n", e.selection = "", e.skipLines(2, 1, !0) } -}(), define("pagedown", function() {}), define("core", ["jquery", "underscore", "crel", "editor", "layout", "constants", "utils", "storage", "settings", "eventMgr", "monetizejs", "text!html/bodyIndex.html", "text!html/bodyViewer.html", "text!html/tooltipSettingsTemplate.html", "text!html/tooltipSettingsPdfOptions.html", "storage", "pagedown"], function(e, t, n, i, r, o, a, s, l, c, u, d, p, h, f) { +}(), define("pagedown", function() {}), define("core", ["jquery", "underscore", "crel", "editor", "layout", "constants", "utils", "storage", "settings", "eventMgr", "monetizejs", "text!html/bodyEditor.html", "text!html/bodyViewer.html", "text!html/tooltipSettingsTemplate.html", "text!html/tooltipSettingsPdfOptions.html", "storage", "pagedown"], function(e, t, n, i, r, o, a, s, l, c, u, d, p, h, f) { function m() { - I = !0, D = !0; + I = !0, N = !0; var e = a.currentTime; e > L + 1e3 && (L = e, c.onUserActive()) } function g() { - return a.currentTime - L > o.USER_IDLE_THRESHOLD && (D = !1), D && N + return a.currentTime - L > o.USER_IDLE_THRESHOLD && (N = !1), N && D } function v() { - if(I !== !1 && N !== !1) { + if(I !== !1 && D !== !1) { void 0 === T && (T = a.randomString(), s.frontWindowId = T); var t = s.frontWindowId; - t != T && (N = !1, void 0 !== k && clearInterval(k), e(".modal").modal("hide"), e(".modal-non-unique").modal("show"), window.close()) + t != T && (D = !1, void 0 !== k && clearInterval(k), e(".modal").modal("hide"), e(".modal-non-unique").modal("show"), window.close()) } } @@ -26555,8 +26558,8 @@ function() { }) } var k, T, E = {}, I = !1, - D = !1, - N = !0, + N = !1, + D = !0, L = 0, M = !1, A = a.currentTime; @@ -26687,7 +26690,7 @@ function() { $() }), E }), define("text!WELCOME.md", [], function() { - return 'Welcome to StackEdit!\n===================\n\n\nHello, I\'m your first Markdown document in **StackEdit**[^stackedit]. Don\'t delete me, I can be helpful. I can be recovered anyway in the **Utils** tab of the **Settings** dialog.\n\n----------\n\n\nDocuments\n-------------\n\n**StackEdit** stores your documents in your browser, which means all your documents are automatically saved locally and are accessible **offline!**\n\n> **Note:**\n\n> - StackEdit is accessible offline after the application has been loaded for the first time.\n> - Your local documents are not shared between different browsers or computers.\n> - Clearing your browser\'s data may **delete all your local documents!** Make sure your documents are synchronized with your **Google Drive** or your **Dropbox** account (check out the [ Synchronization](#synchronization) section).\n\n#### Create a document\n\nThe document panel is accessible using button in the navigation bar. You can create a new document by clicking **New document** in the document panel.\n\n#### Switch to another document\n\nAll your local documents are listed in the document panel. You can switch from one to another by clicking a document in the list or you can toggle documents using Ctrl+[ and Ctrl+].\n\n#### Rename a document\n\nYou can rename the current document by clicking the document title in the navigation bar.\n\n#### Delete a document\n\nYou can delete the current document by clicking **Delete document** in the document panel.\n\n#### Export a document\n\nYou can save the current document to a file by clicking **Export to disk** from the menu panel.\n\n> **Tip:** Check out the [ Publish a document](#publish-a-document) section for a description of the different output formats.\n\n\n----------\n\n\nSynchronization\n-------------------\n\n**StackEdit** can be combined with **Google Drive** and **Dropbox** to have your documents centralized in the *Cloud*. The synchronization mechanism will take care of uploading your modifications or downloading the latest version of your documents.\n\n> **Note:**\n\n> - Full access to **Google Drive** or **Dropbox** is required to be able to import any document in StackEdit. Permission restrictions can be configured in the settings.\n> - Imported documents are downloaded in your browser and are not transmitted to a server.\n> - If you experience problems saving your documents on Google Drive, check and optionally disable browser extensions, such as Disconnect.\n\n#### Open a document\n\nYou can open a document from **Google Drive** or the **Dropbox** by opening the **Synchronize** sub-menu and by clicking **Open from...**. Once opened, any modification in your document will be automatically synchronized with the file in your **Google Drive** / **Dropbox** account.\n\n#### Save a document\n\nYou can save any document by opening the **Synchronize** sub-menu and by clicking **Save on...**. Even if your document is already synchronized with **Google Drive** or **Dropbox**, you can export it to a another location. **StackEdit** can synchronize one document with multiple locations and accounts.\n\n#### Synchronize a document\n\nOnce your document is linked to a **Google Drive** or a **Dropbox** file, **StackEdit** will periodically (every 3 minutes) synchronize it by downloading/uploading any modification. A merge will be performed if necessary and conflicts will be detected.\n\nIf you just have modified your document and you want to force the synchronization, click the button in the navigation bar.\n\n> **Note:** The button is disabled when you have no document to synchronize.\n\n#### Manage document synchronization\n\nSince one document can be synchronized with multiple locations, you can list and manage synchronized locations by clicking **Manage synchronization** in the **Synchronize** sub-menu. This will let you remove synchronization locations that are associated to your document.\n\n> **Note:** If you delete the file from **Google Drive** or from **Dropbox**, the document will no longer be synchronized with that location.\n\n----------\n\n\nPublication\n-------------\n\nOnce you are happy with your document, you can publish it on different websites directly from **StackEdit**. As for now, **StackEdit** can publish on **Blogger**, **Dropbox**, **Gist**, **GitHub**, **Google Drive**, **Tumblr**, **WordPress** and on any SSH server.\n\n#### Publish a document\n\nYou can publish your document by opening the **Publish** sub-menu and by choosing a website. In the dialog box, you can choose the publication format:\n\n- Markdown, to publish the Markdown text on a website that can interpret it (**GitHub** for instance),\n- HTML, to publish the document converted into HTML (on a blog for example),\n- Template, to have a full control of the output.\n\n> **Note:** The default template is a simple webpage wrapping your document in HTML format. You can customize it in the **Advanced** tab of the **Settings** dialog.\n\n#### Update a publication\n\nAfter publishing, **StackEdit** will keep your document linked to that publication which makes it easy for you to update it. Once you have modified your document and you want to update your publication, click on the button in the navigation bar.\n\n> **Note:** The button is disabled when your document has not been published yet.\n\n#### Manage document publication\n\nSince one document can be published on multiple locations, you can list and manage publish locations by clicking **Manage publication** in the menu panel. This will let you remove publication locations that are associated to your document.\n\n> **Note:** If the file has been removed from the website or the blog, the document will no longer be published on that location.\n\n----------\n\n\nMarkdown Extra\n--------------------\n\n**StackEdit** supports **Markdown Extra**, which extends **Markdown** syntax with some nice features.\n\n> **Tip:** You can disable any **Markdown Extra** feature in the **Extensions** tab of the **Settings** dialog.\n\n> **Note:** You can find more information about **Markdown** syntax [here][2] and **Markdown Extra** extension [here][3].\n\n\n### Tables\n\n**Markdown Extra** has a special syntax for tables:\n\nItem | Value\n-------- | ---\nComputer | $1600\nPhone | $12\nPipe | $1\n\nYou can specify column alignment with one or two colons:\n\n| Item | Value | Qty |\n| :------- | ----: | :---: |\n| Computer | $1600 | 5 |\n| Phone | $12 | 12 |\n| Pipe | $1 | 234 |\n\n\n### Definition Lists\n\n**Markdown Extra** has a special syntax for definition lists too:\n\nTerm 1\nTerm 2\n: Definition A\n: Definition B\n\nTerm 3\n\n: Definition C\n\n: Definition D\n\n > part of definition D\n\n\n### Fenced code blocks\n\nGitHub\'s fenced code blocks[^gfm] are also supported with **Prettify** syntax highlighting:\n\n```\n// Foo\nvar bar = 0;\n```\n\n> **Tip:** To use **Highlight.js** instead of **Prettify**, just configure the **Markdown Extra** extension in the **Settings** dialog.\n\n> **Note:** You can find more information:\n\n> - about **Prettify** syntax highlighting [here][5],\n> - about **Highlight.js** syntax highlighting [here][6].\n\n\n### Footnotes\n\nYou can create footnotes like this[^footnote].\n\n [^footnote]: Here is the *text* of the **footnote**.\n\n\n### SmartyPants\n\nSmartyPants converts ASCII punctuation characters into "smart" typographic punctuation HTML entities. For example:\n\n| | ASCII | HTML |\n ----------------- | ---------------------------- | ------------------\n| Single backticks | `\'Isn\'t this fun?\'` | \'Isn\'t this fun?\' |\n| Quotes | `"Isn\'t this fun?"` | "Isn\'t this fun?" |\n| Dashes | `-- is en-dash, --- is em-dash` | -- is en-dash, --- is em-dash |\n\n\n### Table of contents\n\nYou can insert a table of contents using the marker `[TOC]`:\n\n[TOC]\n\n\n### MathJax\n\nYou can render *LaTeX* mathematical expressions using **MathJax**, as on [math.stackexchange.com][1]:\n\nThe *Gamma function* satisfying $\\Gamma(n) = (n-1)!\\quad\\forall n\\in\\mathbb N$ is via the Euler integral\n\n$$\n\\Gamma(z) = \\int_0^\\infty t^{z-1}e^{-t}dt\\,.\n$$\n\n> **Tip:** Make sure you include **MathJax** into your publications to render mathematical expression properly. Your page/template should include something like this:\n\n```\n\n```\n\n> **Note:** You can find more information about **LaTeX** mathematical expressions [here][4].\n\n\n### UML diagrams\n\nYou can also render sequence diagrams like this:\n\n```sequence\nAlice->Bob: Hello Bob, how are you?\nNote right of Bob: Bob thinks\nBob-->Alice: I am good thanks!\n```\n\nAnd flow charts like this:\n\n```flow\nst=>start: Start\ne=>end\nop=>operation: My Operation\ncond=>condition: Yes or No?\n\nst->op->cond\ncond(yes)->e\ncond(no)->op\n```\n\n> **Note:** You can find more information:\n\n> - about **Sequence diagrams** syntax [here][7],\n> - about **Flow charts** syntax [here][8].\n\n [^stackedit]: [StackEdit](https://stackedit.io/) is a full-featured, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.\n\n [^gfm]: **GitHub Flavored Markdown** (GFM) is supported in StackEdit.\n\n\n [1]: http://math.stackexchange.com/\n [2]: http://daringfireball.net/projects/markdown/syntax "Markdown"\n [3]: https://github.com/jmcmanus/pagedown-extra "Pagedown Extra"\n [4]: http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference\n [5]: https://code.google.com/p/google-code-prettify/\n [6]: http://highlightjs.org/\n [7]: http://bramp.github.io/js-sequence-diagrams/\n [8]: http://adrai.github.io/flowchart.js/\n' + return 'Welcome to StackEdit!\n===================\n\n\nHey! I\'m your first Markdown document in **StackEdit**[^stackedit]. Don\'t delete me, I\'m very helpful! I can be recovered anyway in the **Utils** tab of the **Settings** dialog.\n\n----------\n\n\nDocuments\n-------------\n\nStackEdit stores your documents in your browser, which means all your documents are automatically saved locally and are accessible **offline!**\n\n> **Note:**\n\n> - StackEdit is accessible offline after the application has been loaded for the first time.\n> - Your local documents are not shared between different browsers or computers.\n> - Clearing your browser\'s data may **delete all your local documents!** Make sure your documents are synchronized with **Google Drive** or **Dropbox** (check out the [ Synchronization](#synchronization) section).\n\n#### Create a document\n\nThe document panel is accessible using the button in the navigation bar. You can create a new document by clicking **New document** in the document panel.\n\n#### Switch to another document\n\nAll your local documents are listed in the document panel. You can switch from one to another by clicking a document in the list or you can toggle documents using Ctrl+[ and Ctrl+].\n\n#### Rename a document\n\nYou can rename the current document by clicking the document title in the navigation bar.\n\n#### Delete a document\n\nYou can delete the current document by clicking **Delete document** in the document panel.\n\n#### Export a document\n\nYou can save the current document to a file by clicking **Export to disk** from the menu panel.\n\n> **Tip:** Check out the [ Publish a document](#publish-a-document) section for a description of the different output formats.\n\n\n----------\n\n\nSynchronization\n-------------------\n\nStackEdit can be combined with **Google Drive** and **Dropbox** to have your documents saved in the *Cloud*. The synchronization mechanism takes care of uploading your modifications or downloading the latest version of your documents.\n\n> **Note:**\n\n> - Full access to **Google Drive** or **Dropbox** is required to be able to import any document in StackEdit. Permission restrictions can be configured in the settings.\n> - Imported documents are downloaded in your browser and are not transmitted to a server.\n> - If you experience problems saving your documents on Google Drive, check and optionally disable browser extensions, such as Disconnect.\n\n#### Open a document\n\nYou can open a document from **Google Drive** or the **Dropbox** by opening the **Synchronize** sub-menu and by clicking **Open from...**. Once opened, any modification in your document will be automatically synchronized with the file in your **Google Drive** / **Dropbox** account.\n\n#### Save a document\n\nYou can save any document by opening the **Synchronize** sub-menu and by clicking **Save on...**. Even if your document is already synchronized with **Google Drive** or **Dropbox**, you can export it to a another location. StackEdit can synchronize one document with multiple locations and accounts.\n\n#### Synchronize a document\n\nOnce your document is linked to a **Google Drive** or a **Dropbox** file, StackEdit will periodically (every 3 minutes) synchronize it by downloading/uploading any modification. A merge will be performed if necessary and conflicts will be detected.\n\nIf you just have modified your document and you want to force the synchronization, click the button in the navigation bar.\n\n> **Note:** The button is disabled when you have no document to synchronize.\n\n#### Manage document synchronization\n\nSince one document can be synchronized with multiple locations, you can list and manage synchronized locations by clicking **Manage synchronization** in the **Synchronize** sub-menu. This will let you remove synchronization locations that are associated to your document.\n\n> **Note:** If you delete the file from **Google Drive** or from **Dropbox**, the document will no longer be synchronized with that location.\n\n----------\n\n\nPublication\n-------------\n\nOnce you are happy with your document, you can publish it on different websites directly from StackEdit. As for now, StackEdit can publish on **Blogger**, **Dropbox**, **Gist**, **GitHub**, **Google Drive**, **Tumblr**, **WordPress** and on any SSH server.\n\n#### Publish a document\n\nYou can publish your document by opening the **Publish** sub-menu and by choosing a website. In the dialog box, you can choose the publication format:\n\n- Markdown, to publish the Markdown text on a website that can interpret it (**GitHub** for instance),\n- HTML, to publish the document converted into HTML (on a blog for example),\n- Template, to have a full control of the output.\n\n> **Note:** The default template is a simple webpage wrapping your document in HTML format. You can customize it in the **Advanced** tab of the **Settings** dialog.\n\n#### Update a publication\n\nAfter publishing, StackEdit will keep your document linked to that publication which makes it easy for you to update it. Once you have modified your document and you want to update your publication, click on the button in the navigation bar.\n\n> **Note:** The button is disabled when your document has not been published yet.\n\n#### Manage document publication\n\nSince one document can be published on multiple locations, you can list and manage publish locations by clicking **Manage publication** in the menu panel. This will let you remove publication locations that are associated to your document.\n\n> **Note:** If the file has been removed from the website or the blog, the document will no longer be published on that location.\n\n----------\n\n\nMarkdown Extra\n--------------------\n\nStackEdit supports **Markdown Extra**, which extends **Markdown** syntax with some nice features.\n\n> **Tip:** You can disable any **Markdown Extra** feature in the **Extensions** tab of the **Settings** dialog.\n\n> **Note:** You can find more information about **Markdown** syntax [here][2] and **Markdown Extra** extension [here][3].\n\n\n### Tables\n\n**Markdown Extra** has a special syntax for tables:\n\nItem | Value\n-------- | ---\nComputer | $1600\nPhone | $12\nPipe | $1\n\nYou can specify column alignment with one or two colons:\n\n| Item | Value | Qty |\n| :------- | ----: | :---: |\n| Computer | $1600 | 5 |\n| Phone | $12 | 12 |\n| Pipe | $1 | 234 |\n\n\n### Definition Lists\n\n**Markdown Extra** has a special syntax for definition lists too:\n\nTerm 1\nTerm 2\n: Definition A\n: Definition B\n\nTerm 3\n\n: Definition C\n\n: Definition D\n\n > part of definition D\n\n\n### Fenced code blocks\n\nGitHub\'s fenced code blocks are also supported with **Highlight.js** syntax highlighting:\n\n```\n// Foo\nvar bar = 0;\n```\n\n> **Tip:** To use **Prettify** instead of **Highlight.js**, just configure the **Markdown Extra** extension in the **Settings** dialog.\n\n> **Note:** You can find more information:\n\n> - about **Prettify** syntax highlighting [here][5],\n> - about **Highlight.js** syntax highlighting [here][6].\n\n\n### Footnotes\n\nYou can create footnotes like this[^footnote].\n\n [^footnote]: Here is the *text* of the **footnote**.\n\n\n### SmartyPants\n\nSmartyPants converts ASCII punctuation characters into "smart" typographic punctuation HTML entities. For example:\n\n| | ASCII | HTML |\n ----------------- | ---------------------------- | ------------------\n| Single backticks | `\'Isn\'t this fun?\'` | \'Isn\'t this fun?\' |\n| Quotes | `"Isn\'t this fun?"` | "Isn\'t this fun?" |\n| Dashes | `-- is en-dash, --- is em-dash` | -- is en-dash, --- is em-dash |\n\n\n### Table of contents\n\nYou can insert a table of contents using the marker `[TOC]`:\n\n[TOC]\n\n\n### MathJax\n\nYou can render *LaTeX* mathematical expressions using **MathJax**, as on [math.stackexchange.com][1]:\n\nThe *Gamma function* satisfying $\\Gamma(n) = (n-1)!\\quad\\forall n\\in\\mathbb N$ is via the Euler integral\n\n$$\n\\Gamma(z) = \\int_0^\\infty t^{z-1}e^{-t}dt\\,.\n$$\n\n> **Tip:** Make sure you include **MathJax** into your publications to render mathematical expression properly. Your page/template should include something like this:\n\n```\n\n```\n\n> **Note:** You can find more information about **LaTeX** mathematical expressions [here][4].\n\n\n### UML diagrams\n\nYou can also render sequence diagrams like this:\n\n```sequence\nAlice->Bob: Hello Bob, how are you?\nNote right of Bob: Bob thinks\nBob-->Alice: I am good thanks!\n```\n\nAnd flow charts like this:\n\n```flow\nst=>start: Start\ne=>end\nop=>operation: My Operation\ncond=>condition: Yes or No?\n\nst->op->cond\ncond(yes)->e\ncond(no)->op\n```\n\n> **Note:** You can find more information:\n\n> - about **Sequence diagrams** syntax [here][7],\n> - about **Flow charts** syntax [here][8].\n\n### Support StackEdit\n\n[![](https://cdn.monetizejs.com/resources/button-32.png)](https://monetizejs.com/authorize?client_id=ESTHdCYOi18iLhhO&summary=true)\n\n [^stackedit]: [StackEdit](https://stackedit.io/) is a full-featured, open-source Markdown editor based on PageDown, the Markdown library used by Stack Overflow and the other Stack Exchange sites.\n\n\n [1]: http://math.stackexchange.com/\n [2]: http://daringfireball.net/projects/markdown/syntax "Markdown"\n [3]: https://github.com/jmcmanus/pagedown-extra "Pagedown Extra"\n [4]: http://meta.math.stackexchange.com/questions/5020/mathjax-basic-tutorial-and-quick-reference\n [5]: https://code.google.com/p/google-code-prettify/\n [6]: http://highlightjs.org/\n [7]: http://bramp.github.io/js-sequence-diagrams/\n [8]: http://adrai.github.io/flowchart.js/\n' }), define("fileMgr", ["jquery", "underscore", "constants", "core", "utils", "storage", "settings", "eventMgr", "fileSystem", "classes/FileDescriptor", "text!WELCOME.md"], function(e, t, n, i, r, o, a, s, l, c, u) { var d = {}; return d.currentFile = void 0, d.selectFile = function(r) { @@ -26758,7 +26761,7 @@ function() { }).keyup(function(e) { 13 == e.keyCode && t(), 27 == e.keyCode && (o.val(""), t()) }), e(".action-open-stackedit").click(function() { - window.location.href = "." + window.location.href = "editor" }), e(".action-edit-document").click(function() { var e = i.val(), t = d.currentFile.title, @@ -26854,7 +26857,7 @@ function() { E = m != s && T, I = E && k; a.titleCRC = a.titleCRC || x; - var D, N, L = a.titleCRC != x, + var N, D, L = a.titleCRC != x, M = a.titleCRC != C, A = g != l && M, R = A && L, @@ -26873,12 +26876,12 @@ function() { else { if(I) { var V = a.content; - D = c.diff_main(V, m), c.diff_cleanupSemantic(D), N = c.patch_make(V, D); - var W = c.patch_apply(N, s); + N = c.diff_main(V, m), c.diff_cleanupSemantic(N), D = c.patch_make(V, N); + var W = c.patch_apply(D, s); if($ = W[0], !W[1].every(e.identity)) { - D = c.diff_main(m, $), D = f(D), $ = ""; + N = c.diff_main(m, $), N = f(N), $ = ""; var X; - D.forEach(function(e) { + N.forEach(function(e) { var t = e[0], n = e[1]; 0 === t || X ? 0 === t && X && (X.selectionEnd = $.length, j.push(X), X = void 0) : X = { @@ -26888,7 +26891,7 @@ function() { }), X && (X.selectionEnd = $.length, j.push(X)) } } - E && (P && (H = !0), F ? U = !0 : (H = !0, G = b)), B && (z = !0), R && (N = c.patch_make(a.title, g), q = c.patch_apply(N, l)[0]) + E && (P && (H = !0), F ? U = !0 : (H = !0, G = b)), B && (z = !0), R && (D = c.patch_make(a.title, g), q = c.patch_apply(D, l)[0]) } var Q; if(E) { @@ -26904,7 +26907,7 @@ function() { } if(z) { var J = JSON.parse(a.discussionList); - D = u.diff(J, b), u.patch(p, D), e.each(p, function(e, t) { + N = u.diff(J, b), u.patch(p, N), e.each(p, function(e, t) { e || delete p[t] }) } @@ -29023,15 +29026,15 @@ function() { function f(e) { var t; - return e && 1 == e.nodeType && ((t = e.parentNode) && 9 == t.nodeType && "on" == t.designMode || D(e) && !D(e.parentNode)) + return e && 1 == e.nodeType && ((t = e.parentNode) && 9 == t.nodeType && "on" == t.designMode || N(e) && !N(e.parentNode)) } function m(e) { - return(D(e) || 1 != e.nodeType && D(e.parentNode)) && !f(e) + return(N(e) || 1 != e.nodeType && N(e.parentNode)) && !f(e) } function g(e) { - return e && 1 == e.nodeType && !N.test(k(e, "display")) + return e && 1 == e.nodeType && !D.test(k(e, "display")) } function v(e) { @@ -29136,16 +29139,16 @@ function() { } : "undefined" != typeof document.documentElement.currentStyle ? k = function(e, t) { return e.currentStyle[t] } : t.fail("No means of obtaining computed style properties found"); - var D; + var N; ! function() { var e = document.createElement("div"); - D = "boolean" == typeof e.isContentEditable ? function(e) { + N = "boolean" == typeof e.isContentEditable ? function(e) { return e && 1 == e.nodeType && e.isContentEditable } : function(e) { - return e && 1 == e.nodeType && "false" != e.contentEditable ? "true" == e.contentEditable || D(e.parentNode) : !1 + return e && 1 == e.nodeType && "false" != e.contentEditable ? "true" == e.contentEditable || N(e.parentNode) : !1 } }(); - var N = /^inline(-block|-table)?$/i, + var D = /^inline(-block|-table)?$/i, L = /[^\r\n\t\f \u200B]/, M = w(!1), A = w(!0); @@ -29284,7 +29287,7 @@ function() { elementsHaveSameNonClassAttributes: d, elementHasNonClassAttributes: p, splitNodeAt: y, - isEditableElement: D, + isEditableElement: N, isEditingHost: f, isEditable: m }, e.CssClassApplier = C, e.createCssClassApplier = _ diff --git a/public/res-min/themes/base.css b/public/res-min/themes/base.css index bcb3d479..72b2fe4a 100644 --- a/public/res-min/themes/base.css +++ b/public/res-min/themes/base.css @@ -824,9 +824,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .asciidoc .hljs-emphasis,.markdown .hljs-emphasis{font-style:italic} .nginx .hljs-built_in{font-weight:normal} .coffeescript .javascript,.javascript .xml,.lasso .markup,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:0.5} -@font-face{font-family:'fontello';src:url('../font/fontello.eot?24620533');src:url('../font/fontello.eot?24620533#iefix') format('embedded-opentype'),url('../font/fontello.woff?24620533') format('woff'),url('../font/fontello.ttf?24620533') format('truetype'),url('../font/fontello.svg?24620533#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +@font-face{font-family:'fontello';src:url('../font/fontello.eot');src:url('../font/fontello.eot#iefix') format('embedded-opentype'),url('../font/fontello.woff') format('woff'),url('../font/fontello.ttf') format('truetype'),url('../font/fontello.svg#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +.icon-pause:before{content:'\e800'} .icon-glass:before{content:'\e801'} -.icon-archive:before{content:'\e859'} +.icon-music:before{content:'\e802'} .icon-search:before{content:'\e803'} .icon-mail:before{content:'\e804'} .icon-mail-alt:before{content:'\e805'} @@ -854,19 +855,18 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-ok-squared:before{content:'\e81b'} .icon-cancel:before{content:'\e81c'} .icon-cancel-circled:before{content:'\e81d'} -.icon-cancel-circled2:before{content:'\e86f'} +.icon-folder-open:before{content:'\e81e'} .icon-plus:before{content:'\e81f'} .icon-plus-circled:before{content:'\e820'} .icon-plus-squared:before{content:'\e821'} +.icon-download:before{content:'\e822'} .icon-minus:before{content:'\e823'} .icon-minus-circled:before{content:'\e824'} .icon-minus-squared:before{content:'\e825'} .icon-minus-squared-alt:before{content:'\e826'} +.icon-upload:before{content:'\e827'} .icon-help:before{content:'\e828'} -.icon-help-circled:before{content:'\e939'} -.icon-info-circled:before{content:'\e93a'} -.icon-info:before{content:'\e93b'} -.icon-home:before{content:'\e93c'} +.icon-layers:before{content:'\e829'} .icon-unlink:before{content:'\e82a'} .icon-link-ext:before{content:'\e82b'} .icon-link-ext-alt:before{content:'\e82c'} @@ -882,25 +882,24 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-bookmark:before{content:'\e836'} .icon-bookmark-empty:before{content:'\e837'} .icon-flag:before{content:'\e838'} -.icon-flag-empty:before{content:'\e93d'} -.icon-flag-checkered:before{content:'\e93e'} -.icon-thumbs-up:before{content:'\e93f'} -.icon-thumbs-down:before{content:'\e940'} .icon-thumbs-up-alt:before{content:'\e839'} .icon-thumbs-down-alt:before{content:'\e83a'} -.icon-reply:before{content:'\e845'} +.icon-comment:before{content:'\e83b'} +.icon-comment-alt:before{content:'\e83c'} +.icon-split:before{content:'\e83d'} +.icon-chat:before{content:'\e83e'} +.icon-github-circled:before{content:'\e83f'} .icon-reply-all:before{content:'\e840'} -.icon-forward:before{content:'\e856'} +.icon-hdd:before{content:'\e841'} .icon-quote-left:before{content:'\e842'} .icon-quote-right:before{content:'\e843'} +.icon-code:before{content:'\e844'} +.icon-reply:before{content:'\e845'} .icon-export-alt:before{content:'\e846'} .icon-pencil:before{content:'\e847'} .icon-pencil-squared:before{content:'\e848'} -.icon-edit:before{content:'\e941'} -.icon-print:before{content:'\e942'} -.icon-retweet:before{content:'\e943'} -.icon-keyboard:before{content:'\e944'} .icon-gamepad:before{content:'\e849'} +.icon-twitter:before{content:'\e84a'} .icon-comment-empty:before{content:'\e84c'} .icon-chat-empty:before{content:'\e84d'} .icon-bell:before{content:'\e84e'} @@ -911,11 +910,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-location:before{content:'\e853'} .icon-direction:before{content:'\e854'} .icon-compass:before{content:'\e855'} +.icon-forward:before{content:'\e856'} .icon-doc:before{content:'\e857'} .icon-docs:before{content:'\e858'} -.icon-doc-text:before{content:'\e945'} -.icon-file:before{content:'\e946'} -.icon-doc-text-inv:before{content:'\e947'} +.icon-archive:before{content:'\e859'} .icon-folder-empty:before{content:'\e85a'} .icon-folder-open-empty:before{content:'\e85b'} .icon-box:before{content:'\e85c'} @@ -931,16 +929,13 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-calendar:before{content:'\e866'} .icon-calendar-empty:before{content:'\e867'} .icon-login:before{content:'\e868'} -.icon-logout:before{content:'\e949'} -.icon-mic:before{content:'\e94a'} -.icon-mute:before{content:'\e94b'} -.icon-volume-off:before{content:'\e94c'} .icon-volume-down:before{content:'\e869'} .icon-volume-up:before{content:'\e86a'} .icon-headphones:before{content:'\e86b'} .icon-clock:before{content:'\e86c'} .icon-lightbulb:before{content:'\e86d'} .icon-block:before{content:'\e86e'} +.icon-cancel-circled2:before{content:'\e86f'} .icon-resize-full-alt:before{content:'\e870'} .icon-resize-small:before{content:'\e871'} .icon-resize-vertical:before{content:'\e872'} @@ -950,10 +945,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-zoom-out:before{content:'\e876'} .icon-down-circled2:before{content:'\e877'} .icon-up-circled2:before{content:'\e878'} -.icon-down-dir:before{content:'\e94d'} -.icon-up-dir:before{content:'\e94e'} -.icon-left-dir:before{content:'\e94f'} -.icon-right-dir:before{content:'\e950'} .icon-down-open:before{content:'\e879'} .icon-left-open:before{content:'\e87a'} .icon-right-open:before{content:'\e87b'} @@ -970,10 +961,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-angle-double-right:before{content:'\e886'} .icon-angle-double-up:before{content:'\e887'} .icon-angle-double-down:before{content:'\e888'} -.icon-down:before{content:'\e951'} -.icon-right:before{content:'\e953'} -.icon-left:before{content:'\e952'} -.icon-up:before{content:'\e954'} .icon-down-big:before{content:'\e889'} .icon-left-big:before{content:'\e88a'} .icon-right-big:before{content:'\e88b'} @@ -984,23 +971,19 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-down-hand:before{content:'\e890'} .icon-left-circled:before{content:'\e891'} .icon-right-circled:before{content:'\e892'} -.icon-music:before{content:'\e802'} +.icon-up-circled:before{content:'\e893'} .icon-down-circled:before{content:'\e894'} .icon-cw:before{content:'\e895'} .icon-ccw:before{content:'\e896'} .icon-refresh:before{content:'\e897'} .icon-level-up:before{content:'\e898'} -.icon-level-down:before{content:'\e955'} -.icon-shuffle:before{content:'\e956'} -.icon-exchange:before{content:'\e957'} -.icon-collapse:before{content:'\e958'} .icon-collapse-top:before{content:'\e899'} .icon-expand:before{content:'\e89a'} .icon-play:before{content:'\e89b'} .icon-play-circled:before{content:'\e89c'} .icon-play-circled2:before{content:'\e89d'} .icon-stop:before{content:'\e89e'} -.icon-pause:before{content:'\e800'} +.icon-trash:before{content:'\e89f'} .icon-to-end:before{content:'\e8a0'} .icon-to-end-alt:before{content:'\e8a1'} .icon-to-start:before{content:'\e8a2'} @@ -1008,11 +991,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-fast-fw:before{content:'\e8a4'} .icon-fast-bw:before{content:'\e8a5'} .icon-eject:before{content:'\e8a6'} +.icon-target:before{content:'\e8a7'} .icon-signal:before{content:'\e8a8'} -.icon-award:before{content:'\e959'} -.icon-desktop:before{content:'\e95a'} -.icon-laptop:before{content:'\e90e'} -.icon-tablet:before{content:'\e95c'} .icon-mobile:before{content:'\e8a9'} .icon-inbox:before{content:'\e8aa'} .icon-globe:before{content:'\e8ab'} @@ -1024,15 +1004,11 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-flight:before{content:'\e8b1'} .icon-fighter-jet:before{content:'\e8b2'} .icon-leaf:before{content:'\e8b3'} -.icon-font:before{content:'\e8b6'} -.icon-bold:before{content:'\e8b5'} .icon-italic:before{content:'\e8b4'} +.icon-bold:before{content:'\e8b5'} +.icon-font:before{content:'\e8b6'} .icon-text-height:before{content:'\e8b7'} .icon-text-width:before{content:'\e8b8'} -.icon-align-left:before{content:'\e95d'} -.icon-align-center:before{content:'\e95e'} -.icon-align-right:before{content:'\e95f'} -.icon-align-justify:before{content:'\e960'} .icon-list:before{content:'\e8b9'} .icon-indent-left:before{content:'\e8ba'} .icon-indent-right:before{content:'\e8bb'} @@ -1049,10 +1025,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-paste:before{content:'\e8c6'} .icon-briefcase:before{content:'\e8c7'} .icon-suitcase:before{content:'\e8c8'} -.icon-ellipsis:before{content:'\e961'} -.icon-ellipsis-vert:before{content:'\e962'} -.icon-off:before{content:'\e963'} -.icon-road:before{content:'\e964'} .icon-list-alt:before{content:'\e8c9'} .icon-qrcode:before{content:'\e8ca'} .icon-barcode:before{content:'\e8cb'} @@ -1067,10 +1039,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-gift:before{content:'\e8d4'} .icon-fire:before{content:'\e8d5'} .icon-magnet:before{content:'\e8d6'} +.icon-folder:before{content:'\e8d7'} .icon-ticket:before{content:'\e8d8'} -.icon-credit-card:before{content:'\e965'} -.icon-floppy:before{content:'\e966'} -.icon-megaphone:before{content:'\e967'} .icon-key:before{content:'\e8d9'} .icon-fork:before{content:'\e8da'} .icon-rocket:before{content:'\e8db'} @@ -1124,25 +1094,57 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-extinguisher:before{content:'\e90b'} .icon-bullseye:before{content:'\e90c'} .icon-resize-full:before{content:'\e90d'} -.icon-split:before{content:'\e83d'} -.icon-target:before{content:'\e8a7'} -.icon-layers:before{content:'\e829'} +.icon-laptop:before{content:'\e90e'} .icon-chart-bar:before{content:'\e90f'} -.icon-link:before{content:'\e913'} -.icon-download:before{content:'\e822'} -.icon-upload:before{content:'\e827'} .icon-download-cloud:before{content:'\e910'} .icon-upload-cloud:before{content:'\e911'} .icon-share:before{content:'\e912'} -.icon-hdd:before{content:'\e841'} -.icon-trash:before{content:'\e89f'} -.icon-folder:before{content:'\e8d7'} -.icon-code:before{content:'\e844'} -.icon-comment:before{content:'\e83b'} -.icon-comment-alt:before{content:'\e83c'} -.icon-chat:before{content:'\e83e'} -.icon-folder-open:before{content:'\e81e'} -.icon-up-circled:before{content:'\e893'} +.icon-link:before{content:'\e913'} +.icon-help-circled:before{content:'\e939'} +.icon-info-circled:before{content:'\e93a'} +.icon-info:before{content:'\e93b'} +.icon-home:before{content:'\e93c'} +.icon-flag-empty:before{content:'\e93d'} +.icon-flag-checkered:before{content:'\e93e'} +.icon-thumbs-up:before{content:'\e93f'} +.icon-thumbs-down:before{content:'\e940'} +.icon-edit:before{content:'\e941'} +.icon-print:before{content:'\e942'} +.icon-retweet:before{content:'\e943'} +.icon-keyboard:before{content:'\e944'} +.icon-doc-text:before{content:'\e945'} +.icon-file:before{content:'\e946'} +.icon-doc-text-inv:before{content:'\e947'} +.icon-logout:before{content:'\e949'} +.icon-mic:before{content:'\e94a'} +.icon-mute:before{content:'\e94b'} +.icon-volume-off:before{content:'\e94c'} +.icon-down-dir:before{content:'\e94d'} +.icon-up-dir:before{content:'\e94e'} +.icon-left-dir:before{content:'\e94f'} +.icon-right-dir:before{content:'\e950'} +.icon-down:before{content:'\e951'} +.icon-left:before{content:'\e952'} +.icon-right:before{content:'\e953'} +.icon-up:before{content:'\e954'} +.icon-level-down:before{content:'\e955'} +.icon-shuffle:before{content:'\e956'} +.icon-exchange:before{content:'\e957'} +.icon-collapse:before{content:'\e958'} +.icon-award:before{content:'\e959'} +.icon-desktop:before{content:'\e95a'} +.icon-tablet:before{content:'\e95c'} +.icon-align-left:before{content:'\e95d'} +.icon-align-center:before{content:'\e95e'} +.icon-align-right:before{content:'\e95f'} +.icon-align-justify:before{content:'\e960'} +.icon-ellipsis:before{content:'\e961'} +.icon-ellipsis-vert:before{content:'\e962'} +.icon-off:before{content:'\e963'} +.icon-road:before{content:'\e964'} +.icon-credit-card:before{content:'\e965'} +.icon-floppy:before{content:'\e966'} +.icon-megaphone:before{content:'\e967'} .pln{color:#000} .str{color:#080} .kwd{color:#008} @@ -1179,11 +1181,11 @@ img{max-width:100%} .sequence-diagram [fill="#000"],.flow-chart [fill="#000"],.sequence-diagram [fill="#000000"],.flow-chart [fill="#000000"],.sequence-diagram [fill="black"],.flow-chart [fill="black"]{fill:#000} code,pre{font-family:"Source Code Pro",monospace;font-size:0.9em} code{white-space:normal} -pre,pre.prettyprint{border:0 solid #eee;border-left:10px solid #eee;border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px}pre code,pre.prettyprint code{background-color:transparent !important} +pre,pre.prettyprint{border:0;padding:10px 20px;border-radius:5px}pre code,pre.prettyprint code{background-color:transparent !important} dt,dd{margin-top:5px;margin-bottom:5px} dd{margin-left:40px} table{margin-bottom:20px} -table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd} +table th,table td{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #dddddd} table th{font-weight:bold} table thead th{vertical-align:bottom} table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0} diff --git a/public/res-min/themes/blue.css b/public/res-min/themes/blue.css index 68a3de31..46721607 100644 --- a/public/res-min/themes/blue.css +++ b/public/res-min/themes/blue.css @@ -839,9 +839,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .asciidoc .hljs-emphasis,.markdown .hljs-emphasis{font-style:italic} .nginx .hljs-built_in{font-weight:normal} .coffeescript .javascript,.javascript .xml,.lasso .markup,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:0.5} -@font-face{font-family:'fontello';src:url('../font/fontello.eot?24620533');src:url('../font/fontello.eot?24620533#iefix') format('embedded-opentype'),url('../font/fontello.woff?24620533') format('woff'),url('../font/fontello.ttf?24620533') format('truetype'),url('../font/fontello.svg?24620533#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +@font-face{font-family:'fontello';src:url('../font/fontello.eot');src:url('../font/fontello.eot#iefix') format('embedded-opentype'),url('../font/fontello.woff') format('woff'),url('../font/fontello.ttf') format('truetype'),url('../font/fontello.svg#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +.icon-pause:before{content:'\e800'} .icon-glass:before{content:'\e801'} -.icon-archive:before{content:'\e859'} +.icon-music:before{content:'\e802'} .icon-search:before{content:'\e803'} .icon-mail:before{content:'\e804'} .icon-mail-alt:before{content:'\e805'} @@ -869,19 +870,18 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-ok-squared:before{content:'\e81b'} .icon-cancel:before{content:'\e81c'} .icon-cancel-circled:before{content:'\e81d'} -.icon-cancel-circled2:before{content:'\e86f'} +.icon-folder-open:before{content:'\e81e'} .icon-plus:before{content:'\e81f'} .icon-plus-circled:before{content:'\e820'} .icon-plus-squared:before{content:'\e821'} +.icon-download:before{content:'\e822'} .icon-minus:before{content:'\e823'} .icon-minus-circled:before{content:'\e824'} .icon-minus-squared:before{content:'\e825'} .icon-minus-squared-alt:before{content:'\e826'} +.icon-upload:before{content:'\e827'} .icon-help:before{content:'\e828'} -.icon-help-circled:before{content:'\e939'} -.icon-info-circled:before{content:'\e93a'} -.icon-info:before{content:'\e93b'} -.icon-home:before{content:'\e93c'} +.icon-layers:before{content:'\e829'} .icon-unlink:before{content:'\e82a'} .icon-link-ext:before{content:'\e82b'} .icon-link-ext-alt:before{content:'\e82c'} @@ -897,25 +897,24 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-bookmark:before{content:'\e836'} .icon-bookmark-empty:before{content:'\e837'} .icon-flag:before{content:'\e838'} -.icon-flag-empty:before{content:'\e93d'} -.icon-flag-checkered:before{content:'\e93e'} -.icon-thumbs-up:before{content:'\e93f'} -.icon-thumbs-down:before{content:'\e940'} .icon-thumbs-up-alt:before{content:'\e839'} .icon-thumbs-down-alt:before{content:'\e83a'} -.icon-reply:before{content:'\e845'} +.icon-comment:before{content:'\e83b'} +.icon-comment-alt:before{content:'\e83c'} +.icon-split:before{content:'\e83d'} +.icon-chat:before{content:'\e83e'} +.icon-github-circled:before{content:'\e83f'} .icon-reply-all:before{content:'\e840'} -.icon-forward:before{content:'\e856'} +.icon-hdd:before{content:'\e841'} .icon-quote-left:before{content:'\e842'} .icon-quote-right:before{content:'\e843'} +.icon-code:before{content:'\e844'} +.icon-reply:before{content:'\e845'} .icon-export-alt:before{content:'\e846'} .icon-pencil:before{content:'\e847'} .icon-pencil-squared:before{content:'\e848'} -.icon-edit:before{content:'\e941'} -.icon-print:before{content:'\e942'} -.icon-retweet:before{content:'\e943'} -.icon-keyboard:before{content:'\e944'} .icon-gamepad:before{content:'\e849'} +.icon-twitter:before{content:'\e84a'} .icon-comment-empty:before{content:'\e84c'} .icon-chat-empty:before{content:'\e84d'} .icon-bell:before{content:'\e84e'} @@ -926,11 +925,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-location:before{content:'\e853'} .icon-direction:before{content:'\e854'} .icon-compass:before{content:'\e855'} +.icon-forward:before{content:'\e856'} .icon-doc:before{content:'\e857'} .icon-docs:before{content:'\e858'} -.icon-doc-text:before{content:'\e945'} -.icon-file:before{content:'\e946'} -.icon-doc-text-inv:before{content:'\e947'} +.icon-archive:before{content:'\e859'} .icon-folder-empty:before{content:'\e85a'} .icon-folder-open-empty:before{content:'\e85b'} .icon-box:before{content:'\e85c'} @@ -946,16 +944,13 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-calendar:before{content:'\e866'} .icon-calendar-empty:before{content:'\e867'} .icon-login:before{content:'\e868'} -.icon-logout:before{content:'\e949'} -.icon-mic:before{content:'\e94a'} -.icon-mute:before{content:'\e94b'} -.icon-volume-off:before{content:'\e94c'} .icon-volume-down:before{content:'\e869'} .icon-volume-up:before{content:'\e86a'} .icon-headphones:before{content:'\e86b'} .icon-clock:before{content:'\e86c'} .icon-lightbulb:before{content:'\e86d'} .icon-block:before{content:'\e86e'} +.icon-cancel-circled2:before{content:'\e86f'} .icon-resize-full-alt:before{content:'\e870'} .icon-resize-small:before{content:'\e871'} .icon-resize-vertical:before{content:'\e872'} @@ -965,10 +960,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-zoom-out:before{content:'\e876'} .icon-down-circled2:before{content:'\e877'} .icon-up-circled2:before{content:'\e878'} -.icon-down-dir:before{content:'\e94d'} -.icon-up-dir:before{content:'\e94e'} -.icon-left-dir:before{content:'\e94f'} -.icon-right-dir:before{content:'\e950'} .icon-down-open:before{content:'\e879'} .icon-left-open:before{content:'\e87a'} .icon-right-open:before{content:'\e87b'} @@ -985,10 +976,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-angle-double-right:before{content:'\e886'} .icon-angle-double-up:before{content:'\e887'} .icon-angle-double-down:before{content:'\e888'} -.icon-down:before{content:'\e951'} -.icon-right:before{content:'\e953'} -.icon-left:before{content:'\e952'} -.icon-up:before{content:'\e954'} .icon-down-big:before{content:'\e889'} .icon-left-big:before{content:'\e88a'} .icon-right-big:before{content:'\e88b'} @@ -999,23 +986,19 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-down-hand:before{content:'\e890'} .icon-left-circled:before{content:'\e891'} .icon-right-circled:before{content:'\e892'} -.icon-music:before{content:'\e802'} +.icon-up-circled:before{content:'\e893'} .icon-down-circled:before{content:'\e894'} .icon-cw:before{content:'\e895'} .icon-ccw:before{content:'\e896'} .icon-refresh:before{content:'\e897'} .icon-level-up:before{content:'\e898'} -.icon-level-down:before{content:'\e955'} -.icon-shuffle:before{content:'\e956'} -.icon-exchange:before{content:'\e957'} -.icon-collapse:before{content:'\e958'} .icon-collapse-top:before{content:'\e899'} .icon-expand:before{content:'\e89a'} .icon-play:before{content:'\e89b'} .icon-play-circled:before{content:'\e89c'} .icon-play-circled2:before{content:'\e89d'} .icon-stop:before{content:'\e89e'} -.icon-pause:before{content:'\e800'} +.icon-trash:before{content:'\e89f'} .icon-to-end:before{content:'\e8a0'} .icon-to-end-alt:before{content:'\e8a1'} .icon-to-start:before{content:'\e8a2'} @@ -1023,11 +1006,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-fast-fw:before{content:'\e8a4'} .icon-fast-bw:before{content:'\e8a5'} .icon-eject:before{content:'\e8a6'} +.icon-target:before{content:'\e8a7'} .icon-signal:before{content:'\e8a8'} -.icon-award:before{content:'\e959'} -.icon-desktop:before{content:'\e95a'} -.icon-laptop:before{content:'\e90e'} -.icon-tablet:before{content:'\e95c'} .icon-mobile:before{content:'\e8a9'} .icon-inbox:before{content:'\e8aa'} .icon-globe:before{content:'\e8ab'} @@ -1039,15 +1019,11 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-flight:before{content:'\e8b1'} .icon-fighter-jet:before{content:'\e8b2'} .icon-leaf:before{content:'\e8b3'} -.icon-font:before{content:'\e8b6'} -.icon-bold:before{content:'\e8b5'} .icon-italic:before{content:'\e8b4'} +.icon-bold:before{content:'\e8b5'} +.icon-font:before{content:'\e8b6'} .icon-text-height:before{content:'\e8b7'} .icon-text-width:before{content:'\e8b8'} -.icon-align-left:before{content:'\e95d'} -.icon-align-center:before{content:'\e95e'} -.icon-align-right:before{content:'\e95f'} -.icon-align-justify:before{content:'\e960'} .icon-list:before{content:'\e8b9'} .icon-indent-left:before{content:'\e8ba'} .icon-indent-right:before{content:'\e8bb'} @@ -1064,10 +1040,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-paste:before{content:'\e8c6'} .icon-briefcase:before{content:'\e8c7'} .icon-suitcase:before{content:'\e8c8'} -.icon-ellipsis:before{content:'\e961'} -.icon-ellipsis-vert:before{content:'\e962'} -.icon-off:before{content:'\e963'} -.icon-road:before{content:'\e964'} .icon-list-alt:before{content:'\e8c9'} .icon-qrcode:before{content:'\e8ca'} .icon-barcode:before{content:'\e8cb'} @@ -1082,10 +1054,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-gift:before{content:'\e8d4'} .icon-fire:before{content:'\e8d5'} .icon-magnet:before{content:'\e8d6'} +.icon-folder:before{content:'\e8d7'} .icon-ticket:before{content:'\e8d8'} -.icon-credit-card:before{content:'\e965'} -.icon-floppy:before{content:'\e966'} -.icon-megaphone:before{content:'\e967'} .icon-key:before{content:'\e8d9'} .icon-fork:before{content:'\e8da'} .icon-rocket:before{content:'\e8db'} @@ -1139,25 +1109,57 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-extinguisher:before{content:'\e90b'} .icon-bullseye:before{content:'\e90c'} .icon-resize-full:before{content:'\e90d'} -.icon-split:before{content:'\e83d'} -.icon-target:before{content:'\e8a7'} -.icon-layers:before{content:'\e829'} +.icon-laptop:before{content:'\e90e'} .icon-chart-bar:before{content:'\e90f'} -.icon-link:before{content:'\e913'} -.icon-download:before{content:'\e822'} -.icon-upload:before{content:'\e827'} .icon-download-cloud:before{content:'\e910'} .icon-upload-cloud:before{content:'\e911'} .icon-share:before{content:'\e912'} -.icon-hdd:before{content:'\e841'} -.icon-trash:before{content:'\e89f'} -.icon-folder:before{content:'\e8d7'} -.icon-code:before{content:'\e844'} -.icon-comment:before{content:'\e83b'} -.icon-comment-alt:before{content:'\e83c'} -.icon-chat:before{content:'\e83e'} -.icon-folder-open:before{content:'\e81e'} -.icon-up-circled:before{content:'\e893'} +.icon-link:before{content:'\e913'} +.icon-help-circled:before{content:'\e939'} +.icon-info-circled:before{content:'\e93a'} +.icon-info:before{content:'\e93b'} +.icon-home:before{content:'\e93c'} +.icon-flag-empty:before{content:'\e93d'} +.icon-flag-checkered:before{content:'\e93e'} +.icon-thumbs-up:before{content:'\e93f'} +.icon-thumbs-down:before{content:'\e940'} +.icon-edit:before{content:'\e941'} +.icon-print:before{content:'\e942'} +.icon-retweet:before{content:'\e943'} +.icon-keyboard:before{content:'\e944'} +.icon-doc-text:before{content:'\e945'} +.icon-file:before{content:'\e946'} +.icon-doc-text-inv:before{content:'\e947'} +.icon-logout:before{content:'\e949'} +.icon-mic:before{content:'\e94a'} +.icon-mute:before{content:'\e94b'} +.icon-volume-off:before{content:'\e94c'} +.icon-down-dir:before{content:'\e94d'} +.icon-up-dir:before{content:'\e94e'} +.icon-left-dir:before{content:'\e94f'} +.icon-right-dir:before{content:'\e950'} +.icon-down:before{content:'\e951'} +.icon-left:before{content:'\e952'} +.icon-right:before{content:'\e953'} +.icon-up:before{content:'\e954'} +.icon-level-down:before{content:'\e955'} +.icon-shuffle:before{content:'\e956'} +.icon-exchange:before{content:'\e957'} +.icon-collapse:before{content:'\e958'} +.icon-award:before{content:'\e959'} +.icon-desktop:before{content:'\e95a'} +.icon-tablet:before{content:'\e95c'} +.icon-align-left:before{content:'\e95d'} +.icon-align-center:before{content:'\e95e'} +.icon-align-right:before{content:'\e95f'} +.icon-align-justify:before{content:'\e960'} +.icon-ellipsis:before{content:'\e961'} +.icon-ellipsis-vert:before{content:'\e962'} +.icon-off:before{content:'\e963'} +.icon-road:before{content:'\e964'} +.icon-credit-card:before{content:'\e965'} +.icon-floppy:before{content:'\e966'} +.icon-megaphone:before{content:'\e967'} .pln{color:#000} .str{color:#080} .kwd{color:#008} @@ -1194,11 +1196,11 @@ img{max-width:100%} .sequence-diagram [fill="#000"],.flow-chart [fill="#000"],.sequence-diagram [fill="#000000"],.flow-chart [fill="#000000"],.sequence-diagram [fill="black"],.flow-chart [fill="black"]{fill:#2c3f51} code,pre{font-family:"Source Code Pro",monospace;font-size:0.9em} code{white-space:normal} -pre,pre.prettyprint{border:0 solid rgba(102,128,153,0.075);border-left:10px solid rgba(102,128,153,0.075);border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px}pre code,pre.prettyprint code{background-color:transparent !important} +pre,pre.prettyprint{border:0;padding:10px 20px;border-radius:5px}pre code,pre.prettyprint code{background-color:transparent !important} dt,dd{margin-top:5px;margin-bottom:5px} dd{margin-left:40px} table{margin-bottom:20px} -table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd} +table th,table td{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #dddddd} table th{font-weight:bold} table thead th{vertical-align:bottom} table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0} @@ -1308,8 +1310,8 @@ a.list-group-item:hover,a.list-group-item:focus{color:#036;border-color:rgba(0,1 .navbar .nav.pull-right{float:right}.navbar .nav.pull-right>li>.dropdown-menu{right:0;left:auto}.navbar .nav.pull-right>li>.dropdown-menu .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0} .navbar .btn{height:38px;padding:6px 8px} .navbar .btn-group>.btn.disabled *,.navbar .btn-group>.btn.blocked *,.navbar .btn-group>.btn[disabled] *{color:rgba(54,77,99,0.3)} -.navbar .button-open-discussion.some{color:#e0b800} -.navbar .button-open-discussion.replied{color:#e74434} +.navbar .button-open-discussion.some{color:#e0b800 !important} +.navbar .button-open-discussion.replied{color:#e74434 !important} .navbar .file-title-navbar{display:inline-block;vertical-align:middle;padding:1px 15px;font-size:1.5em;line-height:1.4em;font-weight:200;overflow:hidden;white-space:nowrap} .navbar .input-file-title-container{display:inline-block;vertical-align:middle}.navbar .input-file-title-container .input-file-title{width:400px;font-size:16px;height:38px} .navbar .working-indicator{display:inline-block;vertical-align:middle;overflow:hidden;height:38px;width:60px;padding-top:8px}.navbar .working-indicator .bar{display:inline-block;width:14px;height:6px;border-radius:1px;margin:0 2px;opacity:0.25;background-color:rgba(54,77,99,0.75)} @@ -1383,11 +1385,12 @@ a.list-group-item:hover,a.list-group-item:focus{color:#036;border-color:rgba(0,1 @font-face{font-family:'PT Sans';font-style:normal;font-weight:400;src:local('PT Sans'),local('PTSans'),url("../font/PTSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;src:local('PT Sans Bold'),local('PTSans-Bold'),url("../font/PTSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:400;src:local('PT Sans Italic'),local('PTSans-Italic'),url("../font/PTSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:700;src:local('PT Sans Bold Italic'),local('PTSans-BoldItalic'),url("../font/PTSans-BoldItalic-webfont.woff") format('woff')}#wmd-input{position:absolute;top:0;left:0;font-family:"PT Sans",sans-serif;line-height:1.65;letter-spacing:normal;border-radius:0;color:#47596b;-webkit-box-shadow:none;box-shadow:none;resize:none;border:none;padding:0;background-color:#fff;overflow:auto;white-space:pre-wrap;word-wrap:break-word;word-break:normal}#wmd-input>.editor-content{padding-bottom:230px} #wmd-input>.editor-margin{position:absolute;top:0;left:0}#wmd-input>.editor-margin .discussion{font-size:17px;position:absolute;cursor:pointer}#wmd-input>.editor-margin .discussion.new{display:none}#wmd-input>.editor-margin .discussion.new:hover,#wmd-input>.editor-margin .discussion.new.active,#wmd-input>.editor-margin .discussion.new.active:hover{display:inline-block;color:rgba(102,128,153,0.35) !important} #wmd-input>.editor-margin .discussion.added{color:rgba(235,192,0,0.7)}#wmd-input>.editor-margin .discussion.added:hover,#wmd-input>.editor-margin .discussion.added.active,#wmd-input>.editor-margin .discussion.added.active:hover{color:#ebc000 !important} -#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:#e63b2b !important} +#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:rgba(230,59,43,0.8) !important} #wmd-input>.editor-margin .discussion.icon-split{font-size:22px}#wmd-input>.editor-margin .discussion.icon-split:before{margin-right:0} #wmd-input>.editor-margin .discussion:hover,#wmd-input>.editor-margin .discussion.active{text-decoration:none} +#wmd-input.has-selection>.editor-margin .discussion.new{display:inline-block;color:rgba(102,128,153,0.25)} #wmd-input.font-monospaced *{font-family:"Source Code Pro",monospace !important;line-height:1.65 !important;font-size:1em !important} -#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.6)} +#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.5)} #wmd-input .find-replace-select{background-color:#b5d5ff} #wmd-input .conflict{font-weight:bold;color:#e63b2b} #wmd-input .code,#wmd-input .pre{color:#29333d;font:normal .9em "Source Code Pro",monospace} diff --git a/public/res-min/themes/default.css b/public/res-min/themes/default.css index 7f54b023..66b677bf 100644 --- a/public/res-min/themes/default.css +++ b/public/res-min/themes/default.css @@ -840,9 +840,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .asciidoc .hljs-emphasis,.markdown .hljs-emphasis{font-style:italic} .nginx .hljs-built_in{font-weight:normal} .coffeescript .javascript,.javascript .xml,.lasso .markup,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:0.5} -@font-face{font-family:'fontello';src:url('../font/fontello.eot?24620533');src:url('../font/fontello.eot?24620533#iefix') format('embedded-opentype'),url('../font/fontello.woff?24620533') format('woff'),url('../font/fontello.ttf?24620533') format('truetype'),url('../font/fontello.svg?24620533#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +@font-face{font-family:'fontello';src:url('../font/fontello.eot');src:url('../font/fontello.eot#iefix') format('embedded-opentype'),url('../font/fontello.woff') format('woff'),url('../font/fontello.ttf') format('truetype'),url('../font/fontello.svg#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +.icon-pause:before{content:'\e800'} .icon-glass:before{content:'\e801'} -.icon-archive:before{content:'\e859'} +.icon-music:before{content:'\e802'} .icon-search:before{content:'\e803'} .icon-mail:before{content:'\e804'} .icon-mail-alt:before{content:'\e805'} @@ -870,19 +871,18 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-ok-squared:before{content:'\e81b'} .icon-cancel:before{content:'\e81c'} .icon-cancel-circled:before{content:'\e81d'} -.icon-cancel-circled2:before{content:'\e86f'} +.icon-folder-open:before{content:'\e81e'} .icon-plus:before{content:'\e81f'} .icon-plus-circled:before{content:'\e820'} .icon-plus-squared:before{content:'\e821'} +.icon-download:before{content:'\e822'} .icon-minus:before{content:'\e823'} .icon-minus-circled:before{content:'\e824'} .icon-minus-squared:before{content:'\e825'} .icon-minus-squared-alt:before{content:'\e826'} +.icon-upload:before{content:'\e827'} .icon-help:before{content:'\e828'} -.icon-help-circled:before{content:'\e939'} -.icon-info-circled:before{content:'\e93a'} -.icon-info:before{content:'\e93b'} -.icon-home:before{content:'\e93c'} +.icon-layers:before{content:'\e829'} .icon-unlink:before{content:'\e82a'} .icon-link-ext:before{content:'\e82b'} .icon-link-ext-alt:before{content:'\e82c'} @@ -898,25 +898,24 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-bookmark:before{content:'\e836'} .icon-bookmark-empty:before{content:'\e837'} .icon-flag:before{content:'\e838'} -.icon-flag-empty:before{content:'\e93d'} -.icon-flag-checkered:before{content:'\e93e'} -.icon-thumbs-up:before{content:'\e93f'} -.icon-thumbs-down:before{content:'\e940'} .icon-thumbs-up-alt:before{content:'\e839'} .icon-thumbs-down-alt:before{content:'\e83a'} -.icon-reply:before{content:'\e845'} +.icon-comment:before{content:'\e83b'} +.icon-comment-alt:before{content:'\e83c'} +.icon-split:before{content:'\e83d'} +.icon-chat:before{content:'\e83e'} +.icon-github-circled:before{content:'\e83f'} .icon-reply-all:before{content:'\e840'} -.icon-forward:before{content:'\e856'} +.icon-hdd:before{content:'\e841'} .icon-quote-left:before{content:'\e842'} .icon-quote-right:before{content:'\e843'} +.icon-code:before{content:'\e844'} +.icon-reply:before{content:'\e845'} .icon-export-alt:before{content:'\e846'} .icon-pencil:before{content:'\e847'} .icon-pencil-squared:before{content:'\e848'} -.icon-edit:before{content:'\e941'} -.icon-print:before{content:'\e942'} -.icon-retweet:before{content:'\e943'} -.icon-keyboard:before{content:'\e944'} .icon-gamepad:before{content:'\e849'} +.icon-twitter:before{content:'\e84a'} .icon-comment-empty:before{content:'\e84c'} .icon-chat-empty:before{content:'\e84d'} .icon-bell:before{content:'\e84e'} @@ -927,11 +926,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-location:before{content:'\e853'} .icon-direction:before{content:'\e854'} .icon-compass:before{content:'\e855'} +.icon-forward:before{content:'\e856'} .icon-doc:before{content:'\e857'} .icon-docs:before{content:'\e858'} -.icon-doc-text:before{content:'\e945'} -.icon-file:before{content:'\e946'} -.icon-doc-text-inv:before{content:'\e947'} +.icon-archive:before{content:'\e859'} .icon-folder-empty:before{content:'\e85a'} .icon-folder-open-empty:before{content:'\e85b'} .icon-box:before{content:'\e85c'} @@ -947,16 +945,13 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-calendar:before{content:'\e866'} .icon-calendar-empty:before{content:'\e867'} .icon-login:before{content:'\e868'} -.icon-logout:before{content:'\e949'} -.icon-mic:before{content:'\e94a'} -.icon-mute:before{content:'\e94b'} -.icon-volume-off:before{content:'\e94c'} .icon-volume-down:before{content:'\e869'} .icon-volume-up:before{content:'\e86a'} .icon-headphones:before{content:'\e86b'} .icon-clock:before{content:'\e86c'} .icon-lightbulb:before{content:'\e86d'} .icon-block:before{content:'\e86e'} +.icon-cancel-circled2:before{content:'\e86f'} .icon-resize-full-alt:before{content:'\e870'} .icon-resize-small:before{content:'\e871'} .icon-resize-vertical:before{content:'\e872'} @@ -966,10 +961,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-zoom-out:before{content:'\e876'} .icon-down-circled2:before{content:'\e877'} .icon-up-circled2:before{content:'\e878'} -.icon-down-dir:before{content:'\e94d'} -.icon-up-dir:before{content:'\e94e'} -.icon-left-dir:before{content:'\e94f'} -.icon-right-dir:before{content:'\e950'} .icon-down-open:before{content:'\e879'} .icon-left-open:before{content:'\e87a'} .icon-right-open:before{content:'\e87b'} @@ -986,10 +977,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-angle-double-right:before{content:'\e886'} .icon-angle-double-up:before{content:'\e887'} .icon-angle-double-down:before{content:'\e888'} -.icon-down:before{content:'\e951'} -.icon-right:before{content:'\e953'} -.icon-left:before{content:'\e952'} -.icon-up:before{content:'\e954'} .icon-down-big:before{content:'\e889'} .icon-left-big:before{content:'\e88a'} .icon-right-big:before{content:'\e88b'} @@ -1000,23 +987,19 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-down-hand:before{content:'\e890'} .icon-left-circled:before{content:'\e891'} .icon-right-circled:before{content:'\e892'} -.icon-music:before{content:'\e802'} +.icon-up-circled:before{content:'\e893'} .icon-down-circled:before{content:'\e894'} .icon-cw:before{content:'\e895'} .icon-ccw:before{content:'\e896'} .icon-refresh:before{content:'\e897'} .icon-level-up:before{content:'\e898'} -.icon-level-down:before{content:'\e955'} -.icon-shuffle:before{content:'\e956'} -.icon-exchange:before{content:'\e957'} -.icon-collapse:before{content:'\e958'} .icon-collapse-top:before{content:'\e899'} .icon-expand:before{content:'\e89a'} .icon-play:before{content:'\e89b'} .icon-play-circled:before{content:'\e89c'} .icon-play-circled2:before{content:'\e89d'} .icon-stop:before{content:'\e89e'} -.icon-pause:before{content:'\e800'} +.icon-trash:before{content:'\e89f'} .icon-to-end:before{content:'\e8a0'} .icon-to-end-alt:before{content:'\e8a1'} .icon-to-start:before{content:'\e8a2'} @@ -1024,11 +1007,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-fast-fw:before{content:'\e8a4'} .icon-fast-bw:before{content:'\e8a5'} .icon-eject:before{content:'\e8a6'} +.icon-target:before{content:'\e8a7'} .icon-signal:before{content:'\e8a8'} -.icon-award:before{content:'\e959'} -.icon-desktop:before{content:'\e95a'} -.icon-laptop:before{content:'\e90e'} -.icon-tablet:before{content:'\e95c'} .icon-mobile:before{content:'\e8a9'} .icon-inbox:before{content:'\e8aa'} .icon-globe:before{content:'\e8ab'} @@ -1040,15 +1020,11 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-flight:before{content:'\e8b1'} .icon-fighter-jet:before{content:'\e8b2'} .icon-leaf:before{content:'\e8b3'} -.icon-font:before{content:'\e8b6'} -.icon-bold:before{content:'\e8b5'} .icon-italic:before{content:'\e8b4'} +.icon-bold:before{content:'\e8b5'} +.icon-font:before{content:'\e8b6'} .icon-text-height:before{content:'\e8b7'} .icon-text-width:before{content:'\e8b8'} -.icon-align-left:before{content:'\e95d'} -.icon-align-center:before{content:'\e95e'} -.icon-align-right:before{content:'\e95f'} -.icon-align-justify:before{content:'\e960'} .icon-list:before{content:'\e8b9'} .icon-indent-left:before{content:'\e8ba'} .icon-indent-right:before{content:'\e8bb'} @@ -1065,10 +1041,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-paste:before{content:'\e8c6'} .icon-briefcase:before{content:'\e8c7'} .icon-suitcase:before{content:'\e8c8'} -.icon-ellipsis:before{content:'\e961'} -.icon-ellipsis-vert:before{content:'\e962'} -.icon-off:before{content:'\e963'} -.icon-road:before{content:'\e964'} .icon-list-alt:before{content:'\e8c9'} .icon-qrcode:before{content:'\e8ca'} .icon-barcode:before{content:'\e8cb'} @@ -1083,10 +1055,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-gift:before{content:'\e8d4'} .icon-fire:before{content:'\e8d5'} .icon-magnet:before{content:'\e8d6'} +.icon-folder:before{content:'\e8d7'} .icon-ticket:before{content:'\e8d8'} -.icon-credit-card:before{content:'\e965'} -.icon-floppy:before{content:'\e966'} -.icon-megaphone:before{content:'\e967'} .icon-key:before{content:'\e8d9'} .icon-fork:before{content:'\e8da'} .icon-rocket:before{content:'\e8db'} @@ -1140,25 +1110,57 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-extinguisher:before{content:'\e90b'} .icon-bullseye:before{content:'\e90c'} .icon-resize-full:before{content:'\e90d'} -.icon-split:before{content:'\e83d'} -.icon-target:before{content:'\e8a7'} -.icon-layers:before{content:'\e829'} +.icon-laptop:before{content:'\e90e'} .icon-chart-bar:before{content:'\e90f'} -.icon-link:before{content:'\e913'} -.icon-download:before{content:'\e822'} -.icon-upload:before{content:'\e827'} .icon-download-cloud:before{content:'\e910'} .icon-upload-cloud:before{content:'\e911'} .icon-share:before{content:'\e912'} -.icon-hdd:before{content:'\e841'} -.icon-trash:before{content:'\e89f'} -.icon-folder:before{content:'\e8d7'} -.icon-code:before{content:'\e844'} -.icon-comment:before{content:'\e83b'} -.icon-comment-alt:before{content:'\e83c'} -.icon-chat:before{content:'\e83e'} -.icon-folder-open:before{content:'\e81e'} -.icon-up-circled:before{content:'\e893'} +.icon-link:before{content:'\e913'} +.icon-help-circled:before{content:'\e939'} +.icon-info-circled:before{content:'\e93a'} +.icon-info:before{content:'\e93b'} +.icon-home:before{content:'\e93c'} +.icon-flag-empty:before{content:'\e93d'} +.icon-flag-checkered:before{content:'\e93e'} +.icon-thumbs-up:before{content:'\e93f'} +.icon-thumbs-down:before{content:'\e940'} +.icon-edit:before{content:'\e941'} +.icon-print:before{content:'\e942'} +.icon-retweet:before{content:'\e943'} +.icon-keyboard:before{content:'\e944'} +.icon-doc-text:before{content:'\e945'} +.icon-file:before{content:'\e946'} +.icon-doc-text-inv:before{content:'\e947'} +.icon-logout:before{content:'\e949'} +.icon-mic:before{content:'\e94a'} +.icon-mute:before{content:'\e94b'} +.icon-volume-off:before{content:'\e94c'} +.icon-down-dir:before{content:'\e94d'} +.icon-up-dir:before{content:'\e94e'} +.icon-left-dir:before{content:'\e94f'} +.icon-right-dir:before{content:'\e950'} +.icon-down:before{content:'\e951'} +.icon-left:before{content:'\e952'} +.icon-right:before{content:'\e953'} +.icon-up:before{content:'\e954'} +.icon-level-down:before{content:'\e955'} +.icon-shuffle:before{content:'\e956'} +.icon-exchange:before{content:'\e957'} +.icon-collapse:before{content:'\e958'} +.icon-award:before{content:'\e959'} +.icon-desktop:before{content:'\e95a'} +.icon-tablet:before{content:'\e95c'} +.icon-align-left:before{content:'\e95d'} +.icon-align-center:before{content:'\e95e'} +.icon-align-right:before{content:'\e95f'} +.icon-align-justify:before{content:'\e960'} +.icon-ellipsis:before{content:'\e961'} +.icon-ellipsis-vert:before{content:'\e962'} +.icon-off:before{content:'\e963'} +.icon-road:before{content:'\e964'} +.icon-credit-card:before{content:'\e965'} +.icon-floppy:before{content:'\e966'} +.icon-megaphone:before{content:'\e967'} .pln{color:#000} .str{color:#080} .kwd{color:#008} @@ -1195,11 +1197,11 @@ img{max-width:100%} .sequence-diagram [fill="#000"],.flow-chart [fill="#000"],.sequence-diagram [fill="#000000"],.flow-chart [fill="#000000"],.sequence-diagram [fill="black"],.flow-chart [fill="black"]{fill:#3f3f3f} code,pre{font-family:"Source Code Pro",monospace;font-size:0.9em} code{white-space:normal} -pre,pre.prettyprint{border:0 solid rgba(128,128,128,0.075);border-left:10px solid rgba(128,128,128,0.075);border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px}pre code,pre.prettyprint code{background-color:transparent !important} +pre,pre.prettyprint{border:0;padding:10px 20px;border-radius:5px}pre code,pre.prettyprint code{background-color:transparent !important} dt,dd{margin-top:5px;margin-bottom:5px} dd{margin-left:40px} table{margin-bottom:20px} -table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd} +table th,table td{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #dddddd} table th{font-weight:bold} table thead th{vertical-align:bottom} table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0} @@ -1309,8 +1311,8 @@ a.list-group-item:hover,a.list-group-item:focus{color:#343434;border-color:rgba( .navbar .nav.pull-right{float:right}.navbar .nav.pull-right>li>.dropdown-menu{right:0;left:auto}.navbar .nav.pull-right>li>.dropdown-menu .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0} .navbar .btn{height:38px;padding:6px 8px} .navbar .btn-group>.btn.disabled *,.navbar .btn-group>.btn.blocked *,.navbar .btn-group>.btn[disabled] *{color:rgba(221,221,221,0.3)} -.navbar .button-open-discussion.some{color:#e0b800} -.navbar .button-open-discussion.replied{color:#e74434} +.navbar .button-open-discussion.some{color:#e0b800 !important} +.navbar .button-open-discussion.replied{color:#e74434 !important} .navbar .file-title-navbar{display:inline-block;vertical-align:middle;padding:1px 15px;font-size:1.5em;line-height:1.4em;font-weight:200;overflow:hidden;white-space:nowrap} .navbar .input-file-title-container{display:inline-block;vertical-align:middle}.navbar .input-file-title-container .input-file-title{width:400px;font-size:16px;height:38px} .navbar .working-indicator{display:inline-block;vertical-align:middle;overflow:hidden;height:38px;width:60px;padding-top:8px}.navbar .working-indicator .bar{display:inline-block;width:14px;height:6px;border-radius:1px;margin:0 2px;opacity:0.25;background-color:rgba(221,221,221,0.75)} @@ -1384,11 +1386,12 @@ a.list-group-item:hover,a.list-group-item:focus{color:#343434;border-color:rgba( @font-face{font-family:'PT Sans';font-style:normal;font-weight:400;src:local('PT Sans'),local('PTSans'),url("../font/PTSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;src:local('PT Sans Bold'),local('PTSans-Bold'),url("../font/PTSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:400;src:local('PT Sans Italic'),local('PTSans-Italic'),url("../font/PTSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:700;src:local('PT Sans Bold Italic'),local('PTSans-BoldItalic'),url("../font/PTSans-BoldItalic-webfont.woff") format('woff')}#wmd-input{position:absolute;top:0;left:0;font-family:"PT Sans",sans-serif;line-height:1.65;letter-spacing:normal;border-radius:0;color:#5a5a5a;-webkit-box-shadow:none;box-shadow:none;resize:none;border:none;padding:0;background-color:#fcfcfc;overflow:auto;white-space:pre-wrap;word-wrap:break-word;word-break:normal}#wmd-input>.editor-content{padding-bottom:230px} #wmd-input>.editor-margin{position:absolute;top:0;left:0}#wmd-input>.editor-margin .discussion{font-size:17px;position:absolute;cursor:pointer}#wmd-input>.editor-margin .discussion.new{display:none}#wmd-input>.editor-margin .discussion.new:hover,#wmd-input>.editor-margin .discussion.new.active,#wmd-input>.editor-margin .discussion.new.active:hover{display:inline-block;color:rgba(128,128,128,0.35) !important} #wmd-input>.editor-margin .discussion.added{color:rgba(235,192,0,0.7)}#wmd-input>.editor-margin .discussion.added:hover,#wmd-input>.editor-margin .discussion.added.active,#wmd-input>.editor-margin .discussion.added.active:hover{color:#ebc000 !important} -#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:#e63b2b !important} +#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:rgba(230,59,43,0.8) !important} #wmd-input>.editor-margin .discussion.icon-split{font-size:22px}#wmd-input>.editor-margin .discussion.icon-split:before{margin-right:0} #wmd-input>.editor-margin .discussion:hover,#wmd-input>.editor-margin .discussion.active{text-decoration:none} +#wmd-input.has-selection>.editor-margin .discussion.new{display:inline-block;color:rgba(128,128,128,0.25)} #wmd-input.font-monospaced *{font-family:"Source Code Pro",monospace !important;line-height:1.65 !important;font-size:1em !important} -#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.6)} +#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.5)} #wmd-input .find-replace-select{background-color:#b5d5ff} #wmd-input .conflict{font-weight:bold;color:#e63b2b} #wmd-input .code,#wmd-input .pre{color:#343434;font:normal .9em "Source Code Pro",monospace} diff --git a/public/res-min/themes/gray.css b/public/res-min/themes/gray.css index ee024b39..a1c7b505 100644 --- a/public/res-min/themes/gray.css +++ b/public/res-min/themes/gray.css @@ -839,9 +839,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .asciidoc .hljs-emphasis,.markdown .hljs-emphasis{font-style:italic} .nginx .hljs-built_in{font-weight:normal} .coffeescript .javascript,.javascript .xml,.lasso .markup,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:0.5} -@font-face{font-family:'fontello';src:url('../font/fontello.eot?24620533');src:url('../font/fontello.eot?24620533#iefix') format('embedded-opentype'),url('../font/fontello.woff?24620533') format('woff'),url('../font/fontello.ttf?24620533') format('truetype'),url('../font/fontello.svg?24620533#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +@font-face{font-family:'fontello';src:url('../font/fontello.eot');src:url('../font/fontello.eot#iefix') format('embedded-opentype'),url('../font/fontello.woff') format('woff'),url('../font/fontello.ttf') format('truetype'),url('../font/fontello.svg#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +.icon-pause:before{content:'\e800'} .icon-glass:before{content:'\e801'} -.icon-archive:before{content:'\e859'} +.icon-music:before{content:'\e802'} .icon-search:before{content:'\e803'} .icon-mail:before{content:'\e804'} .icon-mail-alt:before{content:'\e805'} @@ -869,19 +870,18 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-ok-squared:before{content:'\e81b'} .icon-cancel:before{content:'\e81c'} .icon-cancel-circled:before{content:'\e81d'} -.icon-cancel-circled2:before{content:'\e86f'} +.icon-folder-open:before{content:'\e81e'} .icon-plus:before{content:'\e81f'} .icon-plus-circled:before{content:'\e820'} .icon-plus-squared:before{content:'\e821'} +.icon-download:before{content:'\e822'} .icon-minus:before{content:'\e823'} .icon-minus-circled:before{content:'\e824'} .icon-minus-squared:before{content:'\e825'} .icon-minus-squared-alt:before{content:'\e826'} +.icon-upload:before{content:'\e827'} .icon-help:before{content:'\e828'} -.icon-help-circled:before{content:'\e939'} -.icon-info-circled:before{content:'\e93a'} -.icon-info:before{content:'\e93b'} -.icon-home:before{content:'\e93c'} +.icon-layers:before{content:'\e829'} .icon-unlink:before{content:'\e82a'} .icon-link-ext:before{content:'\e82b'} .icon-link-ext-alt:before{content:'\e82c'} @@ -897,25 +897,24 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-bookmark:before{content:'\e836'} .icon-bookmark-empty:before{content:'\e837'} .icon-flag:before{content:'\e838'} -.icon-flag-empty:before{content:'\e93d'} -.icon-flag-checkered:before{content:'\e93e'} -.icon-thumbs-up:before{content:'\e93f'} -.icon-thumbs-down:before{content:'\e940'} .icon-thumbs-up-alt:before{content:'\e839'} .icon-thumbs-down-alt:before{content:'\e83a'} -.icon-reply:before{content:'\e845'} +.icon-comment:before{content:'\e83b'} +.icon-comment-alt:before{content:'\e83c'} +.icon-split:before{content:'\e83d'} +.icon-chat:before{content:'\e83e'} +.icon-github-circled:before{content:'\e83f'} .icon-reply-all:before{content:'\e840'} -.icon-forward:before{content:'\e856'} +.icon-hdd:before{content:'\e841'} .icon-quote-left:before{content:'\e842'} .icon-quote-right:before{content:'\e843'} +.icon-code:before{content:'\e844'} +.icon-reply:before{content:'\e845'} .icon-export-alt:before{content:'\e846'} .icon-pencil:before{content:'\e847'} .icon-pencil-squared:before{content:'\e848'} -.icon-edit:before{content:'\e941'} -.icon-print:before{content:'\e942'} -.icon-retweet:before{content:'\e943'} -.icon-keyboard:before{content:'\e944'} .icon-gamepad:before{content:'\e849'} +.icon-twitter:before{content:'\e84a'} .icon-comment-empty:before{content:'\e84c'} .icon-chat-empty:before{content:'\e84d'} .icon-bell:before{content:'\e84e'} @@ -926,11 +925,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-location:before{content:'\e853'} .icon-direction:before{content:'\e854'} .icon-compass:before{content:'\e855'} +.icon-forward:before{content:'\e856'} .icon-doc:before{content:'\e857'} .icon-docs:before{content:'\e858'} -.icon-doc-text:before{content:'\e945'} -.icon-file:before{content:'\e946'} -.icon-doc-text-inv:before{content:'\e947'} +.icon-archive:before{content:'\e859'} .icon-folder-empty:before{content:'\e85a'} .icon-folder-open-empty:before{content:'\e85b'} .icon-box:before{content:'\e85c'} @@ -946,16 +944,13 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-calendar:before{content:'\e866'} .icon-calendar-empty:before{content:'\e867'} .icon-login:before{content:'\e868'} -.icon-logout:before{content:'\e949'} -.icon-mic:before{content:'\e94a'} -.icon-mute:before{content:'\e94b'} -.icon-volume-off:before{content:'\e94c'} .icon-volume-down:before{content:'\e869'} .icon-volume-up:before{content:'\e86a'} .icon-headphones:before{content:'\e86b'} .icon-clock:before{content:'\e86c'} .icon-lightbulb:before{content:'\e86d'} .icon-block:before{content:'\e86e'} +.icon-cancel-circled2:before{content:'\e86f'} .icon-resize-full-alt:before{content:'\e870'} .icon-resize-small:before{content:'\e871'} .icon-resize-vertical:before{content:'\e872'} @@ -965,10 +960,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-zoom-out:before{content:'\e876'} .icon-down-circled2:before{content:'\e877'} .icon-up-circled2:before{content:'\e878'} -.icon-down-dir:before{content:'\e94d'} -.icon-up-dir:before{content:'\e94e'} -.icon-left-dir:before{content:'\e94f'} -.icon-right-dir:before{content:'\e950'} .icon-down-open:before{content:'\e879'} .icon-left-open:before{content:'\e87a'} .icon-right-open:before{content:'\e87b'} @@ -985,10 +976,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-angle-double-right:before{content:'\e886'} .icon-angle-double-up:before{content:'\e887'} .icon-angle-double-down:before{content:'\e888'} -.icon-down:before{content:'\e951'} -.icon-right:before{content:'\e953'} -.icon-left:before{content:'\e952'} -.icon-up:before{content:'\e954'} .icon-down-big:before{content:'\e889'} .icon-left-big:before{content:'\e88a'} .icon-right-big:before{content:'\e88b'} @@ -999,23 +986,19 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-down-hand:before{content:'\e890'} .icon-left-circled:before{content:'\e891'} .icon-right-circled:before{content:'\e892'} -.icon-music:before{content:'\e802'} +.icon-up-circled:before{content:'\e893'} .icon-down-circled:before{content:'\e894'} .icon-cw:before{content:'\e895'} .icon-ccw:before{content:'\e896'} .icon-refresh:before{content:'\e897'} .icon-level-up:before{content:'\e898'} -.icon-level-down:before{content:'\e955'} -.icon-shuffle:before{content:'\e956'} -.icon-exchange:before{content:'\e957'} -.icon-collapse:before{content:'\e958'} .icon-collapse-top:before{content:'\e899'} .icon-expand:before{content:'\e89a'} .icon-play:before{content:'\e89b'} .icon-play-circled:before{content:'\e89c'} .icon-play-circled2:before{content:'\e89d'} .icon-stop:before{content:'\e89e'} -.icon-pause:before{content:'\e800'} +.icon-trash:before{content:'\e89f'} .icon-to-end:before{content:'\e8a0'} .icon-to-end-alt:before{content:'\e8a1'} .icon-to-start:before{content:'\e8a2'} @@ -1023,11 +1006,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-fast-fw:before{content:'\e8a4'} .icon-fast-bw:before{content:'\e8a5'} .icon-eject:before{content:'\e8a6'} +.icon-target:before{content:'\e8a7'} .icon-signal:before{content:'\e8a8'} -.icon-award:before{content:'\e959'} -.icon-desktop:before{content:'\e95a'} -.icon-laptop:before{content:'\e90e'} -.icon-tablet:before{content:'\e95c'} .icon-mobile:before{content:'\e8a9'} .icon-inbox:before{content:'\e8aa'} .icon-globe:before{content:'\e8ab'} @@ -1039,15 +1019,11 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-flight:before{content:'\e8b1'} .icon-fighter-jet:before{content:'\e8b2'} .icon-leaf:before{content:'\e8b3'} -.icon-font:before{content:'\e8b6'} -.icon-bold:before{content:'\e8b5'} .icon-italic:before{content:'\e8b4'} +.icon-bold:before{content:'\e8b5'} +.icon-font:before{content:'\e8b6'} .icon-text-height:before{content:'\e8b7'} .icon-text-width:before{content:'\e8b8'} -.icon-align-left:before{content:'\e95d'} -.icon-align-center:before{content:'\e95e'} -.icon-align-right:before{content:'\e95f'} -.icon-align-justify:before{content:'\e960'} .icon-list:before{content:'\e8b9'} .icon-indent-left:before{content:'\e8ba'} .icon-indent-right:before{content:'\e8bb'} @@ -1064,10 +1040,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-paste:before{content:'\e8c6'} .icon-briefcase:before{content:'\e8c7'} .icon-suitcase:before{content:'\e8c8'} -.icon-ellipsis:before{content:'\e961'} -.icon-ellipsis-vert:before{content:'\e962'} -.icon-off:before{content:'\e963'} -.icon-road:before{content:'\e964'} .icon-list-alt:before{content:'\e8c9'} .icon-qrcode:before{content:'\e8ca'} .icon-barcode:before{content:'\e8cb'} @@ -1082,10 +1054,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-gift:before{content:'\e8d4'} .icon-fire:before{content:'\e8d5'} .icon-magnet:before{content:'\e8d6'} +.icon-folder:before{content:'\e8d7'} .icon-ticket:before{content:'\e8d8'} -.icon-credit-card:before{content:'\e965'} -.icon-floppy:before{content:'\e966'} -.icon-megaphone:before{content:'\e967'} .icon-key:before{content:'\e8d9'} .icon-fork:before{content:'\e8da'} .icon-rocket:before{content:'\e8db'} @@ -1139,25 +1109,57 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-extinguisher:before{content:'\e90b'} .icon-bullseye:before{content:'\e90c'} .icon-resize-full:before{content:'\e90d'} -.icon-split:before{content:'\e83d'} -.icon-target:before{content:'\e8a7'} -.icon-layers:before{content:'\e829'} +.icon-laptop:before{content:'\e90e'} .icon-chart-bar:before{content:'\e90f'} -.icon-link:before{content:'\e913'} -.icon-download:before{content:'\e822'} -.icon-upload:before{content:'\e827'} .icon-download-cloud:before{content:'\e910'} .icon-upload-cloud:before{content:'\e911'} .icon-share:before{content:'\e912'} -.icon-hdd:before{content:'\e841'} -.icon-trash:before{content:'\e89f'} -.icon-folder:before{content:'\e8d7'} -.icon-code:before{content:'\e844'} -.icon-comment:before{content:'\e83b'} -.icon-comment-alt:before{content:'\e83c'} -.icon-chat:before{content:'\e83e'} -.icon-folder-open:before{content:'\e81e'} -.icon-up-circled:before{content:'\e893'} +.icon-link:before{content:'\e913'} +.icon-help-circled:before{content:'\e939'} +.icon-info-circled:before{content:'\e93a'} +.icon-info:before{content:'\e93b'} +.icon-home:before{content:'\e93c'} +.icon-flag-empty:before{content:'\e93d'} +.icon-flag-checkered:before{content:'\e93e'} +.icon-thumbs-up:before{content:'\e93f'} +.icon-thumbs-down:before{content:'\e940'} +.icon-edit:before{content:'\e941'} +.icon-print:before{content:'\e942'} +.icon-retweet:before{content:'\e943'} +.icon-keyboard:before{content:'\e944'} +.icon-doc-text:before{content:'\e945'} +.icon-file:before{content:'\e946'} +.icon-doc-text-inv:before{content:'\e947'} +.icon-logout:before{content:'\e949'} +.icon-mic:before{content:'\e94a'} +.icon-mute:before{content:'\e94b'} +.icon-volume-off:before{content:'\e94c'} +.icon-down-dir:before{content:'\e94d'} +.icon-up-dir:before{content:'\e94e'} +.icon-left-dir:before{content:'\e94f'} +.icon-right-dir:before{content:'\e950'} +.icon-down:before{content:'\e951'} +.icon-left:before{content:'\e952'} +.icon-right:before{content:'\e953'} +.icon-up:before{content:'\e954'} +.icon-level-down:before{content:'\e955'} +.icon-shuffle:before{content:'\e956'} +.icon-exchange:before{content:'\e957'} +.icon-collapse:before{content:'\e958'} +.icon-award:before{content:'\e959'} +.icon-desktop:before{content:'\e95a'} +.icon-tablet:before{content:'\e95c'} +.icon-align-left:before{content:'\e95d'} +.icon-align-center:before{content:'\e95e'} +.icon-align-right:before{content:'\e95f'} +.icon-align-justify:before{content:'\e960'} +.icon-ellipsis:before{content:'\e961'} +.icon-ellipsis-vert:before{content:'\e962'} +.icon-off:before{content:'\e963'} +.icon-road:before{content:'\e964'} +.icon-credit-card:before{content:'\e965'} +.icon-floppy:before{content:'\e966'} +.icon-megaphone:before{content:'\e967'} .pln{color:#000} .str{color:#080} .kwd{color:#008} @@ -1194,11 +1196,11 @@ img{max-width:100%} .sequence-diagram [fill="#000"],.flow-chart [fill="#000"],.sequence-diagram [fill="#000000"],.flow-chart [fill="#000000"],.sequence-diagram [fill="black"],.flow-chart [fill="black"]{fill:#3f3f3f} code,pre{font-family:"Source Code Pro",monospace;font-size:0.9em} code{white-space:normal} -pre,pre.prettyprint{border:0 solid rgba(128,128,128,0.075);border-left:10px solid rgba(128,128,128,0.075);border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px}pre code,pre.prettyprint code{background-color:transparent !important} +pre,pre.prettyprint{border:0;padding:10px 20px;border-radius:5px}pre code,pre.prettyprint code{background-color:transparent !important} dt,dd{margin-top:5px;margin-bottom:5px} dd{margin-left:40px} table{margin-bottom:20px} -table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd} +table th,table td{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #dddddd} table th{font-weight:bold} table thead th{vertical-align:bottom} table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0} @@ -1308,8 +1310,8 @@ a.list-group-item:hover,a.list-group-item:focus{color:#343434;border-color:rgba( .navbar .nav.pull-right{float:right}.navbar .nav.pull-right>li>.dropdown-menu{right:0;left:auto}.navbar .nav.pull-right>li>.dropdown-menu .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0} .navbar .btn{height:38px;padding:6px 8px} .navbar .btn-group>.btn.disabled *,.navbar .btn-group>.btn.blocked *,.navbar .btn-group>.btn[disabled] *{color:rgba(77,77,77,0.3)} -.navbar .button-open-discussion.some{color:#e0b800} -.navbar .button-open-discussion.replied{color:#e74434} +.navbar .button-open-discussion.some{color:#e0b800 !important} +.navbar .button-open-discussion.replied{color:#e74434 !important} .navbar .file-title-navbar{display:inline-block;vertical-align:middle;padding:1px 15px;font-size:1.5em;line-height:1.4em;font-weight:200;overflow:hidden;white-space:nowrap} .navbar .input-file-title-container{display:inline-block;vertical-align:middle}.navbar .input-file-title-container .input-file-title{width:400px;font-size:16px;height:38px} .navbar .working-indicator{display:inline-block;vertical-align:middle;overflow:hidden;height:38px;width:60px;padding-top:8px}.navbar .working-indicator .bar{display:inline-block;width:14px;height:6px;border-radius:1px;margin:0 2px;opacity:0.25;background-color:rgba(77,77,77,0.75)} @@ -1383,11 +1385,12 @@ a.list-group-item:hover,a.list-group-item:focus{color:#343434;border-color:rgba( @font-face{font-family:'PT Sans';font-style:normal;font-weight:400;src:local('PT Sans'),local('PTSans'),url("../font/PTSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;src:local('PT Sans Bold'),local('PTSans-Bold'),url("../font/PTSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:400;src:local('PT Sans Italic'),local('PTSans-Italic'),url("../font/PTSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:700;src:local('PT Sans Bold Italic'),local('PTSans-BoldItalic'),url("../font/PTSans-BoldItalic-webfont.woff") format('woff')}#wmd-input{position:absolute;top:0;left:0;font-family:"PT Sans",sans-serif;line-height:1.65;letter-spacing:normal;border-radius:0;color:#5a5a5a;-webkit-box-shadow:none;box-shadow:none;resize:none;border:none;padding:0;background-color:#fff;overflow:auto;white-space:pre-wrap;word-wrap:break-word;word-break:normal}#wmd-input>.editor-content{padding-bottom:230px} #wmd-input>.editor-margin{position:absolute;top:0;left:0}#wmd-input>.editor-margin .discussion{font-size:17px;position:absolute;cursor:pointer}#wmd-input>.editor-margin .discussion.new{display:none}#wmd-input>.editor-margin .discussion.new:hover,#wmd-input>.editor-margin .discussion.new.active,#wmd-input>.editor-margin .discussion.new.active:hover{display:inline-block;color:rgba(128,128,128,0.35) !important} #wmd-input>.editor-margin .discussion.added{color:rgba(235,192,0,0.7)}#wmd-input>.editor-margin .discussion.added:hover,#wmd-input>.editor-margin .discussion.added.active,#wmd-input>.editor-margin .discussion.added.active:hover{color:#ebc000 !important} -#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:#e63b2b !important} +#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:rgba(230,59,43,0.8) !important} #wmd-input>.editor-margin .discussion.icon-split{font-size:22px}#wmd-input>.editor-margin .discussion.icon-split:before{margin-right:0} #wmd-input>.editor-margin .discussion:hover,#wmd-input>.editor-margin .discussion.active{text-decoration:none} +#wmd-input.has-selection>.editor-margin .discussion.new{display:inline-block;color:rgba(128,128,128,0.25)} #wmd-input.font-monospaced *{font-family:"Source Code Pro",monospace !important;line-height:1.65 !important;font-size:1em !important} -#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.6)} +#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.5)} #wmd-input .find-replace-select{background-color:#b5d5ff} #wmd-input .conflict{font-weight:bold;color:#e63b2b} #wmd-input .code,#wmd-input .pre{color:#343434;font:normal .9em "Source Code Pro",monospace} diff --git a/public/res-min/themes/night.css b/public/res-min/themes/night.css index 0fe42136..75f3d054 100644 --- a/public/res-min/themes/night.css +++ b/public/res-min/themes/night.css @@ -839,9 +839,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .asciidoc .hljs-emphasis,.markdown .hljs-emphasis{font-style:italic} .nginx .hljs-built_in{font-weight:normal} .coffeescript .javascript,.javascript .xml,.lasso .markup,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:0.5} -@font-face{font-family:'fontello';src:url('../font/fontello.eot?24620533');src:url('../font/fontello.eot?24620533#iefix') format('embedded-opentype'),url('../font/fontello.woff?24620533') format('woff'),url('../font/fontello.ttf?24620533') format('truetype'),url('../font/fontello.svg?24620533#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +@font-face{font-family:'fontello';src:url('../font/fontello.eot');src:url('../font/fontello.eot#iefix') format('embedded-opentype'),url('../font/fontello.woff') format('woff'),url('../font/fontello.ttf') format('truetype'),url('../font/fontello.svg#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +.icon-pause:before{content:'\e800'} .icon-glass:before{content:'\e801'} -.icon-archive:before{content:'\e859'} +.icon-music:before{content:'\e802'} .icon-search:before{content:'\e803'} .icon-mail:before{content:'\e804'} .icon-mail-alt:before{content:'\e805'} @@ -869,19 +870,18 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-ok-squared:before{content:'\e81b'} .icon-cancel:before{content:'\e81c'} .icon-cancel-circled:before{content:'\e81d'} -.icon-cancel-circled2:before{content:'\e86f'} +.icon-folder-open:before{content:'\e81e'} .icon-plus:before{content:'\e81f'} .icon-plus-circled:before{content:'\e820'} .icon-plus-squared:before{content:'\e821'} +.icon-download:before{content:'\e822'} .icon-minus:before{content:'\e823'} .icon-minus-circled:before{content:'\e824'} .icon-minus-squared:before{content:'\e825'} .icon-minus-squared-alt:before{content:'\e826'} +.icon-upload:before{content:'\e827'} .icon-help:before{content:'\e828'} -.icon-help-circled:before{content:'\e939'} -.icon-info-circled:before{content:'\e93a'} -.icon-info:before{content:'\e93b'} -.icon-home:before{content:'\e93c'} +.icon-layers:before{content:'\e829'} .icon-unlink:before{content:'\e82a'} .icon-link-ext:before{content:'\e82b'} .icon-link-ext-alt:before{content:'\e82c'} @@ -897,25 +897,24 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-bookmark:before{content:'\e836'} .icon-bookmark-empty:before{content:'\e837'} .icon-flag:before{content:'\e838'} -.icon-flag-empty:before{content:'\e93d'} -.icon-flag-checkered:before{content:'\e93e'} -.icon-thumbs-up:before{content:'\e93f'} -.icon-thumbs-down:before{content:'\e940'} .icon-thumbs-up-alt:before{content:'\e839'} .icon-thumbs-down-alt:before{content:'\e83a'} -.icon-reply:before{content:'\e845'} +.icon-comment:before{content:'\e83b'} +.icon-comment-alt:before{content:'\e83c'} +.icon-split:before{content:'\e83d'} +.icon-chat:before{content:'\e83e'} +.icon-github-circled:before{content:'\e83f'} .icon-reply-all:before{content:'\e840'} -.icon-forward:before{content:'\e856'} +.icon-hdd:before{content:'\e841'} .icon-quote-left:before{content:'\e842'} .icon-quote-right:before{content:'\e843'} +.icon-code:before{content:'\e844'} +.icon-reply:before{content:'\e845'} .icon-export-alt:before{content:'\e846'} .icon-pencil:before{content:'\e847'} .icon-pencil-squared:before{content:'\e848'} -.icon-edit:before{content:'\e941'} -.icon-print:before{content:'\e942'} -.icon-retweet:before{content:'\e943'} -.icon-keyboard:before{content:'\e944'} .icon-gamepad:before{content:'\e849'} +.icon-twitter:before{content:'\e84a'} .icon-comment-empty:before{content:'\e84c'} .icon-chat-empty:before{content:'\e84d'} .icon-bell:before{content:'\e84e'} @@ -926,11 +925,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-location:before{content:'\e853'} .icon-direction:before{content:'\e854'} .icon-compass:before{content:'\e855'} +.icon-forward:before{content:'\e856'} .icon-doc:before{content:'\e857'} .icon-docs:before{content:'\e858'} -.icon-doc-text:before{content:'\e945'} -.icon-file:before{content:'\e946'} -.icon-doc-text-inv:before{content:'\e947'} +.icon-archive:before{content:'\e859'} .icon-folder-empty:before{content:'\e85a'} .icon-folder-open-empty:before{content:'\e85b'} .icon-box:before{content:'\e85c'} @@ -946,16 +944,13 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-calendar:before{content:'\e866'} .icon-calendar-empty:before{content:'\e867'} .icon-login:before{content:'\e868'} -.icon-logout:before{content:'\e949'} -.icon-mic:before{content:'\e94a'} -.icon-mute:before{content:'\e94b'} -.icon-volume-off:before{content:'\e94c'} .icon-volume-down:before{content:'\e869'} .icon-volume-up:before{content:'\e86a'} .icon-headphones:before{content:'\e86b'} .icon-clock:before{content:'\e86c'} .icon-lightbulb:before{content:'\e86d'} .icon-block:before{content:'\e86e'} +.icon-cancel-circled2:before{content:'\e86f'} .icon-resize-full-alt:before{content:'\e870'} .icon-resize-small:before{content:'\e871'} .icon-resize-vertical:before{content:'\e872'} @@ -965,10 +960,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-zoom-out:before{content:'\e876'} .icon-down-circled2:before{content:'\e877'} .icon-up-circled2:before{content:'\e878'} -.icon-down-dir:before{content:'\e94d'} -.icon-up-dir:before{content:'\e94e'} -.icon-left-dir:before{content:'\e94f'} -.icon-right-dir:before{content:'\e950'} .icon-down-open:before{content:'\e879'} .icon-left-open:before{content:'\e87a'} .icon-right-open:before{content:'\e87b'} @@ -985,10 +976,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-angle-double-right:before{content:'\e886'} .icon-angle-double-up:before{content:'\e887'} .icon-angle-double-down:before{content:'\e888'} -.icon-down:before{content:'\e951'} -.icon-right:before{content:'\e953'} -.icon-left:before{content:'\e952'} -.icon-up:before{content:'\e954'} .icon-down-big:before{content:'\e889'} .icon-left-big:before{content:'\e88a'} .icon-right-big:before{content:'\e88b'} @@ -999,23 +986,19 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-down-hand:before{content:'\e890'} .icon-left-circled:before{content:'\e891'} .icon-right-circled:before{content:'\e892'} -.icon-music:before{content:'\e802'} +.icon-up-circled:before{content:'\e893'} .icon-down-circled:before{content:'\e894'} .icon-cw:before{content:'\e895'} .icon-ccw:before{content:'\e896'} .icon-refresh:before{content:'\e897'} .icon-level-up:before{content:'\e898'} -.icon-level-down:before{content:'\e955'} -.icon-shuffle:before{content:'\e956'} -.icon-exchange:before{content:'\e957'} -.icon-collapse:before{content:'\e958'} .icon-collapse-top:before{content:'\e899'} .icon-expand:before{content:'\e89a'} .icon-play:before{content:'\e89b'} .icon-play-circled:before{content:'\e89c'} .icon-play-circled2:before{content:'\e89d'} .icon-stop:before{content:'\e89e'} -.icon-pause:before{content:'\e800'} +.icon-trash:before{content:'\e89f'} .icon-to-end:before{content:'\e8a0'} .icon-to-end-alt:before{content:'\e8a1'} .icon-to-start:before{content:'\e8a2'} @@ -1023,11 +1006,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-fast-fw:before{content:'\e8a4'} .icon-fast-bw:before{content:'\e8a5'} .icon-eject:before{content:'\e8a6'} +.icon-target:before{content:'\e8a7'} .icon-signal:before{content:'\e8a8'} -.icon-award:before{content:'\e959'} -.icon-desktop:before{content:'\e95a'} -.icon-laptop:before{content:'\e90e'} -.icon-tablet:before{content:'\e95c'} .icon-mobile:before{content:'\e8a9'} .icon-inbox:before{content:'\e8aa'} .icon-globe:before{content:'\e8ab'} @@ -1039,15 +1019,11 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-flight:before{content:'\e8b1'} .icon-fighter-jet:before{content:'\e8b2'} .icon-leaf:before{content:'\e8b3'} -.icon-font:before{content:'\e8b6'} -.icon-bold:before{content:'\e8b5'} .icon-italic:before{content:'\e8b4'} +.icon-bold:before{content:'\e8b5'} +.icon-font:before{content:'\e8b6'} .icon-text-height:before{content:'\e8b7'} .icon-text-width:before{content:'\e8b8'} -.icon-align-left:before{content:'\e95d'} -.icon-align-center:before{content:'\e95e'} -.icon-align-right:before{content:'\e95f'} -.icon-align-justify:before{content:'\e960'} .icon-list:before{content:'\e8b9'} .icon-indent-left:before{content:'\e8ba'} .icon-indent-right:before{content:'\e8bb'} @@ -1064,10 +1040,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-paste:before{content:'\e8c6'} .icon-briefcase:before{content:'\e8c7'} .icon-suitcase:before{content:'\e8c8'} -.icon-ellipsis:before{content:'\e961'} -.icon-ellipsis-vert:before{content:'\e962'} -.icon-off:before{content:'\e963'} -.icon-road:before{content:'\e964'} .icon-list-alt:before{content:'\e8c9'} .icon-qrcode:before{content:'\e8ca'} .icon-barcode:before{content:'\e8cb'} @@ -1082,10 +1054,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-gift:before{content:'\e8d4'} .icon-fire:before{content:'\e8d5'} .icon-magnet:before{content:'\e8d6'} +.icon-folder:before{content:'\e8d7'} .icon-ticket:before{content:'\e8d8'} -.icon-credit-card:before{content:'\e965'} -.icon-floppy:before{content:'\e966'} -.icon-megaphone:before{content:'\e967'} .icon-key:before{content:'\e8d9'} .icon-fork:before{content:'\e8da'} .icon-rocket:before{content:'\e8db'} @@ -1139,25 +1109,57 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-extinguisher:before{content:'\e90b'} .icon-bullseye:before{content:'\e90c'} .icon-resize-full:before{content:'\e90d'} -.icon-split:before{content:'\e83d'} -.icon-target:before{content:'\e8a7'} -.icon-layers:before{content:'\e829'} +.icon-laptop:before{content:'\e90e'} .icon-chart-bar:before{content:'\e90f'} -.icon-link:before{content:'\e913'} -.icon-download:before{content:'\e822'} -.icon-upload:before{content:'\e827'} .icon-download-cloud:before{content:'\e910'} .icon-upload-cloud:before{content:'\e911'} .icon-share:before{content:'\e912'} -.icon-hdd:before{content:'\e841'} -.icon-trash:before{content:'\e89f'} -.icon-folder:before{content:'\e8d7'} -.icon-code:before{content:'\e844'} -.icon-comment:before{content:'\e83b'} -.icon-comment-alt:before{content:'\e83c'} -.icon-chat:before{content:'\e83e'} -.icon-folder-open:before{content:'\e81e'} -.icon-up-circled:before{content:'\e893'} +.icon-link:before{content:'\e913'} +.icon-help-circled:before{content:'\e939'} +.icon-info-circled:before{content:'\e93a'} +.icon-info:before{content:'\e93b'} +.icon-home:before{content:'\e93c'} +.icon-flag-empty:before{content:'\e93d'} +.icon-flag-checkered:before{content:'\e93e'} +.icon-thumbs-up:before{content:'\e93f'} +.icon-thumbs-down:before{content:'\e940'} +.icon-edit:before{content:'\e941'} +.icon-print:before{content:'\e942'} +.icon-retweet:before{content:'\e943'} +.icon-keyboard:before{content:'\e944'} +.icon-doc-text:before{content:'\e945'} +.icon-file:before{content:'\e946'} +.icon-doc-text-inv:before{content:'\e947'} +.icon-logout:before{content:'\e949'} +.icon-mic:before{content:'\e94a'} +.icon-mute:before{content:'\e94b'} +.icon-volume-off:before{content:'\e94c'} +.icon-down-dir:before{content:'\e94d'} +.icon-up-dir:before{content:'\e94e'} +.icon-left-dir:before{content:'\e94f'} +.icon-right-dir:before{content:'\e950'} +.icon-down:before{content:'\e951'} +.icon-left:before{content:'\e952'} +.icon-right:before{content:'\e953'} +.icon-up:before{content:'\e954'} +.icon-level-down:before{content:'\e955'} +.icon-shuffle:before{content:'\e956'} +.icon-exchange:before{content:'\e957'} +.icon-collapse:before{content:'\e958'} +.icon-award:before{content:'\e959'} +.icon-desktop:before{content:'\e95a'} +.icon-tablet:before{content:'\e95c'} +.icon-align-left:before{content:'\e95d'} +.icon-align-center:before{content:'\e95e'} +.icon-align-right:before{content:'\e95f'} +.icon-align-justify:before{content:'\e960'} +.icon-ellipsis:before{content:'\e961'} +.icon-ellipsis-vert:before{content:'\e962'} +.icon-off:before{content:'\e963'} +.icon-road:before{content:'\e964'} +.icon-credit-card:before{content:'\e965'} +.icon-floppy:before{content:'\e966'} +.icon-megaphone:before{content:'\e967'} .pln{color:#000} .str{color:#080} .kwd{color:#008} @@ -1194,11 +1196,11 @@ img{max-width:100%} .sequence-diagram [fill="#000"],.flow-chart [fill="#000"],.sequence-diagram [fill="#000000"],.flow-chart [fill="#000000"],.sequence-diagram [fill="black"],.flow-chart [fill="black"]{fill:#9f9f9f} code,pre{font-family:"Source Code Pro",monospace;font-size:0.9em} code{white-space:normal} -pre,pre.prettyprint{border:0 solid #6e6e6e;border-left:10px solid #6e6e6e;border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px}pre code,pre.prettyprint code{background-color:transparent !important} +pre,pre.prettyprint{border:0;padding:10px 20px;border-radius:5px}pre code,pre.prettyprint code{background-color:transparent !important} dt,dd{margin-top:5px;margin-bottom:5px} dd{margin-left:40px} table{margin-bottom:20px} -table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd} +table th,table td{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #dddddd} table th{font-weight:bold} table thead th{vertical-align:bottom} table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0} @@ -1308,8 +1310,8 @@ a.list-group-item:hover,a.list-group-item:focus{color:#b3b3b3;border-color:rgba( .navbar .nav.pull-right{float:right}.navbar .nav.pull-right>li>.dropdown-menu{right:0;left:auto}.navbar .nav.pull-right>li>.dropdown-menu .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0} .navbar .btn{height:38px;padding:6px 8px} .navbar .btn-group>.btn.disabled *,.navbar .btn-group>.btn.blocked *,.navbar .btn-group>.btn[disabled] *{color:rgba(204,204,204,0.3)} -.navbar .button-open-discussion.some{color:#e0b800} -.navbar .button-open-discussion.replied{color:#e74434} +.navbar .button-open-discussion.some{color:#e0b800 !important} +.navbar .button-open-discussion.replied{color:#e74434 !important} .navbar .file-title-navbar{display:inline-block;vertical-align:middle;padding:1px 15px;font-size:1.5em;line-height:1.4em;font-weight:200;overflow:hidden;white-space:nowrap} .navbar .input-file-title-container{display:inline-block;vertical-align:middle}.navbar .input-file-title-container .input-file-title{width:400px;font-size:16px;height:38px} .navbar .working-indicator{display:inline-block;vertical-align:middle;overflow:hidden;height:38px;width:60px;padding-top:8px}.navbar .working-indicator .bar{display:inline-block;width:14px;height:6px;border-radius:1px;margin:0 2px;opacity:0.25;background-color:rgba(204,204,204,0.75)} @@ -1383,11 +1385,12 @@ a.list-group-item:hover,a.list-group-item:focus{color:#b3b3b3;border-color:rgba( @font-face{font-family:'PT Sans';font-style:normal;font-weight:400;src:local('PT Sans'),local('PTSans'),url("../font/PTSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;src:local('PT Sans Bold'),local('PTSans-Bold'),url("../font/PTSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:400;src:local('PT Sans Italic'),local('PTSans-Italic'),url("../font/PTSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:700;src:local('PT Sans Bold Italic'),local('PTSans-BoldItalic'),url("../font/PTSans-BoldItalic-webfont.woff") format('woff')}#wmd-input{position:absolute;top:0;left:0;font-family:"PT Sans",sans-serif;line-height:1.65;letter-spacing:normal;border-radius:0;color:#dfdfdf;-webkit-box-shadow:none;box-shadow:none;resize:none;border:none;padding:0;background-color:#1e1e1e;overflow:auto;white-space:pre-wrap;word-wrap:break-word;word-break:normal}#wmd-input>.editor-content{padding-bottom:230px} #wmd-input>.editor-margin{position:absolute;top:0;left:0}#wmd-input>.editor-margin .discussion{font-size:17px;position:absolute;cursor:pointer}#wmd-input>.editor-margin .discussion.new{display:none}#wmd-input>.editor-margin .discussion.new:hover,#wmd-input>.editor-margin .discussion.new.active,#wmd-input>.editor-margin .discussion.new.active:hover{display:inline-block;color:rgba(159,159,159,0.35) !important} #wmd-input>.editor-margin .discussion.added{color:rgba(235,192,0,0.7)}#wmd-input>.editor-margin .discussion.added:hover,#wmd-input>.editor-margin .discussion.added.active,#wmd-input>.editor-margin .discussion.added.active:hover{color:#ebc000 !important} -#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:#e63b2b !important} +#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:rgba(230,59,43,0.8) !important} #wmd-input>.editor-margin .discussion.icon-split{font-size:22px}#wmd-input>.editor-margin .discussion.icon-split:before{margin-right:0} #wmd-input>.editor-margin .discussion:hover,#wmd-input>.editor-margin .discussion.active{text-decoration:none} +#wmd-input.has-selection>.editor-margin .discussion.new{display:inline-block;color:rgba(159,159,159,0.25)} #wmd-input.font-monospaced *{font-family:"Source Code Pro",monospace !important;line-height:1.65 !important;font-size:1em !important} -#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.6)} +#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.5)} #wmd-input .find-replace-select{background-color:#b5d5ff} #wmd-input .conflict{font-weight:bold;color:#e63b2b} #wmd-input .code,#wmd-input .pre{color:#fff;font:normal .9em "Source Code Pro",monospace} diff --git a/public/res-min/themes/school.css b/public/res-min/themes/school.css index 18061c97..ecf08e7f 100644 --- a/public/res-min/themes/school.css +++ b/public/res-min/themes/school.css @@ -839,9 +839,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .asciidoc .hljs-emphasis,.markdown .hljs-emphasis{font-style:italic} .nginx .hljs-built_in{font-weight:normal} .coffeescript .javascript,.javascript .xml,.lasso .markup,.tex .hljs-formula,.xml .javascript,.xml .vbscript,.xml .css,.xml .hljs-cdata{opacity:0.5} -@font-face{font-family:'fontello';src:url('../font/fontello.eot?24620533');src:url('../font/fontello.eot?24620533#iefix') format('embedded-opentype'),url('../font/fontello.woff?24620533') format('woff'),url('../font/fontello.ttf?24620533') format('truetype'),url('../font/fontello.svg?24620533#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +@font-face{font-family:'fontello';src:url('../font/fontello.eot');src:url('../font/fontello.eot#iefix') format('embedded-opentype'),url('../font/fontello.woff') format('woff'),url('../font/fontello.ttf') format('truetype'),url('../font/fontello.svg#fontello') format('svg');font-weight:normal;font-style:normal}[class^="icon-"]:before,[class*=" icon-"]:before{font-family:"fontello";font-style:normal;font-weight:normal;speak:none;display:inline-block;text-decoration:inherit;width:1em;margin-right:.2em;text-align:center;font-variant:normal;text-transform:none;line-height:1em;margin-left:.2em;} +.icon-pause:before{content:'\e800'} .icon-glass:before{content:'\e801'} -.icon-archive:before{content:'\e859'} +.icon-music:before{content:'\e802'} .icon-search:before{content:'\e803'} .icon-mail:before{content:'\e804'} .icon-mail-alt:before{content:'\e805'} @@ -869,19 +870,18 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-ok-squared:before{content:'\e81b'} .icon-cancel:before{content:'\e81c'} .icon-cancel-circled:before{content:'\e81d'} -.icon-cancel-circled2:before{content:'\e86f'} +.icon-folder-open:before{content:'\e81e'} .icon-plus:before{content:'\e81f'} .icon-plus-circled:before{content:'\e820'} .icon-plus-squared:before{content:'\e821'} +.icon-download:before{content:'\e822'} .icon-minus:before{content:'\e823'} .icon-minus-circled:before{content:'\e824'} .icon-minus-squared:before{content:'\e825'} .icon-minus-squared-alt:before{content:'\e826'} +.icon-upload:before{content:'\e827'} .icon-help:before{content:'\e828'} -.icon-help-circled:before{content:'\e939'} -.icon-info-circled:before{content:'\e93a'} -.icon-info:before{content:'\e93b'} -.icon-home:before{content:'\e93c'} +.icon-layers:before{content:'\e829'} .icon-unlink:before{content:'\e82a'} .icon-link-ext:before{content:'\e82b'} .icon-link-ext-alt:before{content:'\e82c'} @@ -897,25 +897,24 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-bookmark:before{content:'\e836'} .icon-bookmark-empty:before{content:'\e837'} .icon-flag:before{content:'\e838'} -.icon-flag-empty:before{content:'\e93d'} -.icon-flag-checkered:before{content:'\e93e'} -.icon-thumbs-up:before{content:'\e93f'} -.icon-thumbs-down:before{content:'\e940'} .icon-thumbs-up-alt:before{content:'\e839'} .icon-thumbs-down-alt:before{content:'\e83a'} -.icon-reply:before{content:'\e845'} +.icon-comment:before{content:'\e83b'} +.icon-comment-alt:before{content:'\e83c'} +.icon-split:before{content:'\e83d'} +.icon-chat:before{content:'\e83e'} +.icon-github-circled:before{content:'\e83f'} .icon-reply-all:before{content:'\e840'} -.icon-forward:before{content:'\e856'} +.icon-hdd:before{content:'\e841'} .icon-quote-left:before{content:'\e842'} .icon-quote-right:before{content:'\e843'} +.icon-code:before{content:'\e844'} +.icon-reply:before{content:'\e845'} .icon-export-alt:before{content:'\e846'} .icon-pencil:before{content:'\e847'} .icon-pencil-squared:before{content:'\e848'} -.icon-edit:before{content:'\e941'} -.icon-print:before{content:'\e942'} -.icon-retweet:before{content:'\e943'} -.icon-keyboard:before{content:'\e944'} .icon-gamepad:before{content:'\e849'} +.icon-twitter:before{content:'\e84a'} .icon-comment-empty:before{content:'\e84c'} .icon-chat-empty:before{content:'\e84d'} .icon-bell:before{content:'\e84e'} @@ -926,11 +925,10 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-location:before{content:'\e853'} .icon-direction:before{content:'\e854'} .icon-compass:before{content:'\e855'} +.icon-forward:before{content:'\e856'} .icon-doc:before{content:'\e857'} .icon-docs:before{content:'\e858'} -.icon-doc-text:before{content:'\e945'} -.icon-file:before{content:'\e946'} -.icon-doc-text-inv:before{content:'\e947'} +.icon-archive:before{content:'\e859'} .icon-folder-empty:before{content:'\e85a'} .icon-folder-open-empty:before{content:'\e85b'} .icon-box:before{content:'\e85c'} @@ -946,16 +944,13 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-calendar:before{content:'\e866'} .icon-calendar-empty:before{content:'\e867'} .icon-login:before{content:'\e868'} -.icon-logout:before{content:'\e949'} -.icon-mic:before{content:'\e94a'} -.icon-mute:before{content:'\e94b'} -.icon-volume-off:before{content:'\e94c'} .icon-volume-down:before{content:'\e869'} .icon-volume-up:before{content:'\e86a'} .icon-headphones:before{content:'\e86b'} .icon-clock:before{content:'\e86c'} .icon-lightbulb:before{content:'\e86d'} .icon-block:before{content:'\e86e'} +.icon-cancel-circled2:before{content:'\e86f'} .icon-resize-full-alt:before{content:'\e870'} .icon-resize-small:before{content:'\e871'} .icon-resize-vertical:before{content:'\e872'} @@ -965,10 +960,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-zoom-out:before{content:'\e876'} .icon-down-circled2:before{content:'\e877'} .icon-up-circled2:before{content:'\e878'} -.icon-down-dir:before{content:'\e94d'} -.icon-up-dir:before{content:'\e94e'} -.icon-left-dir:before{content:'\e94f'} -.icon-right-dir:before{content:'\e950'} .icon-down-open:before{content:'\e879'} .icon-left-open:before{content:'\e87a'} .icon-right-open:before{content:'\e87b'} @@ -985,10 +976,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-angle-double-right:before{content:'\e886'} .icon-angle-double-up:before{content:'\e887'} .icon-angle-double-down:before{content:'\e888'} -.icon-down:before{content:'\e951'} -.icon-right:before{content:'\e953'} -.icon-left:before{content:'\e952'} -.icon-up:before{content:'\e954'} .icon-down-big:before{content:'\e889'} .icon-left-big:before{content:'\e88a'} .icon-right-big:before{content:'\e88b'} @@ -999,23 +986,19 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-down-hand:before{content:'\e890'} .icon-left-circled:before{content:'\e891'} .icon-right-circled:before{content:'\e892'} -.icon-music:before{content:'\e802'} +.icon-up-circled:before{content:'\e893'} .icon-down-circled:before{content:'\e894'} .icon-cw:before{content:'\e895'} .icon-ccw:before{content:'\e896'} .icon-refresh:before{content:'\e897'} .icon-level-up:before{content:'\e898'} -.icon-level-down:before{content:'\e955'} -.icon-shuffle:before{content:'\e956'} -.icon-exchange:before{content:'\e957'} -.icon-collapse:before{content:'\e958'} .icon-collapse-top:before{content:'\e899'} .icon-expand:before{content:'\e89a'} .icon-play:before{content:'\e89b'} .icon-play-circled:before{content:'\e89c'} .icon-play-circled2:before{content:'\e89d'} .icon-stop:before{content:'\e89e'} -.icon-pause:before{content:'\e800'} +.icon-trash:before{content:'\e89f'} .icon-to-end:before{content:'\e8a0'} .icon-to-end-alt:before{content:'\e8a1'} .icon-to-start:before{content:'\e8a2'} @@ -1023,11 +1006,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-fast-fw:before{content:'\e8a4'} .icon-fast-bw:before{content:'\e8a5'} .icon-eject:before{content:'\e8a6'} +.icon-target:before{content:'\e8a7'} .icon-signal:before{content:'\e8a8'} -.icon-award:before{content:'\e959'} -.icon-desktop:before{content:'\e95a'} -.icon-laptop:before{content:'\e90e'} -.icon-tablet:before{content:'\e95c'} .icon-mobile:before{content:'\e8a9'} .icon-inbox:before{content:'\e8aa'} .icon-globe:before{content:'\e8ab'} @@ -1039,15 +1019,11 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-flight:before{content:'\e8b1'} .icon-fighter-jet:before{content:'\e8b2'} .icon-leaf:before{content:'\e8b3'} -.icon-font:before{content:'\e8b6'} -.icon-bold:before{content:'\e8b5'} .icon-italic:before{content:'\e8b4'} +.icon-bold:before{content:'\e8b5'} +.icon-font:before{content:'\e8b6'} .icon-text-height:before{content:'\e8b7'} .icon-text-width:before{content:'\e8b8'} -.icon-align-left:before{content:'\e95d'} -.icon-align-center:before{content:'\e95e'} -.icon-align-right:before{content:'\e95f'} -.icon-align-justify:before{content:'\e960'} .icon-list:before{content:'\e8b9'} .icon-indent-left:before{content:'\e8ba'} .icon-indent-right:before{content:'\e8bb'} @@ -1064,10 +1040,6 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-paste:before{content:'\e8c6'} .icon-briefcase:before{content:'\e8c7'} .icon-suitcase:before{content:'\e8c8'} -.icon-ellipsis:before{content:'\e961'} -.icon-ellipsis-vert:before{content:'\e962'} -.icon-off:before{content:'\e963'} -.icon-road:before{content:'\e964'} .icon-list-alt:before{content:'\e8c9'} .icon-qrcode:before{content:'\e8ca'} .icon-barcode:before{content:'\e8cb'} @@ -1082,10 +1054,8 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-gift:before{content:'\e8d4'} .icon-fire:before{content:'\e8d5'} .icon-magnet:before{content:'\e8d6'} +.icon-folder:before{content:'\e8d7'} .icon-ticket:before{content:'\e8d8'} -.icon-credit-card:before{content:'\e965'} -.icon-floppy:before{content:'\e966'} -.icon-megaphone:before{content:'\e967'} .icon-key:before{content:'\e8d9'} .icon-fork:before{content:'\e8da'} .icon-rocket:before{content:'\e8db'} @@ -1139,25 +1109,57 @@ button.close{padding:0;cursor:pointer;background:transparent;border:0;-webkit-ap .icon-extinguisher:before{content:'\e90b'} .icon-bullseye:before{content:'\e90c'} .icon-resize-full:before{content:'\e90d'} -.icon-split:before{content:'\e83d'} -.icon-target:before{content:'\e8a7'} -.icon-layers:before{content:'\e829'} +.icon-laptop:before{content:'\e90e'} .icon-chart-bar:before{content:'\e90f'} -.icon-link:before{content:'\e913'} -.icon-download:before{content:'\e822'} -.icon-upload:before{content:'\e827'} .icon-download-cloud:before{content:'\e910'} .icon-upload-cloud:before{content:'\e911'} .icon-share:before{content:'\e912'} -.icon-hdd:before{content:'\e841'} -.icon-trash:before{content:'\e89f'} -.icon-folder:before{content:'\e8d7'} -.icon-code:before{content:'\e844'} -.icon-comment:before{content:'\e83b'} -.icon-comment-alt:before{content:'\e83c'} -.icon-chat:before{content:'\e83e'} -.icon-folder-open:before{content:'\e81e'} -.icon-up-circled:before{content:'\e893'} +.icon-link:before{content:'\e913'} +.icon-help-circled:before{content:'\e939'} +.icon-info-circled:before{content:'\e93a'} +.icon-info:before{content:'\e93b'} +.icon-home:before{content:'\e93c'} +.icon-flag-empty:before{content:'\e93d'} +.icon-flag-checkered:before{content:'\e93e'} +.icon-thumbs-up:before{content:'\e93f'} +.icon-thumbs-down:before{content:'\e940'} +.icon-edit:before{content:'\e941'} +.icon-print:before{content:'\e942'} +.icon-retweet:before{content:'\e943'} +.icon-keyboard:before{content:'\e944'} +.icon-doc-text:before{content:'\e945'} +.icon-file:before{content:'\e946'} +.icon-doc-text-inv:before{content:'\e947'} +.icon-logout:before{content:'\e949'} +.icon-mic:before{content:'\e94a'} +.icon-mute:before{content:'\e94b'} +.icon-volume-off:before{content:'\e94c'} +.icon-down-dir:before{content:'\e94d'} +.icon-up-dir:before{content:'\e94e'} +.icon-left-dir:before{content:'\e94f'} +.icon-right-dir:before{content:'\e950'} +.icon-down:before{content:'\e951'} +.icon-left:before{content:'\e952'} +.icon-right:before{content:'\e953'} +.icon-up:before{content:'\e954'} +.icon-level-down:before{content:'\e955'} +.icon-shuffle:before{content:'\e956'} +.icon-exchange:before{content:'\e957'} +.icon-collapse:before{content:'\e958'} +.icon-award:before{content:'\e959'} +.icon-desktop:before{content:'\e95a'} +.icon-tablet:before{content:'\e95c'} +.icon-align-left:before{content:'\e95d'} +.icon-align-center:before{content:'\e95e'} +.icon-align-right:before{content:'\e95f'} +.icon-align-justify:before{content:'\e960'} +.icon-ellipsis:before{content:'\e961'} +.icon-ellipsis-vert:before{content:'\e962'} +.icon-off:before{content:'\e963'} +.icon-road:before{content:'\e964'} +.icon-credit-card:before{content:'\e965'} +.icon-floppy:before{content:'\e966'} +.icon-megaphone:before{content:'\e967'} .pln{color:#000} .str{color:#080} .kwd{color:#008} @@ -1194,11 +1196,11 @@ img{max-width:100%} .sequence-diagram [fill="#000"],.flow-chart [fill="#000"],.sequence-diagram [fill="#000000"],.flow-chart [fill="#000000"],.sequence-diagram [fill="black"],.flow-chart [fill="black"]{fill:#112130} code,pre{font-family:"Source Code Pro",monospace;font-size:0.9em} code{white-space:normal} -pre,pre.prettyprint{border:0 solid rgba(143,134,104,0.075);border-left:10px solid rgba(143,134,104,0.075);border-radius:0;border-top-right-radius:5px;border-bottom-right-radius:5px;padding:10px 15px}pre code,pre.prettyprint code{background-color:transparent !important} +pre,pre.prettyprint{border:0;padding:10px 20px;border-radius:5px}pre code,pre.prettyprint code{background-color:transparent !important} dt,dd{margin-top:5px;margin-bottom:5px} dd{margin-left:40px} table{margin-bottom:20px} -table th,table td{padding:8px;line-height:20px;text-align:left;vertical-align:top;border-top:1px solid #dddddd} +table th,table td{padding:8px;line-height:20px;vertical-align:top;border-top:1px solid #dddddd} table th{font-weight:bold} table thead th{vertical-align:bottom} table caption+thead tr:first-child th,table caption+thead tr:first-child td,table colgroup+thead tr:first-child th,table colgroup+thead tr:first-child td,table thead:first-child tr:first-child th,table thead:first-child tr:first-child td{border-top:0} @@ -1308,8 +1310,8 @@ a.list-group-item:hover,a.list-group-item:focus{color:#2d2d2d;border-color:rgba( .navbar .nav.pull-right{float:right}.navbar .nav.pull-right>li>.dropdown-menu{right:0;left:auto}.navbar .nav.pull-right>li>.dropdown-menu .dropdown-menu{right:100%;left:auto;margin-right:-1px;margin-left:0} .navbar .btn{height:38px;padding:6px 8px} .navbar .btn-group>.btn.disabled *,.navbar .btn-group>.btn.blocked *,.navbar .btn-group>.btn[disabled] *{color:rgba(221,221,221,0.3)} -.navbar .button-open-discussion.some{color:#e0b800} -.navbar .button-open-discussion.replied{color:#e74434} +.navbar .button-open-discussion.some{color:#e0b800 !important} +.navbar .button-open-discussion.replied{color:#e74434 !important} .navbar .file-title-navbar{display:inline-block;vertical-align:middle;padding:1px 15px;font-size:1.5em;line-height:1.4em;font-weight:200;overflow:hidden;white-space:nowrap} .navbar .input-file-title-container{display:inline-block;vertical-align:middle}.navbar .input-file-title-container .input-file-title{width:400px;font-size:16px;height:38px} .navbar .working-indicator{display:inline-block;vertical-align:middle;overflow:hidden;height:38px;width:60px;padding-top:8px}.navbar .working-indicator .bar{display:inline-block;width:14px;height:6px;border-radius:1px;margin:0 2px;opacity:0.25;background-color:rgba(221,221,221,0.75)} @@ -1383,11 +1385,12 @@ a.list-group-item:hover,a.list-group-item:focus{color:#2d2d2d;border-color:rgba( @font-face{font-family:'PT Sans';font-style:normal;font-weight:400;src:local('PT Sans'),local('PTSans'),url("../font/PTSans-Regular-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:normal;font-weight:700;src:local('PT Sans Bold'),local('PTSans-Bold'),url("../font/PTSans-Bold-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:400;src:local('PT Sans Italic'),local('PTSans-Italic'),url("../font/PTSans-Italic-webfont.woff") format('woff')}@font-face{font-family:'PT Sans';font-style:italic;font-weight:700;src:local('PT Sans Bold Italic'),local('PTSans-BoldItalic'),url("../font/PTSans-BoldItalic-webfont.woff") format('woff')}#wmd-input{position:absolute;top:0;left:0;font-family:"PT Sans",sans-serif;line-height:1.65;letter-spacing:normal;border-radius:0;color:#415b73;-webkit-box-shadow:none;box-shadow:none;resize:none;border:none;padding:0;background-color:#fff;overflow:auto;white-space:pre-wrap;word-wrap:break-word;word-break:normal}#wmd-input>.editor-content{padding-bottom:230px} #wmd-input>.editor-margin{position:absolute;top:0;left:0}#wmd-input>.editor-margin .discussion{font-size:17px;position:absolute;cursor:pointer}#wmd-input>.editor-margin .discussion.new{display:none}#wmd-input>.editor-margin .discussion.new:hover,#wmd-input>.editor-margin .discussion.new.active,#wmd-input>.editor-margin .discussion.new.active:hover{display:inline-block;color:rgba(92,130,164,0.35) !important} #wmd-input>.editor-margin .discussion.added{color:rgba(235,192,0,0.7)}#wmd-input>.editor-margin .discussion.added:hover,#wmd-input>.editor-margin .discussion.added.active,#wmd-input>.editor-margin .discussion.added.active:hover{color:#ebc000 !important} -#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:#e63b2b !important} +#wmd-input>.editor-margin .discussion.replied{color:rgba(230,59,43,0.7)}#wmd-input>.editor-margin .discussion.replied:hover,#wmd-input>.editor-margin .discussion.replied.active,#wmd-input>.editor-margin .discussion.replied.active:hover{color:rgba(230,59,43,0.8) !important} #wmd-input>.editor-margin .discussion.icon-split{font-size:22px}#wmd-input>.editor-margin .discussion.icon-split:before{margin-right:0} #wmd-input>.editor-margin .discussion:hover,#wmd-input>.editor-margin .discussion.active{text-decoration:none} +#wmd-input.has-selection>.editor-margin .discussion.new{display:inline-block;color:rgba(92,130,164,0.25)} #wmd-input.font-monospaced *{font-family:"Source Code Pro",monospace !important;line-height:1.65 !important;font-size:1em !important} -#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.6)} +#wmd-input .comment-highlight,#wmd-input .find-replace-highlight{background-color:rgba(255,230,0,0.5)} #wmd-input .find-replace-select{background-color:#b5d5ff} #wmd-input .conflict{font-weight:bold;color:#e63b2b} #wmd-input .code,#wmd-input .pre{color:#253442;font:normal .9em "Source Code Pro",monospace} diff --git a/public/res/constants.js b/public/res/constants.js index 993ebda2..24daeb4b 100644 --- a/public/res/constants.js +++ b/public/res/constants.js @@ -1,6 +1,6 @@ define([], function() { var constants = {}; - constants.VERSION = "4.0.2"; + constants.VERSION = "4.1.0"; constants.MAIN_URL = "https://stackedit.io/"; constants.GOOGLE_ANALYTICS_ACCOUNT_ID = "UA-39556145-1"; constants.GOOGLE_API_KEY = "AIzaSyAeCU8CGcSkn0z9js6iocHuPBX4f_mMWkw"; diff --git a/public/viewer.html b/public/viewer.html deleted file mode 100644 index 899b53da..00000000 --- a/public/viewer.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - StackEdit Viewer - - - - - - - - - - - - - -