From efb0390b9f10dd44469e916cbfe5eb44567b559e Mon Sep 17 00:00:00 2001 From: benweet Date: Wed, 31 Jul 2013 13:49:36 +0100 Subject: [PATCH] Prepare deployment --- cache.manifest | 2 +- js/main-min.js | 245 +++++++++++++++++++++++++------------------------ 2 files changed, 128 insertions(+), 119 deletions(-) diff --git a/cache.manifest b/cache.manifest index 577b067c..39b19322 100644 --- a/cache.manifest +++ b/cache.manifest @@ -1,5 +1,5 @@ CACHE MANIFEST -# Mon 29 Jul 2013 01:04:10 IST +# Wed 31 Jul 2013 13:49:36 IST CACHE: index.html diff --git a/js/main-min.js b/js/main-min.js index aad9e925..26d812bb 100644 --- a/js/main-min.js +++ b/js/main-min.js @@ -25,18 +25,18 @@ /*! @source http://purl.eligrey.com/github/FileSaver.js/blob/master/FileSaver.js */ -/** - * @license RequireJS text 2.0.6 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. - * Available via the MIT or new BSD license. - * see: http://github.com/requirejs/text for details - */ - //Copyright (C) 2012 Kory Nunn //Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: //The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. +/** + * @license RequireJS text 2.0.6 Copyright (c) 2010-2012, The Dojo Foundation All Rights Reserved. + * Available via the MIT or new BSD license. + * see: http://github.com/requirejs/text for details + */ + /* * to-markdown - an HTML to Markdown converter * @@ -4486,6 +4486,26 @@ define("config", function() {}), define("settings", [ "underscore", "config" ], e.extend(t, JSON.parse(localStorage.settings)); } catch (n) {} return t; +}), function(e, t) { + "object" == typeof exports ? module.exports = t() : "function" == typeof define && define.amd ? define("crel", t) : e.crel = t(); +}(this, function() { + function e() { + var n, i = window.document, o = arguments, r = i.createElement(o[0]), s = o[1], a = 2, l = o.length, c = e.attrMap; + if (1 === l) return r; + if (("object" != typeof s || t(s)) && (--a, s = null), 1 === l - a && "string" == typeof o[a] && void 0 !== r.textContent) r.textContent = o[a]; else for (;l > a; ++a) n = o[a], + null != n && (t(n) || (n = i.createTextNode(n)), r.appendChild(n)); + for (var u in s) if (c[u]) { + var d = e.attrMap[u]; + "function" == typeof d ? d(r, s[u]) : r.setAttribute(d, s[u]); + } else r.setAttribute(u, s[u]); + return r; + } + var t = "object" == typeof Node ? function(e) { + return e instanceof Node; + } : function(e) { + return e && "object" == typeof e && "number" == typeof e.nodeType && "string" == typeof e.nodeName; + }; + return e.attrMap = {}, e.isNode = t, e; }), define("classes/Extension", [], function() { function e(e, t, n, i) { this.extensionId = e, this.extensionName = t, this.isOptional = n, this.disableInViewer = i; @@ -4605,26 +4625,6 @@ define("config", function() {}), define("settings", [ "underscore", "config" ], }), t; }), define("text!html/settingsExtensionsAccordion.html", [], function() { return '
\n
\n <%= extensionName %> \n
\n
\n
<%= settingsBlock %>
\n
\n
\n'; -}), function(e, t) { - "object" == typeof exports ? module.exports = t() : "function" == typeof define && define.amd ? define("crel", t) : e.crel = t(); -}(this, function() { - function e() { - var n, i = window.document, o = arguments, r = i.createElement(o[0]), s = o[1], a = 2, l = o.length, c = e.attrMap; - if (1 === l) return r; - if (("object" != typeof s || t(s)) && (--a, s = null), 1 === l - a && "string" == typeof o[a] && void 0 !== r.textContent) r.textContent = o[a]; else for (;l > a; ++a) n = o[a], - null != n && (t(n) || (n = i.createTextNode(n)), r.appendChild(n)); - for (var u in s) if (c[u]) { - var d = e.attrMap[u]; - "function" == typeof d ? d(r, s[u]) : r.setAttribute(d, s[u]); - } else r.setAttribute(u, s[u]); - return r; - } - var t = "object" == typeof Node ? function(e) { - return e instanceof Node; - } : function(e) { - return e && "object" == typeof e && "number" == typeof e.nodeType && "string" == typeof e.nodeName; - }; - return e.attrMap = {}, e.isNode = t, e; }), define("text!html/partialRenderingSettingsBlock.html", [], function() { return '

