From 274b2129a86c7ff089a99a2529a98998a462625e Mon Sep 17 00:00:00 2001 From: benweet Date: Mon, 21 Apr 2014 18:26:40 +0100 Subject: [PATCH] Prepare release --- Gruntfile.js | 2 + public/cache.manifest | 2 +- public/res-min/main.js | 30732 +--------------------------- public/res-min/themes/default.css | 2 + public/res-min/themes/gray.css | 2 + public/res-min/themes/night.css | 3 +- public/res-min/themes/school.css | 3 +- 7 files changed, 48 insertions(+), 30698 deletions(-) diff --git a/Gruntfile.js b/Gruntfile.js index c83a2471..63d10e6a 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -46,12 +46,14 @@ module.exports = function(grunt) { mainConfigFile: 'public/res/main.js', optimize: "uglify2", inlineText: true, + /* uglify2: { output: { beautify: true, indent_level: 1, }, }, + */ excludeShallow: [ 'css/css-builder', 'less/lessc-server', diff --git a/public/cache.manifest b/public/cache.manifest index 16b7c4c8..d5992826 100644 --- a/public/cache.manifest +++ b/public/cache.manifest @@ -1,5 +1,5 @@ CACHE MANIFEST -#Date Sat Mar 22 2014 02:00:56 +#Date Mon Apr 21 2014 18:25:05 CACHE: res/worker.js diff --git a/public/res-min/main.js b/public/res-min/main.js index 54026401..d1ae47ea 100644 --- a/public/res-min/main.js +++ b/public/res-min/main.js @@ -289,7 +289,7 @@ Example usage: /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */ /** - * @license RequireJS text 2.0.10 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. + * @license RequireJS text 2.0.12 Copyright (c) 2010-2014, The Dojo Foundation All Rights Reserved. * Available via the MIT or new BSD license. * see: http://github.com/requirejs/text for details */ @@ -903,30697 +903,39 @@ THE SOFTWARE. * TODO: Add hotkey/mousewheel bindings to _instantly_ respond to these zoom event */ -function printStackTrace(e) { - e = e || { - guess: !0 - }; - var t = e.e || null, n = !!e.guess, i = new printStackTrace.implementation(), o = i.run(t); - return n ? i.guessAnonymousFunctions(o) : o; -} - -!function(e, t) { - function n(e) { - var t = e.length, n = rt.type(e); - return rt.isWindow(e) ? !1 : 1 === e.nodeType && t ? !0 : "array" === n || "function" !== n && (0 === t || "number" == typeof t && t > 0 && t - 1 in e); - } - function i(e) { - var t = ft[e] = {}; - return rt.each(e.match(at) || [], function(e, n) { - t[n] = !0; - }), t; - } - function o() { - Object.defineProperty(this.cache = {}, 0, { - get: function() { - return {}; - } - }), this.expando = rt.expando + Math.random(); - } - function r(e, n, i) { - var o; - if (i === t && 1 === e.nodeType) if (o = "data-" + n.replace(bt, "-$1").toLowerCase(), - i = e.getAttribute(o), "string" == typeof i) { - try { - i = "true" === i ? !0 : "false" === i ? !1 : "null" === i ? null : +i + "" === i ? +i : vt.test(i) ? JSON.parse(i) : i; - } catch (r) {} - gt.set(e, n, i); - } else i = t; - return i; - } - function s() { - return !0; - } - function a() { - return !1; - } - function l() { - try { - return q.activeElement; - } catch (e) {} - } - function c(e, t) { - for (;(e = e[t]) && 1 !== e.nodeType; ) ; - return e; - } - function u(e, t, n) { - if (rt.isFunction(t)) return rt.grep(e, function(e, i) { - return !!t.call(e, i, e) !== n; - }); - if (t.nodeType) return rt.grep(e, function(e) { - return e === t !== n; - }); - if ("string" == typeof t) { - if (Tt.test(t)) return rt.filter(t, e, n); - t = rt.filter(t, e); - } - return rt.grep(e, function(e) { - return tt.call(t, e) >= 0 !== n; - }); - } - function d(e, t) { - return rt.nodeName(e, "table") && rt.nodeName(1 === t.nodeType ? t : t.firstChild, "tr") ? e.getElementsByTagName("tbody")[0] || e.appendChild(e.ownerDocument.createElement("tbody")) : e; - } - function h(e) { - return e.type = (null !== e.getAttribute("type")) + "/" + e.type, e; - } - function p(e) { - var t = Ot.exec(e.type); - return t ? e.type = t[1] : e.removeAttribute("type"), e; - } - function f(e, t) { - for (var n = e.length, i = 0; n > i; i++) mt.set(e[i], "globalEval", !t || mt.get(t[i], "globalEval")); - } - function g(e, t) { - var n, i, o, r, s, a, l, c; - if (1 === t.nodeType) { - if (mt.hasData(e) && (r = mt.access(e), s = mt.set(t, r), c = r.events)) { - delete s.handle, s.events = {}; - for (o in c) for (n = 0, i = c[o].length; i > n; n++) rt.event.add(t, o, c[o][n]); - } - gt.hasData(e) && (a = gt.access(e), l = rt.extend({}, a), gt.set(t, l)); - } - } - function m(e, n) { - var i = e.getElementsByTagName ? e.getElementsByTagName(n || "*") : e.querySelectorAll ? e.querySelectorAll(n || "*") : []; - return n === t || n && rt.nodeName(e, n) ? rt.merge([ e ], i) : i; - } - function v(e, t) { - var n = t.nodeName.toLowerCase(); - "input" === n && Bt.test(e.type) ? t.checked = e.checked : ("input" === n || "textarea" === n) && (t.defaultValue = e.defaultValue); - } - function b(e, t) { - if (t in e) return t; - for (var n = t.charAt(0).toUpperCase() + t.slice(1), i = t, o = Jt.length; o--; ) if (t = Jt[o] + n, - t in e) return t; - return i; - } - function y(e, t) { - return e = t || e, "none" === rt.css(e, "display") || !rt.contains(e.ownerDocument, e); - } - function w(t) { - return e.getComputedStyle(t, null); - } - function C(e, t) { - for (var n, i, o, r = [], s = 0, a = e.length; a > s; s++) i = e[s], i.style && (r[s] = mt.get(i, "olddisplay"), - n = i.style.display, t ? (r[s] || "none" !== n || (i.style.display = ""), "" === i.style.display && y(i) && (r[s] = mt.access(i, "olddisplay", k(i.nodeName)))) : r[s] || (o = y(i), - (n && "none" !== n || !o) && mt.set(i, "olddisplay", o ? n : rt.css(i, "display")))); - for (s = 0; a > s; s++) i = e[s], i.style && (t && "none" !== i.style.display && "" !== i.style.display || (i.style.display = t ? r[s] || "" : "none")); - return e; - } - function x(e, t, n) { - var i = Ut.exec(t); - return i ? Math.max(0, i[1] - (n || 0)) + (i[2] || "px") : t; - } - function S(e, t, n, i, o) { - for (var r = n === (i ? "border" : "content") ? 4 : "width" === t ? 1 : 0, s = 0; 4 > r; r += 2) "margin" === n && (s += rt.css(e, n + Yt[r], !0, o)), - i ? ("content" === n && (s -= rt.css(e, "padding" + Yt[r], !0, o)), "margin" !== n && (s -= rt.css(e, "border" + Yt[r] + "Width", !0, o))) : (s += rt.css(e, "padding" + Yt[r], !0, o), - "padding" !== n && (s += rt.css(e, "border" + Yt[r] + "Width", !0, o))); - return s; - } - function E(e, t, n) { - var i = !0, o = "width" === t ? e.offsetWidth : e.offsetHeight, r = w(e), s = rt.support.boxSizing && "border-box" === rt.css(e, "boxSizing", !1, r); - if (0 >= o || null == o) { - if (o = jt(e, t, r), (0 > o || null == o) && (o = e.style[t]), Vt.test(o)) return o; - i = s && (rt.support.boxSizingReliable || o === e.style[t]), o = parseFloat(o) || 0; - } - return o + S(e, t, n || (s ? "border" : "content"), i, r) + "px"; - } - function k(e) { - var t = q, n = Xt[e]; - return n || (n = A(e, t), "none" !== n && n || (Wt = (Wt || rt("