mirror of
https://github.com/bugsink/bugsink.git
synced 2025-12-31 10:20:08 -06:00
11 lines
328 B
Python
11 lines
328 B
Python
NATIVE_PLATFORMS = frozenset(("objc", "cocoa", "swift", "native", "c"))
|
|
JAVASCRIPT_PLATFORMS = frozenset(("javascript", "node"))
|
|
|
|
|
|
def get_behavior_family_for_platform(platform):
|
|
if platform in NATIVE_PLATFORMS:
|
|
return "native"
|
|
if platform in JAVASCRIPT_PLATFORMS:
|
|
return "javascript"
|
|
return "other"
|