Skip to content

Commit 3361574

Browse files
committed
build 1.4.0
1 parent 8d6f428 commit 3361574

File tree

402 files changed

+1809
-1622
lines changed

Some content is hidden

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

402 files changed

+1809
-1622
lines changed

build/amd/hilo-amd.js

Lines changed: 49 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Hilo 1.3.0 for amd
2+
* Hilo 1.4.0 for amd
33
* Copyright 2016 alibaba.com
44
* Licensed under the MIT License
55
*/
@@ -192,7 +192,7 @@ return browser;
192192

193193
});
194194
/**
195-
* Hilo 1.3.0 for amd
195+
* Hilo 1.4.0 for amd
196196
* Copyright 2016 alibaba.com
197197
* Licensed under the MIT License
198198
*/
@@ -229,7 +229,7 @@ return util;
229229

230230
});
231231
/**
232-
* Hilo 1.3.0 for amd
232+
* Hilo 1.4.0 for amd
233233
* Copyright 2016 alibaba.com
234234
* Licensed under the MIT License
235235
*/
@@ -257,7 +257,7 @@ var Hilo = {
257257
* Hilo version
258258
* @type String
259259
*/
260-
version: '1.3.0',
260+
version: '1.4.0',
261261
/**
262262
* @language=en
263263
* Gets a globally unique id. Such as Stage1, Bitmap2 etc.
@@ -565,7 +565,7 @@ return Hilo;
565565

566566
});
567567
/**
568-
* Hilo 1.3.0 for amd
568+
* Hilo 1.4.0 for amd
569569
* Copyright 2016 alibaba.com
570570
* Licensed under the MIT License
571571
*/
@@ -748,7 +748,7 @@ return Class;
748748

749749
});
750750
/**
751-
* Hilo 1.3.0 for amd
751+
* Hilo 1.4.0 for amd
752752
* Copyright 2016 alibaba.com
753753
* Licensed under the MIT License
754754
*/
@@ -972,7 +972,7 @@ return Matrix;
972972

973973
});
974974
/**
975-
* Hilo 1.3.0 for amd
975+
* Hilo 1.4.0 for amd
976976
* Copyright 2016 alibaba.com
977977
* Licensed under the MIT License
978978
*/
@@ -1125,7 +1125,7 @@ return EventMixin;
11251125

11261126
});
11271127
/**
1128-
* Hilo 1.3.0 for amd
1128+
* Hilo 1.4.0 for amd
11291129
* Copyright 2016 alibaba.com
11301130
* Licensed under the MIT License
11311131
*/
@@ -1206,7 +1206,7 @@ return Drawable;
12061206

12071207
});
12081208
/**
1209-
* Hilo 1.3.0 for amd
1209+
* Hilo 1.4.0 for amd
12101210
* Copyright 2016 alibaba.com
12111211
* Licensed under the MIT License
12121212
*/
@@ -1300,7 +1300,7 @@ return Renderer;
13001300

13011301
});
13021302
/**
1303-
* Hilo 1.3.0 for amd
1303+
* Hilo 1.4.0 for amd
13041304
* Copyright 2016 alibaba.com
13051305
* Licensed under the MIT License
13061306
*/
@@ -1511,7 +1511,7 @@ return CanvasRenderer;
15111511

15121512
});
15131513
/**
1514-
* Hilo 1.3.0 for amd
1514+
* Hilo 1.4.0 for amd
15151515
* Copyright 2016 alibaba.com
15161516
* Licensed under the MIT License
15171517
*/
@@ -1693,7 +1693,7 @@ return DOMRenderer;
16931693

16941694
});
16951695
/**
1696-
* Hilo 1.3.0 for amd
1696+
* Hilo 1.4.0 for amd
16971697
* Copyright 2016 alibaba.com
16981698
* Licensed under the MIT License
16991699
*/
@@ -1750,7 +1750,13 @@ var WebGLRenderer = Class.create(/** @lends WebGLRenderer.prototype */{
17501750
}
17511751
}
17521752
return this._isSupported;
1753-
}
1753+
},
1754+
/**
1755+
* WebGL context Options
1756+
* @see https://developer.mozilla.org/en-US/docs/Web/API/WebGLRenderingContext/getContextAttributes
1757+
* @type {Object}
1758+
*/
1759+
contextOptions: null
17541760
},
17551761
renderType:'webgl',
17561762
gl:null,
@@ -1759,7 +1765,8 @@ var WebGLRenderer = Class.create(/** @lends WebGLRenderer.prototype */{
17591765
constructor: function(properties){
17601766
WebGLRenderer.superclass.constructor.call(this, properties);
17611767
var that = this;
1762-
this.gl = this.canvas.getContext("webgl")||this.canvas.getContext('experimental-webgl');
1768+
var contextOptions = WebGLRenderer.contextOptions || {};
1769+
this.gl = this.canvas.getContext("webgl", contextOptions)||this.canvas.getContext('experimental-webgl', contextOptions);
17631770

17641771
this.maxBatchNum = WebGLRenderer.MAX_BATCH_NUM;
17651772
this.positionStride = WebGLRenderer.ATTRIBUTE_NUM * 4;
@@ -2270,7 +2277,7 @@ return WebGLRenderer;
22702277

22712278
});
22722279
/**
2273-
* Hilo 1.3.0 for amd
2280+
* Hilo 1.4.0 for amd
22742281
* Copyright 2016 alibaba.com
22752282
* Licensed under the MIT License
22762283
*/
@@ -2767,7 +2774,7 @@ return View;
27672774

27682775
});
27692776
/**
2770-
* Hilo 1.3.0 for amd
2777+
* Hilo 1.4.0 for amd
27712778
* Copyright 2016 alibaba.com
27722779
* Licensed under the MIT License
27732780
*/
@@ -2833,7 +2840,7 @@ return CacheMixin;
28332840

