mirror of
https://github.com/bugsink/bugsink.git
synced 2026-04-26 08:59:53 -05:00
fc7e186918
af9a700a8706f20771b005804d8c92ca95c8b072 in GlitchTip
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"
|