Skip to content

Commit

Permalink
释出
Browse files Browse the repository at this point in the history
  • Loading branch information
pea3nut committed Apr 20, 2017
1 parent 829d03b commit 925c033
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 12 deletions.
2 changes: 1 addition & 1 deletion build/pxer-utility.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ const Babel = require('babel-core');

module.exports.pxerURL ='https://pxer-app.pea3nut.org/';
module.exports.rootPath ='../';
module.exports.pxerVersion ='7.0.3';
module.exports.pxerVersion ='7.0.4';

module.exports.path2URL =function(path){
var url =module.exports.pxerURL;
Expand Down
2 changes: 1 addition & 1 deletion dist/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
~function () {
var libURL = /**/"dist/lib.js"; //*/'';
var supportURL = /**/"dist/support.js"; //*/'';
window['PXER_VERSION'] = /**/"7.0.3"; //*/'';
window['PXER_VERSION'] = /**/"7.0.4"; //*/'';

Promise.resolve().then(function () {
var script = document.createElement('script');
Expand Down
17 changes: 9 additions & 8 deletions dist/pxer-core.js
Original file line number Diff line number Diff line change
Expand Up @@ -952,8 +952,8 @@ PxerPrinter.getUgoira = function (works) {
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'max';

var tpl = {
"max": "http://#domain#/img-zip-ugoira/img/#date#/#id#_ugoira1920x1080.zip",
"600p": "http://#domain#/img-zip-ugoira/img/#date#/#id#_ugoira600x600.zip"
"max": "https://#domain#/img-zip-ugoira/img/#date#/#id#_ugoira1920x1080.zip",
"600p": "https://#domain#/img-zip-ugoira/img/#date#/#id#_ugoira600x600.zip"
};

var address = tpl[type];
Expand All @@ -975,9 +975,9 @@ PxerPrinter.getMultiple = function (works) {
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'max';

var tpl = {
"max": "http://#domain#/img-original/img/#date#/#id#_p#index#.#fileFormat#",
"1200p": "http://#domain#/c/1200x1200/img-master/img/#date#/#id#_p#index#_master1200.jpg",
"cover_600p": "http://#domain#/c/600x600/img-master/img/#date#/#id#_p0_master1200.jpg"
"max": "https://#domain#/img-original/img/#date#/#id#_p#index#.#fileFormat#",
"1200p": "https://#domain#/c/1200x1200/img-master/img/#date#/#id#_p#index#_master1200.jpg",
"cover_600p": "https://#domain#/c/600x600/img-master/img/#date#/#id#_p0_master1200.jpg"
};

var address = tpl[type];
Expand Down Expand Up @@ -1005,8 +1005,8 @@ PxerPrinter.getWorks = function (works) {
var type = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'max';

var tpl = {
"max": "http://#domain#/img-original/img/#date#/#id#_p0.#fileFormat#",
"600p": "http://#domain#/c/600x600/img-master/img/#date#/#id#_p0_master1200.jpg"
"max": "https://#domain#/img-original/img/#date#/#id#_p0.#fileFormat#",
"600p": "https://#domain#/c/600x600/img-master/img/#date#/#id#_p0_master1200.jpg"
};

var address = tpl[type];
Expand Down Expand Up @@ -1225,7 +1225,8 @@ PxerThread.prototype['run'] = function _self() {
_self.call(_this6); //递归
return true;
});
XHR.addEventListener("error", function () {
XHR.addEventListener("error", function (argn) {
throw argn;
_this6.state = 'error';
_this6.dispatch('error', {
task: _this6.task,
Expand Down
3 changes: 2 additions & 1 deletion pxer-master.user.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
// @grant none
// @noframes
// @include https://www.pixiv.net*
// @include http://www.pixiv.net*
// ==/UserScript==
javascript:void((function() {
// 环境变量
window['PXER_URL'] =/**/"http://pxer-app.pea3nut.org/";//*/'';
window['PXER_URL'] =/**/"https://pxer-app.pea3nut.org/";//*/'';
window['PXER_MODE'] ='master';

// 引入入口文件
Expand Down
2 changes: 1 addition & 1 deletion src/launcher.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
~function(){
var libURL =/**/"src/app/lib.js";//*/'';
var supportURL =/**/"src/app/support.js";//*/'';
window['PXER_VERSION'] =/**/"7.0.3";//*/'';
window['PXER_VERSION'] =/**/"7.0.4";//*/'';

Promise.resolve().then(function(){
var script = document.createElement('script');
Expand Down

0 comments on commit 925c033

Please sign in to comment.