melonjs 11.0.0 → 12.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- package/dist/melonjs.js +2684 -2604
- package/dist/melonjs.min.js +4 -4
- package/dist/melonjs.module.d.ts +0 -20
- package/dist/melonjs.module.js +2689 -2612
- package/package.json +4 -3
- package/src/audio/audio.js +5 -5
- package/src/loader/loadingscreen.js +17 -103
- package/src/loader/melonjs_logo.png +0 -0
- package/src/polyfill/index.js +4 -0
- package/src/text/bitmaptext.js +1 -2
- package/src/text/text.js +1 -2
- package/src/text/textmetrics.js +1 -2
- package/src/utils/string.js +0 -24
package/dist/melonjs.module.d.ts
CHANGED
|
@@ -12500,8 +12500,6 @@ declare var fileUtils: Readonly<{
|
|
|
12500
12500
|
declare var stringUtils: Readonly<{
|
|
12501
12501
|
__proto__: any;
|
|
12502
12502
|
capitalize: typeof capitalize;
|
|
12503
|
-
trimLeft: typeof trimLeft;
|
|
12504
|
-
trimRight: typeof trimRight;
|
|
12505
12503
|
isNumeric: typeof isNumeric;
|
|
12506
12504
|
isBoolean: typeof isBoolean;
|
|
12507
12505
|
toHex: typeof toHex$1;
|
|
@@ -12681,24 +12679,6 @@ declare function getExtension(path: string): string;
|
|
|
12681
12679
|
* @returns {string} the capitalized string
|
|
12682
12680
|
*/
|
|
12683
12681
|
declare function capitalize(str: string): string;
|
|
12684
|
-
/**
|
|
12685
|
-
* returns the string stripped of whitespace from the left.
|
|
12686
|
-
* @public
|
|
12687
|
-
* @memberof utils.string
|
|
12688
|
-
* @name trimLeft
|
|
12689
|
-
* @param {string} str the string to be trimmed
|
|
12690
|
-
* @returns {string} trimmed string
|
|
12691
|
-
*/
|
|
12692
|
-
declare function trimLeft(str: string): string;
|
|
12693
|
-
/**
|
|
12694
|
-
* returns the string stripped of whitespace from the right.
|
|
12695
|
-
* @public
|
|
12696
|
-
* @memberof utils.string
|
|
12697
|
-
* @name trimRight
|
|
12698
|
-
* @param {string} str the string to be trimmed
|
|
12699
|
-
* @returns {string} trimmed string
|
|
12700
|
-
*/
|
|
12701
|
-
declare function trimRight(str: string): string;
|
|
12702
12682
|
/**
|
|
12703
12683
|
* returns true if the given string contains a numeric integer or float value
|
|
12704
12684
|
* @public
|