[gulp] add publish task

This commit is contained in:
2019-08-26 14:44:51 +03:00
parent f072d8dc6e
commit 605935528b
5 changed files with 50 additions and 13 deletions

View File

@@ -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) {