1
1
/**
2
- * Hilo 1.5 .0 for amd
2
+ * Hilo 1.6 .0 for amd
3
3
* Copyright 2016 alibaba.com
4
4
* Licensed under the MIT License
5
5
*/
@@ -192,7 +192,7 @@ return browser;
192
192
193
193
} ) ;
194
194
/**
195
- * Hilo 1.5 .0 for amd
195
+ * Hilo 1.6 .0 for amd
196
196
* Copyright 2016 alibaba.com
197
197
* Licensed under the MIT License
198
198
*/
@@ -229,7 +229,7 @@ return util;
229
229
230
230
} ) ;
231
231
/**
232
- * Hilo 1.5 .0 for amd
232
+ * Hilo 1.6 .0 for amd
233
233
* Copyright 2016 alibaba.com
234
234
* Licensed under the MIT License
235
235
*/
@@ -257,7 +257,7 @@ var Hilo = {
257
257
* Hilo version
258
258
* @type String
259
259
*/
260
- version : '1.5 .0' ,
260
+ version : '1.6 .0' ,
261
261
/**
262
262
* @language =en
263
263
* Gets a globally unique id. Such as Stage1, Bitmap2 etc.
@@ -565,7 +565,7 @@ return Hilo;
565
565
566
566
} ) ;
567
567
/**
568
- * Hilo 1.5 .0 for amd
568
+ * Hilo 1.6 .0 for amd
569
569
* Copyright 2016 alibaba.com
570
570
* Licensed under the MIT License
571
571
*/
@@ -748,7 +748,7 @@ return Class;
748
748
749
749
} ) ;
750
750
/**
751
- * Hilo 1.5 .0 for amd
751
+ * Hilo 1.6 .0 for amd
752
752
* Copyright 2016 alibaba.com
753
753
* Licensed under the MIT License
754
754
*/
@@ -972,7 +972,7 @@ return Matrix;
972
972
973
973
} ) ;
974
974
/**
975
- * Hilo 1.5 .0 for amd
975
+ * Hilo 1.6 .0 for amd
976
976
* Copyright 2016 alibaba.com
977
977
* Licensed under the MIT License
978
978
*/
@@ -1125,7 +1125,7 @@ return EventMixin;
1125
1125
1126
1126
} ) ;
1127
1127
/**
1128
- * Hilo 1.5 .0 for amd
1128
+ * Hilo 1.6 .0 for amd
1129
1129
* Copyright 2016 alibaba.com
1130
1130
* Licensed under the MIT License
1131
1131
*/
@@ -1206,7 +1206,7 @@ return Drawable;
1206
1206
1207
1207
} ) ;
1208
1208
/**
1209
- * Hilo 1.5 .0 for amd
1209
+ * Hilo 1.6 .0 for amd
1210
1210
* Copyright 2016 alibaba.com
1211
1211
* Licensed under the MIT License
1212
1212
*/
@@ -1300,7 +1300,7 @@ return Renderer;
1300
1300
1301
1301
} ) ;
1302
1302
/**
1303
- * Hilo 1.5 .0 for amd
1303
+ * Hilo 1.6 .0 for amd
1304
1304
* Copyright 2016 alibaba.com
1305
1305
* Licensed under the MIT License
1306
1306
*/
@@ -1511,7 +1511,7 @@ return CanvasRenderer;
1511
1511
1512
1512
} ) ;
1513
1513
/**
1514
- * Hilo 1.5 .0 for amd
1514
+ * Hilo 1.6 .0 for amd
1515
1515
* Copyright 2016 alibaba.com
1516
1516
* Licensed under the MIT License
1517
1517
*/
@@ -1693,7 +1693,7 @@ return DOMRenderer;
1693
1693
1694
1694
} ) ;
1695
1695
/**
1696
- * Hilo 1.5 .0 for amd
1696
+ * Hilo 1.6 .0 for amd
1697
1697
* Copyright 2016 alibaba.com
1698
1698
* Licensed under the MIT License
1699
1699
*/
@@ -2277,7 +2277,7 @@ return WebGLRenderer;
2277
2277
2278
2278
} ) ;
2279
2279
/**
2280
- * Hilo 1.5 .0 for amd
2280
+ * Hilo 1.6 .0 for amd
2281
2281
* Copyright 2016 alibaba.com
2282
2282
* Licensed under the MIT License
2283
2283
*/
@@ -2774,7 +2774,7 @@ return View;
2774
2774
2775
2775
} ) ;
2776
2776
/**
2777
- * Hilo 1.5 .0 for amd
2777
+ * Hilo 1.6 .0 for amd
2778
2778
* Copyright 2016 alibaba.com
2779
2779
* Licensed under the MIT License
2780
2780
*/
@@ -2840,7 +2840,7 @@ return CacheMixin;
2840
2840
2841
2841
} ) ;
2842
2842
/**
2843
- * Hilo 1.5 .0 for amd
2843
+ * Hilo 1.6 .0 for amd
2844
2844
* Copyright 2016 alibaba.com
2845
2845
* Licensed under the MIT License
2846
2846
*/
@@ -3214,7 +3214,7 @@ return Container;
3214
3214
3215
3215
} ) ;
3216
3216
/**
3217
- * Hilo 1.5 .0 for amd
3217
+ * Hilo 1.6 .0 for amd
3218
3218
* Copyright 2016 alibaba.com
3219
3219
* Licensed under the MIT License
3220
3220
*/
@@ -3481,7 +3481,7 @@ return Stage;
3481
3481
3482
3482
} ) ;
3483
3483
/**
3484
- * Hilo 1.5 .0 for amd
3484
+ * Hilo 1.6 .0 for amd
3485
3485
* Copyright 2016 alibaba.com
3486
3486
* Licensed under the MIT License
3487
3487
*/
@@ -3536,7 +3536,7 @@ define('hilo/view/Bitmap', ['hilo/core/Hilo', 'hilo/core/Class', 'hilo/view/View
3536
3536
* set the image。
3537
3537
* @param {Image|String } Image Object or URL.
3538
3538
* @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.
3540
3540
* @returns {Bitmap } self。
3541
3541
*/
3542
3542
setImage : function ( image , rect , crossOrigin ) {
@@ -3561,7 +3561,7 @@ return Bitmap;
3561
3561
3562
3562
} ) ;
3563
3563
/**
3564
- * Hilo 1.5 .0 for amd
3564
+ * Hilo 1.6 .0 for amd
3565
3565
* Copyright 2016 alibaba.com
3566
3566
* Licensed under the MIT License
3567
3567
*/
@@ -3832,7 +3832,7 @@ return Sprite;
3832
3832
3833
3833
} ) ;
3834
3834
/**
3835
- * Hilo 1.5 .0 for amd
3835
+ * Hilo 1.6 .0 for amd
3836
3836
* Copyright 2016 alibaba.com
3837
3837
* Licensed under the MIT License
3838
3838
*/
@@ -3947,7 +3947,7 @@ return DOMElement;
3947
3947
3948
3948
} ) ;
3949
3949
/**
3950
- * Hilo 1.5 .0 for amd
3950
+ * Hilo 1.6 .0 for amd
3951
3951
* Copyright 2016 alibaba.com
3952
3952
* Licensed under the MIT License
3953
3953
*/
@@ -4509,7 +4509,7 @@ return Graphics;
4509
4509
4510
4510
} ) ;
4511
4511
/**
4512
- * Hilo 1.5 .0 for amd
4512
+ * Hilo 1.6 .0 for amd
4513
4513
* Copyright 2016 alibaba.com
4514
4514
* Licensed under the MIT License
4515
4515
*/
@@ -4762,7 +4762,7 @@ return Text;
4762
4762
4763
4763
} ) ;
4764
4764
/**
4765
- * Hilo 1.5 .0 for amd
4765
+ * Hilo 1.6 .0 for amd
4766
4766
* Copyright 2016 alibaba.com
4767
4767
* Licensed under the MIT License
4768
4768
*/
@@ -4946,7 +4946,7 @@ return BitmapText;
4946
4946
4947
4947
} ) ;
4948
4948
/**
4949
- * Hilo 1.5 .0 for amd
4949
+ * Hilo 1.6 .0 for amd
4950
4950
* Copyright 2016 alibaba.com
4951
4951
* Licensed under the MIT License
4952
4952
*/
@@ -5125,7 +5125,7 @@ return Button;
5125
5125
5126
5126
} ) ;
5127
5127
/**
5128
- * Hilo 1.5 .0 for amd
5128
+ * Hilo 1.6 .0 for amd
5129
5129
* Copyright 2016 alibaba.com
5130
5130
* Licensed under the MIT License
5131
5131
*/
@@ -5362,7 +5362,7 @@ return TextureAtlas;
5362
5362
5363
5363
} ) ;
5364
5364
/**
5365
- * Hilo 1.5 .0 for amd
5365
+ * Hilo 1.6 .0 for amd
5366
5366
* Copyright 2016 alibaba.com
5367
5367
* Licensed under the MIT License
5368
5368
*/
@@ -5591,7 +5591,7 @@ return Ticker;
5591
5591
5592
5592
} ) ;
5593
5593
/**
5594
- * Hilo 1.5 .0 for amd
5594
+ * Hilo 1.6 .0 for amd
5595
5595
* Copyright 2016 alibaba.com
5596
5596
* Licensed under the MIT License
5597
5597
*/
@@ -5639,7 +5639,7 @@ if (!fnProto.bind) {
5639
5639
5640
5640
} ) ;
5641
5641
/**
5642
- * Hilo 1.5 .0 for amd
5642
+ * Hilo 1.6 .0 for amd
5643
5643
* Copyright 2016 alibaba.com
5644
5644
* Licensed under the MIT License
5645
5645
*/
@@ -5778,7 +5778,7 @@ return drag;
5778
5778
5779
5779
} ) ;
5780
5780
/**
5781
- * Hilo 1.5 .0 for amd
5781
+ * Hilo 1.6 .0 for amd
5782
5782
* Copyright 2016 alibaba.com
5783
5783
* Licensed under the MIT License
5784
5784
*/
@@ -6234,7 +6234,7 @@ return Tween;
6234
6234
6235
6235
} ) ;
6236
6236
/**
6237
- * Hilo 1.5 .0 for amd
6237
+ * Hilo 1.6 .0 for amd
6238
6238
* Copyright 2016 alibaba.com
6239
6239
* Licensed under the MIT License
6240
6240
*/
@@ -6506,7 +6506,7 @@ return Ease;
6506
6506
6507
6507
} ) ;
6508
6508
/**
6509
- * Hilo 1.5 .0 for amd
6509
+ * Hilo 1.6 .0 for amd
6510
6510
* Copyright 2016 alibaba.com
6511
6511
* Licensed under the MIT License
6512
6512
*/
@@ -6554,7 +6554,7 @@ return ImageLoader;
6554
6554
6555
6555
} ) ;
6556
6556
/**
6557
- * Hilo 1.5 .0 for amd
6557
+ * Hilo 1.6 .0 for amd
6558
6558
* Copyright 2016 alibaba.com
6559
6559
* Licensed under the MIT License
6560
6560
*/
@@ -6621,7 +6621,7 @@ return ScriptLoader;
6621
6621
6622
6622
} ) ;
6623
6623
/**
6624
- * Hilo 1.5 .0 for amd
6624
+ * Hilo 1.6 .0 for amd
6625
6625
* Copyright 2016 alibaba.com
6626
6626
* Licensed under the MIT License
6627
6627
*/
@@ -6713,6 +6713,23 @@ var LoadQueue = Class.create(/** @lends LoadQueue.prototype */{
6713
6713
var item = this . get ( id ) ;
6714
6714
return item && item . content ;
6715
6715
} ,
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
+ } ,
6716
6733
6717
6734
/**
6718
6735
* @language =en
@@ -6871,7 +6888,7 @@ return LoadQueue;
6871
6888
6872
6889
} ) ;
6873
6890
/**
6874
- * Hilo 1.5 .0 for amd
6891
+ * Hilo 1.6 .0 for amd
6875
6892
* Copyright 2016 alibaba.com
6876
6893
* Licensed under the MIT License
6877
6894
*/
@@ -7074,7 +7091,7 @@ return HTMLAudio;
7074
7091
7075
7092
} ) ;
7076
7093
/**
7077
- * Hilo 1.5 .0 for amd
7094
+ * Hilo 1.6 .0 for amd
7078
7095
* Copyright 2016 alibaba.com
7079
7096
* Licensed under the MIT License
7080
7097
*/
@@ -7398,7 +7415,7 @@ return WebAudio;
7398
7415
7399
7416
} ) ;
7400
7417
/**
7401
- * Hilo 1.5 .0 for amd
7418
+ * Hilo 1.6 .0 for amd
7402
7419
* Copyright 2016 alibaba.com
7403
7420
* Licensed under the MIT License
7404
7421
*/
@@ -7501,7 +7518,7 @@ return WebSound;
7501
7518
7502
7519
} ) ;
7503
7520
/**
7504
- * Hilo 1.5 .0 for amd
7521
+ * Hilo 1.6 .0 for amd
7505
7522
* Copyright 2016 alibaba.com
7506
7523
* Licensed under the MIT License
7507
7524
*/
@@ -7594,7 +7611,7 @@ return Camera;
7594
7611
7595
7612
} ) ;
7596
7613
/**
7597
- * Hilo 1.5 .0 for amd
7614
+ * Hilo 1.6 .0 for amd
7598
7615
* Copyright 2016 alibaba.com
7599
7616
* Licensed under the MIT License
7600
7617
*/
@@ -7781,7 +7798,7 @@ return Camera3d;
7781
7798
7782
7799
} ) ;
7783
7800
/**
7784
- * Hilo 1.5 .0 for amd
7801
+ * Hilo 1.6 .0 for amd
7785
7802
* Copyright 2016 alibaba.com
7786
7803
* Licensed under the MIT License
7787
7804
*/
0 commit comments