Skip to content

Commit 951be60

Browse files
committed
build 1.6.0
1 parent be0ac75 commit 951be60

File tree

398 files changed

+1199
-17058
lines changed

Some content is hidden

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

398 files changed

+1199
-17058
lines changed

Diff for: build/amd/hilo-amd.js

+56-39
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Hilo 1.5.0 for amd
2+
* Hilo 1.6.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.5.0 for amd
195+
* Hilo 1.6.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.5.0 for amd
232+
* Hilo 1.6.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.5.0',
260+
version: '1.6.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.5.0 for amd
568+
* Hilo 1.6.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.5.0 for amd
751+
* Hilo 1.6.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.5.0 for amd
975+
* Hilo 1.6.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.5.0 for amd
1128+
* Hilo 1.6.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.5.0 for amd
1209+
* Hilo 1.6.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.5.0 for amd
1303+
* Hilo 1.6.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.5.0 for amd
1514+
* Hilo 1.6.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.5.0 for amd
1696+
* Hilo 1.6.0 for amd
16971697
* Copyright 2016 alibaba.com
16981698
* Licensed under the MIT License
16991699
*/
@@ -2277,7 +2277,7 @@ return WebGLRenderer;
22772277

22782278
});
22792279
/**
2280-
* Hilo 1.5.0 for amd
2280+
* Hilo 1.6.0 for amd
22812281
* Copyright 2016 alibaba.com
22822282
* Licensed under the MIT License
22832283
*/
@@ -2774,7 +2774,7 @@ return View;
27742774

27752775
});
27762776
/**
2777-
* Hilo 1.5.0 for amd
2777+
* Hilo 1.6.0 for amd
27782778
* Copyright 2016 alibaba.com
27792779
* Licensed under the MIT License
27802780
*/
@@ -2840,7 +2840,7 @@ return CacheMixin;
28402840

28412841
});
28422842
/**
2843-
* Hilo 1.5.0 for amd
2843+
* Hilo 1.6.0 for amd
28442844
* Copyright 2016 alibaba.com
28452845
* Licensed under the MIT License
28462846
*/
@@ -3214,7 +3214,7 @@ return Container;
32143214

32153215
});
32163216
/**
3217-
* Hilo 1.5.0 for amd
3217+
* Hilo 1.6.0 for amd
32183218
* Copyright 2016 alibaba.com
32193219
* Licensed under the MIT License
32203220
*/
@@ -3481,7 +3481,7 @@ return Stage;
34813481

34823482
});
34833483
/**
3484-
* Hilo 1.5.0 for amd
3484+
* Hilo 1.6.0 for amd
34853485
* Copyright 2016 alibaba.com
34863486
* Licensed under the MIT License
34873487
*/
@@ -3536,7 +3536,7 @@ define('hilo/view/Bitmap', ['hilo/core/Hilo', 'hilo/core/Class', 'hilo/view/View
35363536
* set the image。
35373537
* @param {Image|String} Image Object or URL.
35383538
* @param {Array} rect the range of bitmap in the image, option.
3539-
* @param {Boolean} Whether cross-domain is needed, default is false.
3539+
* @param {Boolean} crossOrigin Whether cross-domain is needed, default is false.
35403540
* @returns {Bitmap} self。
35413541
*/
35423542
setImage: function(image, rect, crossOrigin){
@@ -3561,7 +3561,7 @@ return Bitmap;
35613561

35623562
});
35633563
/**
3564-
* Hilo 1.5.0 for amd
3564+
* Hilo 1.6.0 for amd
35653565
* Copyright 2016 alibaba.com
35663566
* Licensed under the MIT License
35673567
*/
@@ -3832,7 +3832,7 @@ return Sprite;
38323832

38333833
});
38343834
/**
3835-
* Hilo 1.5.0 for amd
3835+
* Hilo 1.6.0 for amd
38363836
* Copyright 2016 alibaba.com
38373837
* Licensed under the MIT License
38383838
*/
@@ -3947,7 +3947,7 @@ return DOMElement;
39473947

39483948
});
39493949
/**
3950-
* Hilo 1.5.0 for amd
3950+
* Hilo 1.6.0 for amd
39513951
* Copyright 2016 alibaba.com
39523952
* Licensed under the MIT License
39533953
*/
@@ -4509,7 +4509,7 @@ return Graphics;
45094509

45104510
});
45114511
/**
4512-
* Hilo 1.5.0 for amd
4512+
* Hilo 1.6.0 for amd
45134513
* Copyright 2016 alibaba.com
45144514
* Licensed under the MIT License
45154515
*/
@@ -4762,7 +4762,7 @@ return Text;
47624762

47634763
});
47644764
/**
4765-
* Hilo 1.5.0 for amd
4765+
* Hilo 1.6.0 for amd
47664766
* Copyright 2016 alibaba.com
47674767
* Licensed under the MIT License
47684768
*/
@@ -4946,7 +4946,7 @@ return BitmapText;
49464946

49474947
});
49484948
/**
4949-
* Hilo 1.5.0 for amd
4949+
* Hilo 1.6.0 for amd
49504950
* Copyright 2016 alibaba.com
49514951
* Licensed under the MIT License
49524952
*/
@@ -5125,7 +5125,7 @@ return Button;
51255125

51265126
});
51275127
/**
5128-
* Hilo 1.5.0 for amd
5128+
* Hilo 1.6.0 for amd
51295129
* Copyright 2016 alibaba.com
51305130
* Licensed under the MIT License
51315131
*/
@@ -5362,7 +5362,7 @@ return TextureAtlas;
53625362

