Prepare deployment
This commit is contained in:
parent
cc5ffbd7ef
commit
0e222ced2b
@ -1,5 +1,5 @@
|
||||
CACHE MANIFEST
|
||||
# Tue Jun 25 22:43:34 GMT 2013
|
||||
# Fri Jun 28 00:10:42 GMT 2013
|
||||
|
||||
CACHE:
|
||||
index.html
|
||||
|
1
css/main-min.css
vendored
1
css/main-min.css
vendored
@ -5636,7 +5636,6 @@ hr {
|
||||
margin-left: 15px;
|
||||
}
|
||||
#wmd-input,#md-section-helper {
|
||||
font-family: "Courier New", Courier, monospace;
|
||||
resize: none;
|
||||
border: none !important;
|
||||
}
|
||||
|
83
js/main-min.js
vendored
83
js/main-min.js
vendored
@ -4457,6 +4457,7 @@ define("config", function() {}), define("settings", [ "underscore", "config" ],
|
||||
var t = {
|
||||
layoutOrientation: "horizontal",
|
||||
lazyRendering: !0,
|
||||
editorFontFamily: "Courier New, Courier, monospace",
|
||||
editorFontSize: 14,
|
||||
defaultContent: "\n\n\n> Written with [StackEdit](" + MAIN_URL + ").",
|
||||
commitMsg: "Published with " + MAIN_URL,
|
||||
@ -4611,6 +4612,7 @@ define("config", function() {}), define("settings", [ "underscore", "config" ],
|
||||
}, s.onReady = function() {
|
||||
_gaq.push([ "_setAccount", GOOGLE_ANALYTICS_ACCOUNT_ID ]), r(), _gaq.push([ "_trackEvent", "Settings", "layoutOrientation", "" + o.layoutOrientation ]),
|
||||
_gaq.push([ "_trackEvent", "Settings", "lazyRendering", "" + o.lazyRendering ]),
|
||||
_gaq.push([ "_trackEvent", "Settings", "editorFontFamily", "" + o.editorFontFamily ]),
|
||||
_gaq.push([ "_trackEvent", "Settings", "editorFontSize", "" + o.editorFontSize ]),
|
||||
_gaq.push([ "_trackEvent", "Settings", "defaultContent backlink", "" + (-1 !== o.defaultContent.indexOf(MAIN_URL)) ]),
|
||||
_gaq.push([ "_trackEvent", "Settings", "commitMsg backlink", "" + (-1 !== o.commitMsg.indexOf(MAIN_URL)) ]),
|
||||
@ -6479,7 +6481,7 @@ var prettyPrintOne, prettyPrint;
|
||||
Markdown.Extra.init(t, n);
|
||||
}, i;
|
||||
}), define("text!html/buttonToc.html", [], function() {
|
||||
return '<button class="btn dropdown-toggle" title="Table of contents">\r\n <i class="icon-th-list"></i>\r\n</button>\r\n<div class="dropdown-menu pull-right">\r\n <h3>Table of contents</h3>\r\n <div class="table-of-contents">\r\n </div>\r\n</div>\r\n';
|
||||
return '<button class="btn dropdown-toggle" title="Table of contents" data-toggle="dropdown">\r\n <i class="icon-list"></i>\r\n</button>\r\n<div class="dropdown-menu pull-right">\r\n <h3>Table of contents</h3>\r\n <div class="table-of-contents">\r\n </div>\r\n</div>\r\n';
|
||||
}), define("text!html/tocSettingsBlock.html", [], function() {
|
||||
return '<p>Generates a table of contents when a [TOC] marker is found.</p>\r\n<div class="form-horizontal">\r\n <div class="control-group">\r\n <label class="control-label" for="input-toc-marker">Marker\r\n RegExp</label>\r\n <div class="controls">\r\n <input type="text" id="input-toc-marker" class="span2">\r\n </div>\r\n </div>\r\n <div class="control-group">\r\n <label class="control-label" for="input-toc-button">Button over preview</label>\r\n <div class="controls">\r\n <input type="checkbox" id="input-toc-button">\r\n </div>\r\n </div>\r\n \r\n</div>';
|
||||
}), define("extensions/toc", [ "jquery", "underscore", "utils", "classes/Extension", "text!html/buttonToc.html", "text!html/tocSettingsBlock.html" ], function(e, t, n, i, o, r) {
|
||||
@ -6887,7 +6889,7 @@ function(e) {
|
||||
s = e, a(e);
|
||||
}, r.onNewPublishSuccess = a, r.onPublishRemoved = a, r;
|
||||
}), define("text!html/buttonStat.html", [], function() {
|
||||
return '<button class="btn dropdown-toggle" title="Document statistics">\r\n <i class="icon-stat"></i>\r\n</button>\r\n<div class="dropdown-menu pull-right">\r\n <h3>Statistics</h3>\r\n <div class="stat">\r\n <div>\r\n <%= name1 %>: <span id="span-stat-value1"></span>\r\n </div>\r\n <div>\r\n <%= name2 %>: <span id="span-stat-value2"></span>\r\n </div>\r\n <div>\r\n <%= name3 %>: <span id="span-stat-value3"></span>\r\n </div>\r\n </div>\r\n</div>\r\n';
|
||||
return '<button class="btn dropdown-toggle" title="Document statistics" data-toggle="dropdown">\r\n <i class="icon-stat"></i>\r\n</button>\r\n<div class="dropdown-menu pull-right">\r\n <h3>Statistics</h3>\r\n <div class="stat">\r\n <div>\r\n <%= name1 %>: <span id="span-stat-value1"></span>\r\n </div>\r\n <div>\r\n <%= name2 %>: <span id="span-stat-value2"></span>\r\n </div>\r\n <div>\r\n <%= name3 %>: <span id="span-stat-value3"></span>\r\n </div>\r\n </div>\r\n</div>\r\n';
|
||||
}), define("text!html/buttonStatSettingsBlock.html", [], function() {
|
||||
return '<p>Adds a "Document statistics" button over the preview.</p>\r\n<div class="form-horizontal">\r\n <div class="control-group form-inline">\r\n <label class="label-text" for="input-stat-name1">Title</label> <input\r\n id="input-stat-name1" type="text" class="input-small"> <label\r\n class="label-text" for="input-stat-value1">RegExp</label> <input\r\n id="input-stat-value1" type="text" class="span2">\r\n </div>\r\n <div class="control-group form-inline">\r\n <label class="label-text" for="input-stat-name2">Title</label> <input\r\n id="input-stat-name2" type="text" class="input-small"> <label\r\n class="label-text" for="input-stat-value2">RegExp</label> <input\r\n id="input-stat-value2" type="text" class="span2">\r\n </div>\r\n <div class="control-group form-inline">\r\n <label class="label-text" for="input-stat-name3">Title</label> <input\r\n id="input-stat-name3" type="text" class="input-small"> <label\r\n class="label-text" for="input-stat-value3">RegExp</label> <input\r\n id="input-stat-value3" type="text" class="span2">\r\n </div>\r\n</div>\r\n';
|
||||
}), define("extensions/buttonStat", [ "jquery", "underscore", "utils", "classes/Extension", "text!html/buttonStat.html", "text!html/buttonStatSettingsBlock.html" ], function(e, t, n, i, o, r) {
|
||||
@ -6916,7 +6918,7 @@ function(e) {
|
||||
e("#span-stat-value3").text((t.match(RegExp(s.config.value3, "g")) || []).length);
|
||||
}, s;
|
||||
}), define("text!html/buttonHtmlCode.html", [], function() {
|
||||
return '<button class="btn dropdown-toggle action-html-code" title="HTML code">\r\n <i class="icon-code"></i>\r\n</button>\r\n<div class="dropdown-menu pull-right">\r\n <h3>HTML code</h3>\r\n <textarea id="input-html-code"></textarea>\r\n</div>\r\n';
|
||||
return '<button class="btn dropdown-toggle action-html-code" title="HTML code" data-toggle="dropdown">\r\n <i class="icon-code"></i>\r\n</button>\r\n<div class="dropdown-menu pull-right">\r\n <h3>HTML code</h3>\r\n <textarea id="input-html-code"></textarea>\r\n</div>\r\n';
|
||||
}), define("text!html/buttonHtmlCodeSettingsBlock.html", [], function() {
|
||||
return '<p>Adds a "HTML code" button over the preview.</p>\r\n<div class="form-horizontal">\r\n <div class="control-group">\r\n <label class="control-label" for="textarea-html-code-template">Template\r\n <a href="#" class="tooltip-template">(?)</a>\r\n </label>\r\n <div class="controls">\r\n <textarea id="textarea-html-code-template"></textarea>\r\n </div>\r\n </div>\r\n</div>';
|
||||
}), define("extensions/buttonHtmlCode", [ "jquery", "underscore", "utils", "classes/Extension", "text!html/buttonHtmlCode.html", "text!html/buttonHtmlCodeSettingsBlock.html" ], function(e, t, n, i, o, r) {
|
||||
@ -6954,7 +6956,7 @@ function(e) {
|
||||
});
|
||||
}, s;
|
||||
}), define("text!html/buttonMarkdownSyntax.html", [], function() {
|
||||
return '<button class="btn dropdown-toggle" title="Markdown syntax">\r\n <i class="icon-question-sign"></i>\r\n</button>\r\n<div class="dropdown-menu pull-right">\r\n <h3>Markdown syntax</h3>\r\n <div class="markdown-syntax">\r\n<h4>Phrase Emphasis</h4>\r\n\r\n<pre><code>*italic* **bold**\r\n_italic_ __bold__\r\n</code></pre>\r\n\r\n<h4>Links</h4>\r\n\r\n<p>Inline:</p>\r\n\r\n<pre><code>An [example](http://url.com/ "Title")\r\n</code></pre>\r\n\r\n<p>Reference-style labels (titles are optional):</p>\r\n\r\n<pre><code>An [example][id]. Then, anywhere\r\nelse in the doc, define the link:\r\n\r\n [id]: http://example.com/ "Title"\r\n</code></pre>\r\n\r\n<h4>Images</h4>\r\n\r\n<p>Inline (titles are optional):</p>\r\n\r\n<pre><code>![alt text](/path/img.jpg "Title")\r\n</code></pre>\r\n\r\n<p>Reference-style:</p>\r\n\r\n<pre><code>![alt text][id]\r\n\r\n[id]: /url/to/img.jpg "Title"\r\n</code></pre>\r\n\r\n<h4>Headers</h4>\r\n\r\n<p>Setext-style:</p>\r\n\r\n<pre><code>Header 1\r\n========\r\n\r\nHeader 2\r\n--------\r\n</code></pre>\r\n\r\n<p>atx-style (closing #\'s are optional):</p>\r\n\r\n<pre><code># Header 1 #\r\n\r\n## Header 2 ##\r\n\r\n###### Header 6\r\n</code></pre>\r\n\r\n<h4>Lists</h4>\r\n\r\n<p>Ordered, without paragraphs:</p>\r\n\r\n<pre><code>1. Foo\r\n2. Bar\r\n</code></pre>\r\n\r\n<p>Unordered, with paragraphs:</p>\r\n\r\n<pre><code>* A list item.\r\n\r\n With multiple paragraphs.\r\n\r\n* Bar\r\n</code></pre>\r\n\r\n<p>You can nest them:</p>\r\n\r\n<pre><code>* Abacus\r\n * answer\r\n* Bubbles\r\n 1. bunk\r\n 2. bupkis\r\n * BELITTLER\r\n 3. burper\r\n* Cunning\r\n</code></pre>\r\n\r\n<h4>Blockquotes</h4>\r\n\r\n<pre><code>> Email-style angle brackets\r\n> are used for blockquotes.\r\n\r\n> > And, they can be nested.\r\n\r\n> #### Headers in blockquotes\r\n> \r\n> * You can quote a list.\r\n> * Etc.\r\n</code></pre>\r\n\r\n<h4>Code Spans</h4>\r\n\r\n<pre><code>`<code>` spans are delimited\r\nby backticks.\r\n\r\nYou can include literal backticks\r\nlike `` `this` ``.\r\n</code></pre>\r\n\r\n<h4>Preformatted Code Blocks</h4>\r\n\r\n<p>Indent every line of a code block by at least 4 spaces or 1 tab.</p>\r\n\r\n<pre><code>This is a normal paragraph.\r\n\r\n This is a preformatted\r\n code block.\r\n</code></pre>\r\n\r\n<h4>Horizontal Rules</h4>\r\n\r\n<p>Three or more dashes or asterisks:</p>\r\n\r\n<pre><code>---\r\n\r\n* * *\r\n\r\n- - - - \r\n</code></pre>\r\n\r\n<h4>Manual Line Breaks</h4>\r\n\r\n<p>End a line with two or more spaces:</p>\r\n\r\n<pre><code>Roses are red, \r\nViolets are blue.\r\n</code></pre>\r\n\r\n<p class="muted">Based on the <a target="_blank" href="https://github.com/fletcher/MultiMarkdown/blob/master/Documentation/Markdown%20Syntax.md">Markdown syntax guide</a>, by Fletcher T. Penney.</p>\r\n </div>\r\n</div>\r\n';
|
||||
return '<button class="btn dropdown-toggle" title="Markdown syntax" data-toggle="dropdown">\r\n <i class="icon-question-sign"></i>\r\n</button>\r\n<div class="dropdown-menu pull-right">\r\n <h3>Markdown syntax</h3>\r\n <div class="markdown-syntax">\r\n<h4>Phrase Emphasis</h4>\r\n\r\n<pre><code>*italic* **bold**\r\n_italic_ __bold__\r\n</code></pre>\r\n\r\n<h4>Links</h4>\r\n\r\n<p>Inline:</p>\r\n\r\n<pre><code>An [example](http://url.com/ "Title")\r\n</code></pre>\r\n\r\n<p>Reference-style labels (titles are optional):</p>\r\n\r\n<pre><code>An [example][id]. Then, anywhere\r\nelse in the doc, define the link:\r\n\r\n [id]: http://example.com/ "Title"\r\n</code></pre>\r\n\r\n<h4>Images</h4>\r\n\r\n<p>Inline (titles are optional):</p>\r\n\r\n<pre><code>![alt text](/path/img.jpg "Title")\r\n</code></pre>\r\n\r\n<p>Reference-style:</p>\r\n\r\n<pre><code>![alt text][id]\r\n\r\n[id]: /url/to/img.jpg "Title"\r\n</code></pre>\r\n\r\n<h4>Headers</h4>\r\n\r\n<p>Setext-style:</p>\r\n\r\n<pre><code>Header 1\r\n========\r\n\r\nHeader 2\r\n--------\r\n</code></pre>\r\n\r\n<p>atx-style (closing #\'s are optional):</p>\r\n\r\n<pre><code># Header 1 #\r\n\r\n## Header 2 ##\r\n\r\n###### Header 6\r\n</code></pre>\r\n\r\n<h4>Lists</h4>\r\n\r\n<p>Ordered, without paragraphs:</p>\r\n\r\n<pre><code>1. Foo\r\n2. Bar\r\n</code></pre>\r\n\r\n<p>Unordered, with paragraphs:</p>\r\n\r\n<pre><code>* A list item.\r\n\r\n With multiple paragraphs.\r\n\r\n* Bar\r\n</code></pre>\r\n\r\n<p>You can nest them:</p>\r\n\r\n<pre><code>* Abacus\r\n * answer\r\n* Bubbles\r\n 1. bunk\r\n 2. bupkis\r\n * BELITTLER\r\n 3. burper\r\n* Cunning\r\n</code></pre>\r\n\r\n<h4>Blockquotes</h4>\r\n\r\n<pre><code>> Email-style angle brackets\r\n> are used for blockquotes.\r\n\r\n> > And, they can be nested.\r\n\r\n> #### Headers in blockquotes\r\n> \r\n> * You can quote a list.\r\n> * Etc.\r\n</code></pre>\r\n\r\n<h4>Code Spans</h4>\r\n\r\n<pre><code>`<code>` spans are delimited\r\nby backticks.\r\n\r\nYou can include literal backticks\r\nlike `` `this` ``.\r\n</code></pre>\r\n\r\n<h4>Preformatted Code Blocks</h4>\r\n\r\n<p>Indent every line of a code block by at least 4 spaces or 1 tab.</p>\r\n\r\n<pre><code>This is a normal paragraph.\r\n\r\n This is a preformatted\r\n code block.\r\n</code></pre>\r\n\r\n<h4>Horizontal Rules</h4>\r\n\r\n<p>Three or more dashes or asterisks:</p>\r\n\r\n<pre><code>---\r\n\r\n* * *\r\n\r\n- - - - \r\n</code></pre>\r\n\r\n<h4>Manual Line Breaks</h4>\r\n\r\n<p>End a line with two or more spaces:</p>\r\n\r\n<pre><code>Roses are red, \r\nViolets are blue.\r\n</code></pre>\r\n\r\n<p class="muted">Based on the <a target="_blank" href="https://github.com/fletcher/MultiMarkdown/blob/master/Documentation/Markdown%20Syntax.md">Markdown syntax guide</a>, by Fletcher T. Penney.</p>\r\n </div>\r\n</div>\r\n';
|
||||
}), define("extensions/buttonMarkdownSyntax", [ "jquery", "classes/Extension", "text!html/buttonMarkdownSyntax.html" ], function(e, t, n) {
|
||||
var i = new t("buttonMarkdownSyntax", 'Button "Markdown syntax', !0);
|
||||
return i.settingsBlock = '<p>Adds a "Markdown syntax" button over the preview.</p>',
|
||||
@ -7896,28 +7898,19 @@ function(e) {
|
||||
e(n);
|
||||
});
|
||||
}, u.onReady = function() {
|
||||
function n(t) {
|
||||
e("#extension-preview-buttons .open").removeClass("open").find(".dropdown-menu").addClass("hide"),
|
||||
void 0 !== t && t.addClass("open").find(".dropdown-menu").removeClass("hide");
|
||||
}
|
||||
t.chain(d).sortBy(function(e) {
|
||||
return e.extensionName.toLowerCase();
|
||||
}).each(c), logger.log("onCreateButton");
|
||||
var i = s("onCreateButton");
|
||||
t.each(i, function(t) {
|
||||
var n = s("onCreateButton");
|
||||
t.each(n, function(t) {
|
||||
e("#extension-buttons").append(e('<div class="btn-group">').append(t()));
|
||||
}), logger.log("onCreatePreviewButton");
|
||||
var o = s("onCreatePreviewButton");
|
||||
t.each(o, function(t) {
|
||||
e("#extension-preview-buttons").append(e('<div class="btn-group">').append(t()).each(function() {
|
||||
var t = e(this);
|
||||
t.find(".dropdown-toggle").click(function() {
|
||||
n(t.is(".open") ? void 0 : t);
|
||||
});
|
||||
}));
|
||||
var i = s("onCreatePreviewButton");
|
||||
t.each(i, function(t) {
|
||||
e("#extension-preview-buttons").append(e('<div class="btn-group">').append(t()));
|
||||
});
|
||||
var r = a("onReady");
|
||||
r();
|
||||
var o = a("onReady");
|
||||
o();
|
||||
}, u.onExtensionMgrCreated(u), u;
|
||||
}), define("text!html/settingsTemplateTooltip.html", [], function() {
|
||||
return 'Available variables:\r\n<br>\r\n<ul>\r\n <li><b>documentTitle</b>: document title</li>\r\n <li><b>documentMarkdown</b>: document in Markdown format</li>\r\n <li><b>documentHTML</b>: document in HTML format</li>\r\n <li><b>publishAttributes</b>: attributes of the publish location\r\n (undefined if not publishing)</li>\r\n</ul>\r\nExamples:\r\n<br />\r\n<title><%= documentTitle %></title>\r\n<br />\r\n<div><%- documentHTML %></div>\r\n<br />\r\n<%<br />\r\nif(publishAttributes.provider.providerId == "github")\r\nprint(documentMarkdown);<br />\r\n%>\r\n<br />\r\n<br />\r\n<a target="_blank" href="http://underscorejs.org/#template">More\r\n info</a>';
|
||||
@ -12186,16 +12179,17 @@ function(e) {
|
||||
}
|
||||
function p() {
|
||||
n.setInputRadio("radio-layout-orientation", i.layoutOrientation), n.setInputValue("#input-settings-theme", localStorage.theme),
|
||||
n.setInputChecked("#input-settings-lazy-rendering", i.lazyRendering), n.setInputValue("#input-settings-editor-font-size", i.editorFontSize),
|
||||
n.setInputValue("#textarea-settings-default-content", i.defaultContent), n.setInputValue("#input-settings-publish-commit-msg", i.commitMsg),
|
||||
n.setInputValue("#textarea-settings-publish-template", i.template), n.setInputValue("#input-settings-ssh-proxy", i.sshProxy),
|
||||
o.onLoadSettings();
|
||||
n.setInputChecked("#input-settings-lazy-rendering", i.lazyRendering), n.setInputValue("#input-settings-editor-font-family", i.editorFontFamily),
|
||||
n.setInputValue("#input-settings-editor-font-size", i.editorFontSize), n.setInputValue("#textarea-settings-default-content", i.defaultContent),
|
||||
n.setInputValue("#input-settings-publish-commit-msg", i.commitMsg), n.setInputValue("#textarea-settings-publish-template", i.template),
|
||||
n.setInputValue("#input-settings-ssh-proxy", i.sshProxy), o.onLoadSettings();
|
||||
}
|
||||
function f(t) {
|
||||
var r = {};
|
||||
r.layoutOrientation = n.getInputRadio("radio-layout-orientation");
|
||||
var s = n.getInputValue("#input-settings-theme");
|
||||
r.lazyRendering = n.getInputChecked("#input-settings-lazy-rendering"), r.editorFontSize = n.getInputIntValue("#input-settings-editor-font-size", t, 1, 99),
|
||||
r.lazyRendering = n.getInputChecked("#input-settings-lazy-rendering"), r.editorFontFamily = n.getInputTextValue("#input-settings-editor-font-family", t),
|
||||
r.editorFontSize = n.getInputIntValue("#input-settings-editor-font-size", t, 1, 99),
|
||||
r.defaultContent = n.getInputValue("#textarea-settings-default-content"), r.commitMsg = n.getInputTextValue("#input-settings-publish-commit-msg", t),
|
||||
r.template = n.getInputTextValue("#textarea-settings-publish-template", t), r.sshProxy = n.checkUrl(n.getInputTextValue("#input-settings-ssh-proxy", t), !0),
|
||||
r.extensionSettings = {}, o.onSaveSettings(r.extensionSettings, t), t.isPropagationStopped() || (e.extend(i, r),
|
||||
@ -12342,6 +12336,7 @@ function(e) {
|
||||
localStorage.clear(), window.location.reload();
|
||||
}), e("#menu-bar, .ui-layout-center, .ui-layout-east, .ui-layout-south").removeClass("hide"),
|
||||
h(), e("#wmd-input, #md-section-helper").css({
|
||||
"font-family": i.editorFontFamily,
|
||||
"font-size": i.editorFontSize + "px",
|
||||
"line-height": Math.round(i.editorFontSize * (20 / 14)) + "px"
|
||||
}), e("#wmd-input").keydown(function(t) {
|
||||
@ -13355,28 +13350,27 @@ function(e) {
|
||||
n.error(Error(i));
|
||||
}
|
||||
var l = void 0, c = void 0, u = {};
|
||||
return u.upload = function(e, t, n, i, l, u) {
|
||||
var d = new o();
|
||||
r(d), s(d), d.onRun(function() {
|
||||
return u.upload = function(e, t, n, i, l, u, d) {
|
||||
var p = new o();
|
||||
r(p), s(p), p.onRun(function() {
|
||||
function o() {
|
||||
var e = c.getUser();
|
||||
e.show(void 0, function(e, t) {
|
||||
return e ? (a(e, d), void 0) : (s = t.login, d.chain(r), void 0);
|
||||
e.show(void 0, function(e, n) {
|
||||
return e ? (a(e, p), void 0) : (t = n.login, p.chain(r), void 0);
|
||||
});
|
||||
}
|
||||
function r() {
|
||||
var o = c.getRepo(s, e);
|
||||
o.write(t, n, i, l, function(e) {
|
||||
return e ? (a(e, d), void 0) : (d.chain(), void 0);
|
||||
var o = c.getRepo(t, e);
|
||||
o.write(n, i, l, u, function(e) {
|
||||
return e ? (a(e, p), void 0) : (p.chain(), void 0);
|
||||
});
|
||||
}
|
||||
var s = void 0;
|
||||
d.chain(o);
|
||||
}), d.onSuccess(function() {
|
||||
u();
|
||||
}), d.onError(function(e) {
|
||||
u(e);
|
||||
}), d.enqueue();
|
||||
t ? p.chain(r) : p.chain(o);
|
||||
}), p.onSuccess(function() {
|
||||
d();
|
||||
}), p.onError(function(e) {
|
||||
d(e);
|
||||
}), p.enqueue();
|
||||
}, u.uploadGist = function(e, t, n, i, l, u) {
|
||||
var d = new o();
|
||||
r(d), s(d), d.onRun(function() {
|
||||
@ -13490,14 +13484,15 @@ function(e) {
|
||||
}, o;
|
||||
}), define("providers/githubProvider", [ "utils", "classes/Provider", "settings", "helpers/githubHelper" ], function(e, t, n, i) {
|
||||
var o = new t("github", "GitHub");
|
||||
return o.publishPreferencesInputIds = [ "github-reponame", "github-branch" ], o.publish = function(e, t, o, r) {
|
||||
return o.publishPreferencesInputIds = [ "github-reponame", "github-username", "github-branch" ],
|
||||
o.publish = function(e, t, o, r) {
|
||||
var s = n.commitMsg;
|
||||
i.upload(e.repository, e.branch, e.path, o, s, r);
|
||||
i.upload(e.repository, e.username, e.branch, e.path, o, s, r);
|
||||
}, o.newPublishAttributes = function(t) {
|
||||
var n = {};
|
||||
return n.repository = e.getInputTextValue("#input-publish-github-reponame", t),
|
||||
n.branch = e.getInputTextValue("#input-publish-github-branch", t), n.path = e.getInputTextValue("#input-publish-file-path", t),
|
||||
t.isPropagationStopped() ? void 0 : n;
|
||||
n.username = e.getInputTextValue("#input-publish-github-username"), n.branch = e.getInputTextValue("#input-publish-github-branch", t),
|
||||
n.path = e.getInputTextValue("#input-publish-file-path", t), t.isPropagationStopped() ? void 0 : n;
|
||||
}, o;
|
||||
}), define("helpers/sshHelper", [ "jquery", "core", "settings", "classes/AsyncTask" ], function(e, t, n, i) {
|
||||
function o(e) {
|
||||
|
Loading…
Reference in New Issue
Block a user