From: Ben Beltran Date: Sat, 5 Sep 2015 19:16:44 +0000 (-0500) Subject: Updates example for module data types and comments X-Git-Url: https://git.r.bdr.sh/rbdr/api-notation.vim/commitdiff_plain/db91656c9723649ea7f2b9f9e5b48a938fe2f006?hp=35edebac06d1d8550ee7fa8d0336b6313228431c Updates example for module data types and comments --- diff --git a/example-syntax.api b/example-syntax.api index 670be57..8c52870 100644 --- a/example-syntax.api +++ b/example-syntax.api @@ -1,4 +1,4 @@ -HypotheticalModule +HypotheticalModule +staticProperty +anotherStaticProperty ::toggleAnotherStaticProperty() @@ -8,8 +8,10 @@ HypotheticalModule #instanceMethodSync([optionalParameter]) => resultOfCall #instanceMethodAsync(someValue , [callback] ) ->(error , result ) + +// Comment EventHypotheticalClass - +>AnotherClass<+staticEventToListen(eventData ) + +>AnotherClass<+staticEventToListen(eventData ) // More Comments <+staticEventDispatched(someData ) ~>listenedSocketEvent(eventData ) <~dispatchedSocketEvent(eventData )