Renders modified sections only.

\n
\n NOTE: Document sections are based on title elements (h1, h2...). Therefore if\n your document does not contain any title, performance will not be increased.\n
'; }), define("extensions/partialRendering", [ "underscore", "crel", "classes/Extension", "text!html/partialRenderingSettingsBlock.html" ], function(e, t, n, i) { @@ -4636,14 +4636,13 @@ define("config", function() {}), define("settings", [ "underscore", "config" ], return n >= t.length || e.text != t[n].text ? (i = n, !0) : void 0; }); var o = -c.length; - if (e.some(c.slice().reverse(), function(e, n) { + e.some(c.slice().reverse(), function(e, n) { return n >= t.length || e.text != t[t.length - n - 1].text ? (o = -n, !0) : void 0; - }), i !== c.length || o !== -i) { - var r = c.slice(0, i); - p = t.slice(i, t.length + o); - var s = c.slice(c.length + o, c.length); - f = e.first(s), d = c.slice(i, c.length + o), c = r.concat(p).concat(s); - } + }); + var r = c.slice(0, i); + p = t.slice(i, t.length + o); + var s = c.slice(c.length + o, c.length); + f = e.first(s), d = c.slice(i, c.length + o), c = r.concat(p).concat(s); } function r() { e.each(d, function(e) { @@ -4862,7 +4861,7 @@ define("config", function() {}), define("settings", [ "underscore", "config" ], publisher = e; }; var eventMgr = void 0; - return userCustom.oneventMgrCreated = function(e) { + return userCustom.onEventMgrCreated = function(e) { eventMgr = e; }, userCustom.onLoadSettings = function() { utils.setInputValue("#textarea-usercustom-code", userCustom.config.code); @@ -4987,7 +4986,7 @@ define("config", function() {}), define("settings", [ "underscore", "config" ], var o = new n("dialogManagePublication", 'Dialog "Manage publication"'); o.settingsBlock = '

Populates the "Manage publication" dialog box.

'; var r = void 0; - o.oneventMgrCreated = function(e) { + o.onEventMgrCreated = function(e) { r = e; }; var s = void 0, a = '', l = function(n) { @@ -5017,7 +5016,7 @@ define("config", function() {}), define("settings", [ "underscore", "config" ], var o = new n("dialogManageSynchronization", 'Dialog "Manage synchronization"'); o.settingsBlock = '

Populates the "Manage synchronization" dialog box.

'; var r = void 0; - o.oneventMgrCreated = function(e) { + o.onEventMgrCreated = function(e) { r = e; }; var s = void 0; @@ -5218,7 +5217,7 @@ define("config", function() {}), define("settings", [ "underscore", "config" ], u = e; }; var d = void 0; - c.oneventMgrCreated = function(e) { + c.onEventMgrCreated = function(e) { d = e; }; var p = void 0, f = void 0, h = function(e) { @@ -7996,7 +7995,7 @@ hljs.LANGUAGES.bash = function(e) { }, c.onSaveSettings = function(e, t) { e.marker = n.getInputRegExpValue("#input-toc-marker", t), e.button = n.getInputChecked("#input-toc-button"); }, c.onCreatePreviewButton = function() { - return c.config.button ? e(o) : void 0; + return c.config.button ? o : void 0; }, s.prototype.childrenToString = function() { if (0 === this.children.length) return ""; var e = "