Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
annotations for javascript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

README.md

Yaap Build Status

Yaap is a generic annotation processor for javascript. It can be used to implement cross-cutting concerns and inject additional aspect oriented code.

It supports annotations at class-, function- and parameter-level of javascript objects. (see examples)

There are also three examples for server and client scenario:

Example application

There is a more complex web application example developed with wire and a lot of yaap-features: yaap-nodepad

News

0.1.3

  • improved debug logging
  • support for Promises in yaap/wire/express (instead of @Callback)

0.1.2

  • updated dependencies to wire.js 0.10.0 and when.js 2.2.1

  • added yaap-options:

    • debug: add debug output (default: false)
    • shallow: only process own methods (not inherited) => boosts performance (default: true)
    • improved performance

0.1.0

  • classbased annotations
  • "return"-callback with @Callback to cope with asynchronity
  • connect-auth integration with @Auth
  • bugfix for @PreDestroy/@PostConstruct

0.0.4

  • New Express-Annotations: @POST,@GET,@PUT,@DELETE and req/res-processing parameters: @Body, @JSON, @Param

0.0.3

  • New Wire-Annotations: @PostConstruct, @PreDestroy (more information)
  • New Browser-specific Wire-Annotation: @On (for eventbinding) (more information)
  • Performance Improvements
  • Rearranged plugin-api
  • yaap/wire-plugins can promise now (and must, in case of deferred reference-resolving) (more information)

0.0.2

  • browser-compatibility (available in bower)

0.0.1

  • Yaap Annotation processor
  • Initial Annotations: @Default, @NotNull
  • Initial Wire-specific Annotations: @Autowired
Something went wrong with that request. Please try again.