53635363
});
53645364
/**
5365-
* Hilo 1.5.0 for amd
5365+
* Hilo 1.6.0 for amd
53665366
* Copyright 2016 alibaba.com
53675367
* Licensed under the MIT License
53685368
*/
@@ -5591,7 +5591,7 @@ return Ticker;
55915591

55925592
});
55935593
/**
5594-
* Hilo 1.5.0 for amd
5594+
* Hilo 1.6.0 for amd
55955595
* Copyright 2016 alibaba.com
55965596
* Licensed under the MIT License
55975597
*/
@@ -5639,7 +5639,7 @@ if (!fnProto.bind) {
56395639

56405640
});
56415641
/**
5642-
* Hilo 1.5.0 for amd
5642+
* Hilo 1.6.0 for amd
56435643
* Copyright 2016 alibaba.com
56445644
* Licensed under the MIT License
56455645
*/
@@ -5778,7 +5778,7 @@ return drag;
57785778

57795779
});
57805780
/**
5781-
* Hilo 1.5.0 for amd
5781+
* Hilo 1.6.0 for amd
57825782
* Copyright 2016 alibaba.com
57835783
* Licensed under the MIT License
57845784
*/
@@ -6234,7 +6234,7 @@ return Tween;
62346234

62356235
});
62366236
/**
6237-
* Hilo 1.5.0 for amd
6237+
* Hilo 1.6.0 for amd
62386238
* Copyright 2016 alibaba.com
62396239
* Licensed under the MIT License
62406240
*/
@@ -6506,7 +6506,7 @@ return Ease;
65066506

65076507
});
65086508
/**
6509-
* Hilo 1.5.0 for amd
6509+
* Hilo 1.6.0 for amd
65106510
* Copyright 2016 alibaba.com
65116511
* Licensed under the MIT License
65126512
*/
@@ -6554,7 +6554,7 @@ return ImageLoader;
65546554

65556555
});
65566556
/**
6557-
* Hilo 1.5.0 for amd
6557+
* Hilo 1.6.0 for amd
65586558
* Copyright 2016 alibaba.com
65596559
* Licensed under the MIT License
65606560
*/
@@ -6621,7 +6621,7 @@ return ScriptLoader;
66216621

66226622
});
66236623
/**
6624-
* Hilo 1.5.0 for amd
6624+
* Hilo 1.6.0 for amd
66256625
* Copyright 2016 alibaba.com
66266626
* Licensed under the MIT License
66276627
*/
@@ -6713,6 +6713,23 @@ var LoadQueue = Class.create(/** @lends LoadQueue.prototype */{
67136713
var item = this.get(id);
67146714
return item && item.content;
67156715
},
6716+
/**
6717+
* @language=en
6718+
* remove resource object content by id or src
6719+
* @param {String} specified id or src
6720+
*/
6721+
removeContent: function(id){
6722+
if(id){
6723+
var source = this._source;
6724+
for(var i = 0; i < source.length; i++){
6725+
var item = source[i];
6726+
if(item.id === id || item.src === id){
6727+
source.splice(i, 1);
6728+
return;
6729+
}
6730+
}
6731+
}
6732+
},
67166733

67176734
/**
67186735
* @language=en
@@ -6871,7 +6888,7 @@ return LoadQueue;
68716888

68726889
});
68736890
/**
6874-
* Hilo 1.5.0 for amd
6891+
* Hilo 1.6.0 for amd
68756892
* Copyright 2016 alibaba.com
68766893
* Licensed under the MIT License
68776894
*/
@@ -7074,7 +7091,7 @@ return HTMLAudio;
70747091

70757092
});
70767093
/**
7077-
* Hilo 1.5.0 for amd
7094+
* Hilo 1.6.0 for amd
70787095
* Copyright 2016 alibaba.com
70797096
* Licensed under the MIT License
70807097
*/
@@ -7398,7 +7415,7 @@ return WebAudio;
73987415

73997416
});
74007417
/**
7401-
* Hilo 1.5.0 for amd
7418+
* Hilo 1.6.0 for amd
74027419
* Copyright 2016 alibaba.com
74037420
* Licensed under the MIT License
74047421
*/
@@ -7501,7 +7518,7 @@ return WebSound;
75017518

75027519
});
75037520
/**
7504-
* Hilo 1.5.0 for amd
7521+
* Hilo 1.6.0 for amd
75057522
* Copyright 2016 alibaba.com
75067523
* Licensed under the MIT License
75077524
*/
@@ -7594,7 +7611,7 @@ return Camera;
75947611

75957612
});
75967613
/**
7597-
* Hilo 1.5.0 for amd
7614+
* Hilo 1.6.0 for amd
75987615
* Copyright 2016 alibaba.com
75997616
* Licensed under the MIT License
76007617
*/
@@ -7781,7 +7798,7 @@ return Camera3d;
77817798

77827799
});
77837800
/**
7784-
* Hilo 1.5.0 for amd
7801+
* Hilo 1.6.0 for amd
77857802
* Copyright 2016 alibaba.com
77867803
* Licensed under the MIT License
77877804
*/

Diff for: build/amd/hilo-amd.min.js

+4-4
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: build/amd/hilo-amd.zip

107 Bytes
Binary file not shown.

Diff for: build/amd/hilo/core/Class.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* Hilo 1.5.0 for amd
2+
* Hilo 1.6.0 for amd
33
* Copyright 2016 alibaba.com
44
* Licensed under the MIT License
55
*/

Diff for: build/amd/hilo/core/Class.min.js

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)