From dcbd1c6ad5884aae3a59987172990174b845e243 Mon Sep 17 00:00:00 2001 From: benweet Date: Sun, 27 Apr 2014 13:45:15 +0100 Subject: [PATCH] Beta release --- public/cache.manifest | 2 +- public/res-min/main.js | 8903 ++++++++++++++++++++---- public/res-min/themes/base.css | 6 +- public/res-min/themes/default.css | 9 +- public/res-min/themes/gray.css | 9 +- public/res-min/themes/night.css | 9 +- public/res-min/themes/original.css | 9 +- public/res-min/themes/school.css | 9 +- public/res/extensions/markdownExtra.js | 2 +- 9 files changed, 7418 insertions(+), 1540 deletions(-) diff --git a/public/cache.manifest b/public/cache.manifest index adc82520..5d220567 100644 --- a/public/cache.manifest +++ b/public/cache.manifest @@ -1,5 +1,5 @@ CACHE MANIFEST -#Date Thu Apr 24 2014 00:11:08 +#Date Sun Apr 27 2014 13:44:57 CACHE: libs/MathJax/MathJax.js?config=TeX-AMS_HTML diff --git a/public/res-min/main.js b/public/res-min/main.js index 68dbf6d4..88e73adb 100644 --- a/public/res-min/main.js +++ b/public/res-min/main.js @@ -162,6 +162,72 @@ THE SOFTWARE. // See the License for the specific language governing permissions and // limitations under the License. +// ┌────────────────────────────────────────────────────────────────────┐ \\ +// │ Raphaël 2.1.1 - JavaScript Vector Library │ \\ +// ├────────────────────────────────────────────────────────────────────┤ \\ +// │ Copyright © 2008-2012 Dmitry Baranovskiy (http://raphaeljs.com) │ \\ +// │ Copyright © 2008-2012 Sencha Labs (http://sencha.com) │ \\ +// ├────────────────────────────────────────────────────────────────────┤ \\ +// │ Licensed under the MIT (http://raphaeljs.com/license.html) license.│ \\ +// └────────────────────────────────────────────────────────────────────┘ \\ +// Copyright (c) 2013 Adobe Systems Incorporated. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// ┌────────────────────────────────────────────────────────────┐ \\ +// │ Eve 0.4.2 - JavaScript Events Library │ \\ +// ├────────────────────────────────────────────────────────────┤ \\ +// │ Author Dmitry Baranovskiy (http://dmitry.baranovskiy.com/) │ \\ +// └────────────────────────────────────────────────────────────┘ \\ + +// ┌─────────────────────────────────────────────────────────────────────┐ \\ +// │ "Raphaël 2.1.0" - JavaScript Vector Library │ \\ +// ├─────────────────────────────────────────────────────────────────────┤ \\ +// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) │ \\ +// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\ +// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\ +// └─────────────────────────────────────────────────────────────────────┘ \\ + +// ┌─────────────────────────────────────────────────────────────────────┐ \\ +// │ Raphaël - JavaScript Vector Library │ \\ +// ├─────────────────────────────────────────────────────────────────────┤ \\ +// │ SVG Module │ \\ +// ├─────────────────────────────────────────────────────────────────────┤ \\ +// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) │ \\ +// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\ +// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\ +// └─────────────────────────────────────────────────────────────────────┘ \\ + +// ┌─────────────────────────────────────────────────────────────────────┐ \\ +// │ Raphaël - JavaScript Vector Library │ \\ +// ├─────────────────────────────────────────────────────────────────────┤ \\ +// │ VML Module │ \\ +// ├─────────────────────────────────────────────────────────────────────┤ \\ +// │ Copyright (c) 2008-2011 Dmitry Baranovskiy (http://raphaeljs.com) │ \\ +// │ Copyright (c) 2008-2011 Sencha Labs (http://sencha.com) │ \\ +// │ Licensed under the MIT (http://raphaeljs.com/license.html) license. │ \\ +// └─────────────────────────────────────────────────────────────────────┘ \\ + +/** js sequence diagrams 1.0.4 + * http://bramp.github.io/js-sequence-diagrams/ + * (c) 2012-2013 Andrew Brampton (bramp.net) + * @license Simplified BSD license. + */ + +// flowchart, v1.2.10 +// Copyright (c)2014 Adriano Raiano (adrai). +// Distributed under MIT license +// http://adrai.github.io/flowchart.js + /* * to-markdown - an HTML to Markdown converter * @@ -653,7 +719,7 @@ function diff_match_patch() { } function i(e) { - var t = ht[e] = {}; + var t = ft[e] = {}; return ot.each(e.match(st) || [], function(e, n) { t[n] = !0 }), t @@ -723,12 +789,12 @@ function diff_match_patch() { return e.type = (null !== e.getAttribute("type")) + "/" + e.type, e } - function f(e) { + function h(e) { var t = jt.exec(e.type); return t ? e.type = t[1] : e.removeAttribute("type"), e } - function h(e, t) { + function f(e, t) { for(var n = e.length, i = 0; n > i; i++) gt.set(e[i], "globalEval", !t || gt.get(t[i], "globalEval")) } @@ -770,7 +836,7 @@ function diff_match_patch() { } function w(e, t) { - for(var n, i, r, o = [], a = 0, s = e.length; s > a; a++) i = e[a], i.style && (o[a] = gt.get(i, "olddisplay"), n = i.style.display, t ? (o[a] || "none" !== n || (i.style.display = ""), "" === i.style.display && y(i) && (o[a] = gt.access(i, "olddisplay", E(i.nodeName)))) : o[a] || (r = y(i), (n && "none" !== n || !r) && gt.set(i, "olddisplay", r ? n : ot.css(i, "display")))); + for(var n, i, r, o = [], a = 0, s = e.length; s > a; a++) i = e[a], i.style && (o[a] = gt.get(i, "olddisplay"), n = i.style.display, t ? (o[a] || "none" !== n || (i.style.display = ""), "" === i.style.display && y(i) && (o[a] = gt.access(i, "olddisplay", k(i.nodeName)))) : o[a] || (r = y(i), (n && "none" !== n || !r) && gt.set(i, "olddisplay", r ? n : ot.css(i, "display")))); for(a = 0; s > a; a++) i = e[a], i.style && (t && "none" !== i.style.display && "" !== i.style.display || (i.style.display = t ? o[a] || "" : "none")); return e } @@ -781,42 +847,42 @@ function diff_match_patch() { } function C(e, t, n, i, r) { - for(var o = n === (i ? "border" : "content") ? 4 : "width" === t ? 1 : 0, a = 0; 4 > o; o += 2) "margin" === n && (a += ot.css(e, n + Yt[o], !0, r)), i ? ("content" === n && (a -= ot.css(e, "padding" + Yt[o], !0, r)), "margin" !== n && (a -= ot.css(e, "border" + Yt[o] + "Width", !0, r))) : (a += ot.css(e, "padding" + Yt[o], !0, r), "padding" !== n && (a += ot.css(e, "border" + Yt[o] + "Width", !0, r))); + for(var o = n === (i ? "border" : "content") ? 4 : "width" === t ? 1 : 0, a = 0; 4 > o; o += 2) "margin" === n && (a += ot.css(e, n + Jt[o], !0, r)), i ? ("content" === n && (a -= ot.css(e, "padding" + Jt[o], !0, r)), "margin" !== n && (a -= ot.css(e, "border" + Jt[o] + "Width", !0, r))) : (a += ot.css(e, "padding" + Jt[o], !0, r), "padding" !== n && (a += ot.css(e, "border" + Jt[o] + "Width", !0, r))); return a } - function T(e, t, n) { + function _(e, t, n) { var i = !0, r = "width" === t ? e.offsetWidth : e.offsetHeight, o = x(e), a = ot.support.boxSizing && "border-box" === ot.css(e, "boxSizing", !1, o); if(0 >= r || null == r) { - if(r = Ht(e, t, o), (0 > r || null == r) && (r = e.style[t]), Wt.test(r)) return r; + if(r = qt(e, t, o), (0 > r || null == r) && (r = e.style[t]), Wt.test(r)) return r; i = a && (ot.support.boxSizingReliable || r === e.style[t]), r = parseFloat(r) || 0 } return r + C(e, t, n || (a ? "border" : "content"), i, o) + "px" } - function E(e) { + function k(e) { var t = z, - n = Xt[e]; - return n || (n = k(e, t), "none" !== n && n || (qt = (qt || ot("