Release 4chan X v1.14.0.13.
This commit is contained in:
parent
dd08860ea0
commit
e872a6f861
@ -4,6 +4,9 @@
|
|||||||
|
|
||||||
## v1.14.0
|
## v1.14.0
|
||||||
|
|
||||||
|
**v1.14.0.13** *(2018-05-01)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.13/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.13/builds/4chan-X-noupdate.crx)]
|
||||||
|
- Fix some bugs in data storage.
|
||||||
|
|
||||||
**v1.14.0.12** *(2018-04-01)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.12/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.12/builds/4chan-X-noupdate.crx)]
|
**v1.14.0.12** *(2018-04-01)* - [[Userscript](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.12/builds/4chan-X-noupdate.user.js)] [[Chrome extension](https://raw.githubusercontent.com/ccd0/4chan-x/1.14.0.12/builds/4chan-X-noupdate.crx)]
|
||||||
- Merge v1.13.15.10: Show 2018 Apr 01 team names in thread updates and other posts generated from JSON.
|
- Merge v1.13.15.10: Show 2018 Apr 01 team names in thread updates and other posts generated from JSON.
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.14.0.12
|
// @version 1.14.0.13
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X beta
|
// @name 4chan X beta
|
||||||
// @version 1.14.0.12
|
// @version 1.14.0.13
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -157,7 +157,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.14.0.12',
|
VERSION: '1.14.0.13',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -5654,25 +5654,29 @@ DataBoard = (function() {
|
|||||||
DataBoard.prototype.changes = [];
|
DataBoard.prototype.changes = [];
|
||||||
|
|
||||||
DataBoard.prototype.save = function(change, cb) {
|
DataBoard.prototype.save = function(change, cb) {
|
||||||
var changes, snapshot1;
|
|
||||||
snapshot1 = JSON.stringify(this.allData);
|
|
||||||
change();
|
change();
|
||||||
changes = this.changes;
|
this.changes.push(change);
|
||||||
changes.push(change);
|
|
||||||
return $.get(this.key, {
|
return $.get(this.key, {
|
||||||
boards: {}
|
boards: {}
|
||||||
}, (function(_this) {
|
}, (function(_this) {
|
||||||
return function(items) {
|
return function(items) {
|
||||||
var c, i, len, snapshot2;
|
var i, len, needSync, ref;
|
||||||
_this.initData(items[_this.key]);
|
if (!_this.changes.length) {
|
||||||
snapshot2 = JSON.stringify(_this.allData);
|
return;
|
||||||
for (i = 0, len = changes.length; i < len; i++) {
|
|
||||||
c = changes[i];
|
|
||||||
c();
|
|
||||||
}
|
}
|
||||||
|
needSync = (items[_this.key].version || 0) > (_this.allData.version || 0);
|
||||||
|
if (needSync) {
|
||||||
|
_this.initData(items[_this.key]);
|
||||||
|
ref = _this.changes;
|
||||||
|
for (i = 0, len = ref.length; i < len; i++) {
|
||||||
|
change = ref[i];
|
||||||
|
change();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
_this.changes = [];
|
||||||
|
_this.allData.version = (_this.allData.version || 0) + 1;
|
||||||
return $.set(_this.key, _this.allData, function() {
|
return $.set(_this.key, _this.allData, function() {
|
||||||
_this.changes = [];
|
if (needSync) {
|
||||||
if (snapshot1 !== snapshot2) {
|
|
||||||
if (typeof _this.sync === "function") {
|
if (typeof _this.sync === "function") {
|
||||||
_this.sync();
|
_this.sync();
|
||||||
}
|
}
|
||||||
@ -5684,21 +5688,18 @@ DataBoard = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
DataBoard.prototype.forceSync = function(cb) {
|
DataBoard.prototype.forceSync = function(cb) {
|
||||||
var changes, snapshot1;
|
|
||||||
snapshot1 = JSON.stringify(this.allData);
|
|
||||||
changes = this.changes;
|
|
||||||
return $.get(this.key, {
|
return $.get(this.key, {
|
||||||
boards: {}
|
boards: {}
|
||||||
}, (function(_this) {
|
}, (function(_this) {
|
||||||
return function(items) {
|
return function(items) {
|
||||||
var c, i, len, snapshot2;
|
var change, i, len, ref;
|
||||||
_this.initData(items[_this.key]);
|
if ((items[_this.key].version || 0) > (_this.allData.version || 0)) {
|
||||||
snapshot2 = JSON.stringify(_this.allData);
|
_this.initData(items[_this.key]);
|
||||||
for (i = 0, len = changes.length; i < len; i++) {
|
ref = _this.changes;
|
||||||
c = changes[i];
|
for (i = 0, len = ref.length; i < len; i++) {
|
||||||
c();
|
change = ref[i];
|
||||||
}
|
change();
|
||||||
if (snapshot1 !== snapshot2) {
|
}
|
||||||
if (typeof _this.sync === "function") {
|
if (typeof _this.sync === "function") {
|
||||||
_this.sync();
|
_this.sync();
|
||||||
}
|
}
|
||||||
@ -5906,6 +5907,9 @@ DataBoard = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
DataBoard.prototype.onSync = function(data) {
|
DataBoard.prototype.onSync = function(data) {
|
||||||
|
if (!((data.version || 0) > (this.allData.version || 0))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.initData(data);
|
this.initData(data);
|
||||||
return typeof this.sync === "function" ? this.sync() : void 0;
|
return typeof this.sync === "function" ? this.sync() : void 0;
|
||||||
};
|
};
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.14.0.12
|
// @version 1.14.0.13
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -157,7 +157,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.14.0.12',
|
VERSION: '1.14.0.13',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -5654,25 +5654,29 @@ DataBoard = (function() {
|
|||||||
DataBoard.prototype.changes = [];
|
DataBoard.prototype.changes = [];
|
||||||
|
|
||||||
DataBoard.prototype.save = function(change, cb) {
|
DataBoard.prototype.save = function(change, cb) {
|
||||||
var changes, snapshot1;
|
|
||||||
snapshot1 = JSON.stringify(this.allData);
|
|
||||||
change();
|
change();
|
||||||
changes = this.changes;
|
this.changes.push(change);
|
||||||
changes.push(change);
|
|
||||||
return $.get(this.key, {
|
return $.get(this.key, {
|
||||||
boards: {}
|
boards: {}
|
||||||
}, (function(_this) {
|
}, (function(_this) {
|
||||||
return function(items) {
|
return function(items) {
|
||||||
var c, i, len, snapshot2;
|
var i, len, needSync, ref;
|
||||||
_this.initData(items[_this.key]);
|
if (!_this.changes.length) {
|
||||||
snapshot2 = JSON.stringify(_this.allData);
|
return;
|
||||||
for (i = 0, len = changes.length; i < len; i++) {
|
|
||||||
c = changes[i];
|
|
||||||
c();
|
|
||||||
}
|
}
|
||||||
|
needSync = (items[_this.key].version || 0) > (_this.allData.version || 0);
|
||||||
|
if (needSync) {
|
||||||
|
_this.initData(items[_this.key]);
|
||||||
|
ref = _this.changes;
|
||||||
|
for (i = 0, len = ref.length; i < len; i++) {
|
||||||
|
change = ref[i];
|
||||||
|
change();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
_this.changes = [];
|
||||||
|
_this.allData.version = (_this.allData.version || 0) + 1;
|
||||||
return $.set(_this.key, _this.allData, function() {
|
return $.set(_this.key, _this.allData, function() {
|
||||||
_this.changes = [];
|
if (needSync) {
|
||||||
if (snapshot1 !== snapshot2) {
|
|
||||||
if (typeof _this.sync === "function") {
|
if (typeof _this.sync === "function") {
|
||||||
_this.sync();
|
_this.sync();
|
||||||
}
|
}
|
||||||
@ -5684,21 +5688,18 @@ DataBoard = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
DataBoard.prototype.forceSync = function(cb) {
|
DataBoard.prototype.forceSync = function(cb) {
|
||||||
var changes, snapshot1;
|
|
||||||
snapshot1 = JSON.stringify(this.allData);
|
|
||||||
changes = this.changes;
|
|
||||||
return $.get(this.key, {
|
return $.get(this.key, {
|
||||||
boards: {}
|
boards: {}
|
||||||
}, (function(_this) {
|
}, (function(_this) {
|
||||||
return function(items) {
|
return function(items) {
|
||||||
var c, i, len, snapshot2;
|
var change, i, len, ref;
|
||||||
_this.initData(items[_this.key]);
|
if ((items[_this.key].version || 0) > (_this.allData.version || 0)) {
|
||||||
snapshot2 = JSON.stringify(_this.allData);
|
_this.initData(items[_this.key]);
|
||||||
for (i = 0, len = changes.length; i < len; i++) {
|
ref = _this.changes;
|
||||||
c = changes[i];
|
for (i = 0, len = ref.length; i < len; i++) {
|
||||||
c();
|
change = ref[i];
|
||||||
}
|
change();
|
||||||
if (snapshot1 !== snapshot2) {
|
}
|
||||||
if (typeof _this.sync === "function") {
|
if (typeof _this.sync === "function") {
|
||||||
_this.sync();
|
_this.sync();
|
||||||
}
|
}
|
||||||
@ -5906,6 +5907,9 @@ DataBoard = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
DataBoard.prototype.onSync = function(data) {
|
DataBoard.prototype.onSync = function(data) {
|
||||||
|
if (!((data.version || 0) > (this.allData.version || 0))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.initData(data);
|
this.initData(data);
|
||||||
return typeof this.sync === "function" ? this.sync() : void 0;
|
return typeof this.sync === "function" ? this.sync() : void 0;
|
||||||
};
|
};
|
||||||
|
|||||||
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.14.0.12
|
// @version 1.14.0.13
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
// ==UserScript==
|
// ==UserScript==
|
||||||
// @name 4chan X
|
// @name 4chan X
|
||||||
// @version 1.14.0.12
|
// @version 1.14.0.13
|
||||||
// @minGMVer 1.14
|
// @minGMVer 1.14
|
||||||
// @minFFVer 26
|
// @minFFVer 26
|
||||||
// @namespace 4chan-X
|
// @namespace 4chan-X
|
||||||
@ -157,7 +157,7 @@ docSet = function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
g = {
|
g = {
|
||||||
VERSION: '1.14.0.12',
|
VERSION: '1.14.0.13',
|
||||||
NAMESPACE: '4chan X.',
|
NAMESPACE: '4chan X.',
|
||||||
boards: {}
|
boards: {}
|
||||||
};
|
};
|
||||||
@ -5654,25 +5654,29 @@ DataBoard = (function() {
|
|||||||
DataBoard.prototype.changes = [];
|
DataBoard.prototype.changes = [];
|
||||||
|
|
||||||
DataBoard.prototype.save = function(change, cb) {
|
DataBoard.prototype.save = function(change, cb) {
|
||||||
var changes, snapshot1;
|
|
||||||
snapshot1 = JSON.stringify(this.allData);
|
|
||||||
change();
|
change();
|
||||||
changes = this.changes;
|
this.changes.push(change);
|
||||||
changes.push(change);
|
|
||||||
return $.get(this.key, {
|
return $.get(this.key, {
|
||||||
boards: {}
|
boards: {}
|
||||||
}, (function(_this) {
|
}, (function(_this) {
|
||||||
return function(items) {
|
return function(items) {
|
||||||
var c, i, len, snapshot2;
|
var i, len, needSync, ref;
|
||||||
_this.initData(items[_this.key]);
|
if (!_this.changes.length) {
|
||||||
snapshot2 = JSON.stringify(_this.allData);
|
return;
|
||||||
for (i = 0, len = changes.length; i < len; i++) {
|
|
||||||
c = changes[i];
|
|
||||||
c();
|
|
||||||
}
|
}
|
||||||
|
needSync = (items[_this.key].version || 0) > (_this.allData.version || 0);
|
||||||
|
if (needSync) {
|
||||||
|
_this.initData(items[_this.key]);
|
||||||
|
ref = _this.changes;
|
||||||
|
for (i = 0, len = ref.length; i < len; i++) {
|
||||||
|
change = ref[i];
|
||||||
|
change();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
_this.changes = [];
|
||||||
|
_this.allData.version = (_this.allData.version || 0) + 1;
|
||||||
return $.set(_this.key, _this.allData, function() {
|
return $.set(_this.key, _this.allData, function() {
|
||||||
_this.changes = [];
|
if (needSync) {
|
||||||
if (snapshot1 !== snapshot2) {
|
|
||||||
if (typeof _this.sync === "function") {
|
if (typeof _this.sync === "function") {
|
||||||
_this.sync();
|
_this.sync();
|
||||||
}
|
}
|
||||||
@ -5684,21 +5688,18 @@ DataBoard = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
DataBoard.prototype.forceSync = function(cb) {
|
DataBoard.prototype.forceSync = function(cb) {
|
||||||
var changes, snapshot1;
|
|
||||||
snapshot1 = JSON.stringify(this.allData);
|
|
||||||
changes = this.changes;
|
|
||||||
return $.get(this.key, {
|
return $.get(this.key, {
|
||||||
boards: {}
|
boards: {}
|
||||||
}, (function(_this) {
|
}, (function(_this) {
|
||||||
return function(items) {
|
return function(items) {
|
||||||
var c, i, len, snapshot2;
|
var change, i, len, ref;
|
||||||
_this.initData(items[_this.key]);
|
if ((items[_this.key].version || 0) > (_this.allData.version || 0)) {
|
||||||
snapshot2 = JSON.stringify(_this.allData);
|
_this.initData(items[_this.key]);
|
||||||
for (i = 0, len = changes.length; i < len; i++) {
|
ref = _this.changes;
|
||||||
c = changes[i];
|
for (i = 0, len = ref.length; i < len; i++) {
|
||||||
c();
|
change = ref[i];
|
||||||
}
|
change();
|
||||||
if (snapshot1 !== snapshot2) {
|
}
|
||||||
if (typeof _this.sync === "function") {
|
if (typeof _this.sync === "function") {
|
||||||
_this.sync();
|
_this.sync();
|
||||||
}
|
}
|
||||||
@ -5906,6 +5907,9 @@ DataBoard = (function() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
DataBoard.prototype.onSync = function(data) {
|
DataBoard.prototype.onSync = function(data) {
|
||||||
|
if (!((data.version || 0) > (this.allData.version || 0))) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
this.initData(data);
|
this.initData(data);
|
||||||
return typeof this.sync === "function" ? this.sync() : void 0;
|
return typeof this.sync === "function" ? this.sync() : void 0;
|
||||||
};
|
};
|
||||||
|
|||||||
Binary file not shown.
@ -3,7 +3,7 @@
|
|||||||
"4chan-x@4chan-x.net": {
|
"4chan-x@4chan-x.net": {
|
||||||
"updates": [
|
"updates": [
|
||||||
{
|
{
|
||||||
"version": "1.14.0.12",
|
"version": "1.14.0.13",
|
||||||
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
|
"update_link": "https://www.4chan-x.net/builds/4chan-X-beta.crx"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.14.0.12' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X-beta.crx' version='1.14.0.13' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"4chan-x@4chan-x.net": {
|
"4chan-x@4chan-x.net": {
|
||||||
"updates": [
|
"updates": [
|
||||||
{
|
{
|
||||||
"version": "1.14.0.12",
|
"version": "1.14.0.13",
|
||||||
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
|
"update_link": "https://www.4chan-x.net/builds/4chan-X.crx"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
<gupdate xmlns='http://www.google.com/update2/response' protocol='2.0'>
|
||||||
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
<app appid='lacclbnghgdicfifcamcmcnilckjamag'>
|
||||||
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.14.0.12' />
|
<updatecheck codebase='https://www.4chan-x.net/builds/4chan-X.crx' version='1.14.0.13' />
|
||||||
</app>
|
</app>
|
||||||
</gupdate>
|
</gupdate>
|
||||||
|
|
||||||
|
|||||||
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"version": "1.14.0.12",
|
"version": "1.14.0.13",
|
||||||
"date": "2018-04-01T04:59:25.833Z"
|
"date": "2018-05-01T22:20:21.861Z"
|
||||||
}
|
}
|
||||||
Loading…
x
Reference in New Issue
Block a user