Changes
Page history
Update Plugin Function Exports and Syntax
authored
May 06, 2021
by
Heal-Bot
Show whitespace changes
Inline
Side-by-side
Plugin-Function-Exports-and-Syntax.md
View page @
373f90cd
...
@@ -67,7 +67,7 @@ endpoint.collection
...
@@ -67,7 +67,7 @@ endpoint.collection
``` javascript
``` javascript
export function Validate(endpoint)
export function Validate(endpoint)
{
{
return (endpoint.interface === 2 && endpoint.collection == 0x0003) ||
return (endpoint.interface === 2 && endpoint.collection ==
=
0x0003) ||
endpoint.interface === 1;
endpoint.interface === 1;
}
}
...
...
...
...