File tree 2 files changed +4
-2
lines changed
2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1560,6 +1560,8 @@ cc._initSys = function (config, CONFIG_KEY) {
1560
1560
browserType = sys . BROWSER_TYPE_ANDROID ;
1561
1561
else if ( browserType == "trident" ) browserType = sys . BROWSER_TYPE_IE ;
1562
1562
else if ( browserType == "360 aphone" ) browserType = sys . BROWSER_TYPE_360 ;
1563
+ } else if ( ua . indexOf ( "iphone" ) && ua . indexOf ( "mobile" ) ) {
1564
+ browserType = "safari" ;
1563
1565
}
1564
1566
/**
1565
1567
* Indicate the running browser type
Original file line number Diff line number Diff line change 5
5
classpath =" ./compiler/compiler.jar" />
6
6
<target name =" compile" >
7
7
<jscomp compilationLevel =" simple" warning =" quiet"
8
- debug =" false" output =" ./../lib/cocos2d-js-v3.3-beta0- min.js" >
8
+ debug =" false" output =" ./../lib/cocos2d-js-v3.3-min.js" >
9
9
<!-- sourceMapOutputFile="./../lib/cocos2d-js-v3.3-beta0-sourcemap" sourceMapFormat="V3" -->
10
10
<sources dir =" ./../" >
11
11
<file name =" Base64Images.js" />
298
298
299
299
<target name =" compile_core" >
300
300
<jscomp compilationLevel =" simple" warning =" quiet"
301
- debug =" false" output =" ./../lib/cocos2d-js-v3.3-beta0- core-min.js" >
301
+ debug =" false" output =" ./../lib/cocos2d-js-v3.3-core-min.js" >
302
302
<!-- sourceMapOutputFile="./../lib/cocos2d-js-v3.3-beta0-core-sourcemap" sourceMapFormat="V3" -->
303
303
<sources dir =" ./../" >
304
304
<file name =" CCBoot.js" />
You can’t perform that action at this time.
0 commit comments