Skip to content

Commit a6dd034

Browse files
author
pandamicro
committed
Code formatting
1 parent abf8cd7 commit a6dd034

File tree

134 files changed

+5239
-5433
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+5239
-5433
lines changed

CCBoot.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1772,7 +1772,7 @@ var _initSys = function () {
17721772
* Indicate the running browser version
17731773
* @memberof cc.sys
17741774
* @name browserVersion
1775-
* @type {Number}
1775+
* @type {String}
17761776
*/
17771777
sys.browserVersion = "";
17781778
/* Determine the browser version number */
@@ -1792,7 +1792,7 @@ var _initSys = function () {
17921792
* Indicate the real pixel resolution of the whole game window
17931793
* @memberof cc.sys
17941794
* @name windowPixelResolution
1795-
* @type {Number}
1795+
* @type {Size}
17961796
*/
17971797
sys.windowPixelResolution = {
17981798
width: ratio * w,
@@ -1811,18 +1811,18 @@ var _initSys = function () {
18111811
canvas.height = 1;
18121812
var context = canvas.getContext('2d');
18131813
context.fillStyle = '#000';
1814-
context.fillRect(0,0,1,1);
1814+
context.fillRect(0, 0, 1, 1);
18151815
context.globalCompositeOperation = 'multiply';
18161816

18171817
var canvas2 = _tmpCanvas2;
18181818
canvas2.width = 1;
18191819
canvas2.height = 1;
18201820
var context2 = canvas2.getContext('2d');
18211821
context2.fillStyle = '#fff';
1822-
context2.fillRect(0,0,1,1);
1822+
context2.fillRect(0, 0, 1, 1);
18231823
context.drawImage(canvas2, 0, 0, 1, 1);
18241824

1825-
return context.getImageData(0,0,1,1).data[0] === 0;
1825+
return context.getImageData(0, 0, 1, 1).data[0] === 0;
18261826
})();
18271827

18281828
// Adjust mobile css settings

0 commit comments

Comments
 (0)