28342841
});
28352842
/**
2836-
* Hilo 1.3.0 for amd
2843+
* Hilo 1.4.0 for amd
28372844
* Copyright 2016 alibaba.com
28382845
* Licensed under the MIT License
28392846
*/
@@ -3207,7 +3214,7 @@ return Container;
32073214

32083215
});
32093216
/**
3210-
* Hilo 1.3.0 for amd
3217+
* Hilo 1.4.0 for amd
32113218
* Copyright 2016 alibaba.com
32123219
* Licensed under the MIT License
32133220
*/
@@ -3474,7 +3481,7 @@ return Stage;
34743481

34753482
});
34763483
/**
3477-
* Hilo 1.3.0 for amd
3484+
* Hilo 1.4.0 for amd
34783485
* Copyright 2016 alibaba.com
34793486
* Licensed under the MIT License
34803487
*/
@@ -3552,7 +3559,7 @@ return Bitmap;
35523559

35533560
});
35543561
/**
3555-
* Hilo 1.3.0 for amd
3562+
* Hilo 1.4.0 for amd
35563563
* Copyright 2016 alibaba.com
35573564
* Licensed under the MIT License
35583565
*/
@@ -3823,7 +3830,7 @@ return Sprite;
38233830

38243831
});
38253832
/**
3826-
* Hilo 1.3.0 for amd
3833+
* Hilo 1.4.0 for amd
38273834
* Copyright 2016 alibaba.com
38283835
* Licensed under the MIT License
38293836
*/
@@ -3938,7 +3945,7 @@ return DOMElement;
39383945

39393946
});
39403947
/**
3941-
* Hilo 1.3.0 for amd
3948+
* Hilo 1.4.0 for amd
39423949
* Copyright 2016 alibaba.com
39433950
* Licensed under the MIT License
39443951
*/
@@ -3948,7 +3955,7 @@ define('hilo/view/Graphics', ['hilo/core/Hilo', 'hilo/core/Class', 'hilo/view/Vi
39483955

39493956
/**
39503957
* @language=en
3951-
* <iframe src='../../../examples/Graphics.html?noHeader' width = '320' height = '400' scrolling='no'></iframe>
3958+
* <iframe src='../../../examples/Graphics.html?noHeader' width = '430' height = '400' scrolling='no'></iframe>
39523959
* <br/>
39533960
* @class Graphics class contains a group of functions for creating vector graphics.
39543961
* @augments View
@@ -4500,7 +4507,7 @@ return Graphics;
45004507

45014508
});
45024509
/**
4503-
* Hilo 1.3.0 for amd
4510+
* Hilo 1.4.0 for amd
45044511
* Copyright 2016 alibaba.com
45054512
* Licensed under the MIT License
45064513
*/
@@ -4548,7 +4555,7 @@ var Text = Class.create(/** @lends Text.prototype */{
45484555
this._fontHeight = Text.measureFontHeight(this.font);
45494556
},
45504557

4551-
text: null,
4558+
text: '',
45524559
color: '#000',
45534560
textAlign: null,
45544561
textVAlign: null,
@@ -4753,7 +4760,7 @@ return Text;
47534760

47544761
});
47554762
/**
4756-
* Hilo 1.3.0 for amd
4763+
* Hilo 1.4.0 for amd
47574764
* Copyright 2016 alibaba.com
47584765
* Licensed under the MIT License
47594766
*/
@@ -4937,7 +4944,7 @@ return BitmapText;
49374944

49384945
});
49394946
/**
4940-
* Hilo 1.3.0 for amd
4947+
* Hilo 1.4.0 for amd
49414948
* Copyright 2016 alibaba.com
49424949
* Licensed under the MIT License
49434950
*/
@@ -5116,7 +5123,7 @@ return Button;
51165123

51175124
});
51185125
/**
5119-
* Hilo 1.3.0 for amd
5126+
* Hilo 1.4.0 for amd
51205127
* Copyright 2016 alibaba.com
51215128
* Licensed under the MIT License
51225129
*/
@@ -5353,7 +5360,7 @@ return TextureAtlas;
53535360

