mirror of https://github.com/xwiki-labs/cryptpad
Merge branch 'staging' of github.com:xwiki-labs/cryptpad into staging
This commit is contained in:
commit
51bd41d4e8
|
@ -114,7 +114,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="version-footer">CryptPad v1.6.0 (Hodag)</div>
|
||||
<div class="version-footer">CryptPad v1.7.0 (Hodag)</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -111,7 +111,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="version-footer">CryptPad v1.6.0 (Hodag)</div>
|
||||
<div class="version-footer">CryptPad v1.7.0 (Hodag)</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -233,7 +233,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="version-footer">CryptPad v1.6.0 (Hodag)</div>
|
||||
<div class="version-footer">CryptPad v1.7.0 (Hodag)</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -132,7 +132,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="version-footer">CryptPad v1.6.0 (Hodag)</div>
|
||||
<div class="version-footer">CryptPad v1.7.0 (Hodag)</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -39,5 +39,5 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="version-footer">CryptPad v1.6.0 (Hodag)</div>
|
||||
<div class="version-footer">CryptPad v1.7.0 (Hodag)</div>
|
||||
</footer>
|
||||
|
|
|
@ -115,7 +115,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="version-footer">CryptPad v1.6.0 (Hodag)</div>
|
||||
<div class="version-footer">CryptPad v1.7.0 (Hodag)</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "cryptpad",
|
||||
"description": "realtime collaborative visual editor with zero knowlege server",
|
||||
"version": "1.8.0",
|
||||
"version": "1.7.0",
|
||||
"dependencies": {
|
||||
"chainpad-server": "^1.0.1",
|
||||
"express": "~4.10.1",
|
||||
|
|
|
@ -103,10 +103,10 @@ Version 1
|
|||
if (!href) { return ret; }
|
||||
if (href.slice(-1) !== '/') { href += '/'; }
|
||||
|
||||
|
||||
var idx;
|
||||
|
||||
if (!/^https*:\/\//.test(href)) {
|
||||
var idx = href.indexOf('/#');
|
||||
idx = href.indexOf('/#');
|
||||
ret.type = href.slice(1, idx);
|
||||
ret.hash = href.slice(idx + 2);
|
||||
ret.hashData = parseTypeHash(ret.type, ret.hash);
|
||||
|
@ -118,7 +118,7 @@ Version 1
|
|||
ret.type = type;
|
||||
return '';
|
||||
});
|
||||
var idx = href.indexOf('/#');
|
||||
idx = href.indexOf('/#');
|
||||
ret.hash = href.slice(idx + 2);
|
||||
ret.hashData = parseTypeHash(ret.type, ret.hash);
|
||||
return ret;
|
||||
|
|
|
@ -3,7 +3,7 @@ define([
|
|||
'/bower_components/marked/marked.min.js',
|
||||
'/bower_components/diff-dom/diffDOM.js'
|
||||
],function ($, Marked) {
|
||||
var DiffMd = {}
|
||||
var DiffMd = {};
|
||||
|
||||
var DiffDOM = window.diffDOM;
|
||||
var renderer = new Marked.Renderer();
|
||||
|
@ -108,7 +108,7 @@ define([
|
|||
return patch;
|
||||
};
|
||||
|
||||
var apply = DiffMd.apply = function (newHtml, $content) {
|
||||
DiffMd.apply = function (newHtml, $content) {
|
||||
var id = $content.attr('id');
|
||||
if (!id) { throw new Error("The element must have a valid id"); }
|
||||
var $div = $('<div>', {id: id}).append(newHtml);
|
||||
|
|
|
@ -172,7 +172,7 @@ define([
|
|||
};
|
||||
|
||||
exp.uploadCancel = function (cb) {
|
||||
rpc.send('UPLOAD_CANCEL', void 0, function (e, res) {
|
||||
rpc.send('UPLOAD_CANCEL', void 0, function (e) {
|
||||
if (e) { return void cb(e); }
|
||||
cb();
|
||||
});
|
||||
|
|
|
@ -105,7 +105,7 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="version-footer">CryptPad v1.6.0 (Hodag)</div>
|
||||
<div class="version-footer">CryptPad v1.7.0 (Hodag)</div>
|
||||
</footer>
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue