mirror of
https://github.com/photonstorm/phaser
synced 2024-12-22 19:13:37 +00:00
Reverted dist files, package-lock and types
This commit is contained in:
parent
b014837aae
commit
20216d0476
10 changed files with 12710 additions and 12771 deletions
8
dist/phaser-arcade-physics.js
vendored
8
dist/phaser-arcade-physics.js
vendored
|
@ -4871,8 +4871,7 @@ var File = new Class({
|
|||
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
|
||||
// See: https://github.com/photonstorm/phaser/issues/5685
|
||||
|
||||
var localSchemes = [ 'file://', 'capacitor://', this.loader.systems.game.config.loaderLocalScheme ];
|
||||
var isLocalFile = xhr.responseURL && localSchemes.some(function (scheme) { return xhr.responseURL.indexOf(scheme) === 0; });
|
||||
var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
|
||||
|
||||
var localFileOk = (isLocalFile && event.target.status === 0);
|
||||
|
||||
|
@ -71881,11 +71880,6 @@ var Config = new Class({
|
|||
*/
|
||||
this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false);
|
||||
|
||||
/**
|
||||
* @const {string} Phaser.Core.Config#loaderLocalScheme - Optional local scheme definition.
|
||||
*/
|
||||
this.loaderLocalScheme = GetValue(config, 'loader.localScheme', '');
|
||||
|
||||
/*
|
||||
* Allows `plugins` property to either be an array, in which case it just replaces
|
||||
* the default plugins like previously, or a config object.
|
||||
|
|
2
dist/phaser-arcade-physics.min.js
vendored
2
dist/phaser-arcade-physics.min.js
vendored
File diff suppressed because one or more lines are too long
8
dist/phaser-facebook-instant-games.js
vendored
8
dist/phaser-facebook-instant-games.js
vendored
|
@ -5415,8 +5415,7 @@ var File = new Class({
|
|||
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
|
||||
// See: https://github.com/photonstorm/phaser/issues/5685
|
||||
|
||||
var localSchemes = [ 'file://', 'capacitor://', this.loader.systems.game.config.loaderLocalScheme ];
|
||||
var isLocalFile = xhr.responseURL && localSchemes.some(function (scheme) { return xhr.responseURL.indexOf(scheme) === 0; });
|
||||
var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
|
||||
|
||||
var localFileOk = (isLocalFile && event.target.status === 0);
|
||||
|
||||
|
@ -79631,11 +79630,6 @@ var Config = new Class({
|
|||
*/
|
||||
this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false);
|
||||
|
||||
/**
|
||||
* @const {string} Phaser.Core.Config#loaderLocalScheme - Optional local scheme definition.
|
||||
*/
|
||||
this.loaderLocalScheme = GetValue(config, 'loader.localScheme', '');
|
||||
|
||||
/*
|
||||
* Allows `plugins` property to either be an array, in which case it just replaces
|
||||
* the default plugins like previously, or a config object.
|
||||
|
|
2
dist/phaser-facebook-instant-games.min.js
vendored
2
dist/phaser-facebook-instant-games.min.js
vendored
File diff suppressed because one or more lines are too long
8
dist/phaser-ie9.js
vendored
8
dist/phaser-ie9.js
vendored
|
@ -4871,8 +4871,7 @@ var File = new Class({
|
|||
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
|
||||
// See: https://github.com/photonstorm/phaser/issues/5685
|
||||
|
||||
var localSchemes = [ 'file://', 'capacitor://', this.loader.systems.game.config.loaderLocalScheme ];
|
||||
var isLocalFile = xhr.responseURL && localSchemes.some(function (scheme) { return xhr.responseURL.indexOf(scheme) === 0; });
|
||||
var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
|
||||
|
||||
var localFileOk = (isLocalFile && event.target.status === 0);
|
||||
|
||||
|
@ -77069,11 +77068,6 @@ var Config = new Class({
|
|||
*/
|
||||
this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false);
|
||||
|
||||
/**
|
||||
* @const {string} Phaser.Core.Config#loaderLocalScheme - Optional local scheme definition.
|
||||
*/
|
||||
this.loaderLocalScheme = GetValue(config, 'loader.localScheme', '');
|
||||
|
||||
/*
|
||||
* Allows `plugins` property to either be an array, in which case it just replaces
|
||||
* the default plugins like previously, or a config object.
|
||||
|
|
2
dist/phaser-ie9.min.js
vendored
2
dist/phaser-ie9.min.js
vendored
File diff suppressed because one or more lines are too long
8
dist/phaser.js
vendored
8
dist/phaser.js
vendored
|
@ -4871,8 +4871,7 @@ var File = new Class({
|
|||
// On iOS, Capacitor often runs on a capacitor:// protocol, meaning local files are served from capacitor:// rather than file://
|
||||
// See: https://github.com/photonstorm/phaser/issues/5685
|
||||
|
||||
var localSchemes = [ 'file://', 'capacitor://', this.loader.systems.game.config.loaderLocalScheme ];
|
||||
var isLocalFile = xhr.responseURL && localSchemes.some(function (scheme) { return xhr.responseURL.indexOf(scheme) === 0; });
|
||||
var isLocalFile = xhr.responseURL && (xhr.responseURL.indexOf('file://') === 0 || xhr.responseURL.indexOf('capacitor://') === 0);
|
||||
|
||||
var localFileOk = (isLocalFile && event.target.status === 0);
|
||||
|
||||
|
@ -77069,11 +77068,6 @@ var Config = new Class({
|
|||
*/
|
||||
this.loaderWithCredentials = GetValue(config, 'loader.withCredentials', false);
|
||||
|
||||
/**
|
||||
* @const {string} Phaser.Core.Config#loaderLocalScheme - Optional local scheme definition.
|
||||
*/
|
||||
this.loaderLocalScheme = GetValue(config, 'loader.localScheme', '');
|
||||
|
||||
/*
|
||||
* Allows `plugins` property to either be an array, in which case it just replaces
|
||||
* the default plugins like previously, or a config object.
|
||||
|
|
2
dist/phaser.min.js
vendored
2
dist/phaser.min.js
vendored
File diff suppressed because one or more lines are too long
32
package-lock.json
generated
32
package-lock.json
generated
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "phaser",
|
||||
"version": "3.55.2",
|
||||
"version": "3.53.0",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
@ -692,16 +692,6 @@
|
|||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"bindings": {
|
||||
"version": "1.5.0",
|
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.5.0.tgz",
|
||||
"integrity": "sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"file-uri-to-path": "1.0.0"
|
||||
}
|
||||
},
|
||||
"bluebird": {
|
||||
"version": "3.7.2",
|
||||
"resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz",
|
||||
|
@ -2077,13 +2067,6 @@
|
|||
"flat-cache": "^2.0.1"
|
||||
}
|
||||
},
|
||||
"file-uri-to-path": {
|
||||
"version": "1.0.0",
|
||||
"resolved": "https://registry.npmjs.org/file-uri-to-path/-/file-uri-to-path-1.0.0.tgz",
|
||||
"integrity": "sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"fill-range": {
|
||||
"version": "4.0.0",
|
||||
"resolved": "https://registry.npmjs.org/fill-range/-/fill-range-4.0.0.tgz",
|
||||
|
@ -3253,13 +3236,6 @@
|
|||
"integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==",
|
||||
"dev": true
|
||||
},
|
||||
"nan": {
|
||||
"version": "2.15.0",
|
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.15.0.tgz",
|
||||
"integrity": "sha512-8ZtvEnA2c5aYCZYd1cvgdnU6cqwixRoYg70xPLWUws5ORTa/lnw+u4amixRS/Ac5U5mQVgp9pnlSUnbNWFaWZQ==",
|
||||
"dev": true,
|
||||
"optional": true
|
||||
},
|
||||
"nanomatch": {
|
||||
"version": "1.2.13",
|
||||
"resolved": "https://registry.npmjs.org/nanomatch/-/nanomatch-1.2.13.tgz",
|
||||
|
@ -5051,11 +5027,7 @@
|
|||
"resolved": "https://registry.npmjs.org/fsevents/-/fsevents-1.2.13.tgz",
|
||||
"integrity": "sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==",
|
||||
"dev": true,
|
||||
"optional": true,
|
||||
"requires": {
|
||||
"bindings": "^1.5.0",
|
||||
"nan": "^2.12.1"
|
||||
}
|
||||
"optional": true
|
||||
},
|
||||
"glob-parent": {
|
||||
"version": "3.1.0",
|
||||
|
|
25409
types/phaser.d.ts
vendored
25409
types/phaser.d.ts
vendored
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue