[gulp] add publish task
This commit is contained in:
@@ -7,7 +7,9 @@ class Device {
|
||||
];
|
||||
|
||||
public static function isMobile():Bool {
|
||||
#if js
|
||||
#if android
|
||||
return true;
|
||||
#elseif js
|
||||
var userAgent = js.Browser.navigator.userAgent;
|
||||
for (mobile in MOBILES) {
|
||||
if (userAgent.indexOf(mobile) > -1) {
|
||||
|
||||
Reference in New Issue
Block a user