53545361
});
53555362
/**
5356-
* Hilo 1.3.0 for amd
5363+
* Hilo 1.4.0 for amd
53575364
* Copyright 2016 alibaba.com
53585365
* Licensed under the MIT License
53595366
*/
@@ -5582,7 +5589,7 @@ return Ticker;
55825589

55835590
});
55845591
/**
5585-
* Hilo 1.3.0 for amd
5592+
* Hilo 1.4.0 for amd
55865593
* Copyright 2016 alibaba.com
55875594
* Licensed under the MIT License
55885595
*/
@@ -5630,7 +5637,7 @@ if (!fnProto.bind) {
56305637

56315638
});
56325639
/**
5633-
* Hilo 1.3.0 for amd
5640+
* Hilo 1.4.0 for amd
56345641
* Copyright 2016 alibaba.com
56355642
* Licensed under the MIT License
56365643
*/
@@ -5769,7 +5776,7 @@ return drag;
57695776

57705777
});
57715778
/**
5772-
* Hilo 1.3.0 for amd
5779+
* Hilo 1.4.0 for amd
57735780
* Copyright 2016 alibaba.com
57745781
* Licensed under the MIT License
57755782
*/
@@ -6219,7 +6226,7 @@ return Tween;
62196226

62206227
});
62216228
/**
6222-
* Hilo 1.3.0 for amd
6229+
* Hilo 1.4.0 for amd
62236230
* Copyright 2016 alibaba.com
62246231
* Licensed under the MIT License
62256232
*/
@@ -6491,7 +6498,7 @@ return Ease;
64916498

64926499
});
64936500
/**
6494-
* Hilo 1.3.0 for amd
6501+
* Hilo 1.4.0 for amd
64956502
* Copyright 2016 alibaba.com
64966503
* Licensed under the MIT License
64976504
*/
@@ -6539,7 +6546,7 @@ return ImageLoader;
65396546

65406547
});
65416548
/**
6542-
* Hilo 1.3.0 for amd
6549+
* Hilo 1.4.0 for amd
65436550
* Copyright 2016 alibaba.com
65446551
* Licensed under the MIT License
65456552
*/
@@ -6606,7 +6613,7 @@ return ScriptLoader;
66066613

66076614
});
66086615
/**
6609-
* Hilo 1.3.0 for amd
6616+
* Hilo 1.4.0 for amd
66106617
* Copyright 2016 alibaba.com
66116618
* Licensed under the MIT License
66126619
*/
@@ -6856,7 +6863,7 @@ return LoadQueue;
68566863

68576864
});
68586865
/**
6859-
* Hilo 1.3.0 for amd
6866+
* Hilo 1.4.0 for amd
68606867
* Copyright 2016 alibaba.com
68616868
* Licensed under the MIT License
68626869
*/
@@ -7059,7 +7066,7 @@ return HTMLAudio;
70597066

70607067
});
70617068
/**
7062-
* Hilo 1.3.0 for amd
7069+
* Hilo 1.4.0 for amd
70637070
* Copyright 2016 alibaba.com
70647071
* Licensed under the MIT License
70657072
*/
@@ -7376,7 +7383,7 @@ return WebAudio;
73767383

73777384
});
73787385
/**
7379-
* Hilo 1.3.0 for amd
7386+
* Hilo 1.4.0 for amd
73807387
* Copyright 2016 alibaba.com
73817388
* Licensed under the MIT License
73827389
*/
@@ -7479,7 +7486,7 @@ return WebSound;
74797486

74807487
});
74817488
/**
7482-
* Hilo 1.3.0 for amd
7489+
* Hilo 1.4.0 for amd
74837490
* Copyright 2016 alibaba.com
74847491
* Licensed under the MIT License
74857492
*/
@@ -7572,7 +7579,7 @@ return Camera;
75727579

75737580
});
75747581
/**
7575-
* Hilo 1.3.0 for amd
7582+
* Hilo 1.4.0 for amd
75767583
* Copyright 2016 alibaba.com
75777584
* Licensed under the MIT License
75787585
*/
@@ -7759,7 +7766,7 @@ return Camera3d;
77597766

77607767
});
77617768
/**
7762-
* Hilo 1.3.0 for amd
7769+
* Hilo 1.4.0 for amd
77637770
* Copyright 2016 alibaba.com
77647771
* Licensed under the MIT License
77657772
*/

build/amd/hilo-amd.min.js

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

build/amd/hilo-amd.zip

222 Bytes
Binary file not shown.

build/amd/hilo/core/Class.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Hilo 1.3.0 for amd
2+
* Hilo 1.4.0 for amd
33
* Copyright 2016 alibaba.com
44
* Licensed under the MIT License
55
*/

build/amd/hilo/core/Class.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)