   the page loads, or whenever a matching fragment is [updated through Up.js](/up.replace)
   later.
 
-  If you have used Angular.js before, this resembles [Angular directives](https://docs.angularjs.org/guide/directive).
+  If you have used Angular.js before, this resembles
+  [Angular directives](https://docs.angularjs.org/guide/directive).
 
 
   \#\#\#\# Integrating jQuery plugins

###*
Custom elements
===============
  
Up.js keeps a persistent Javascript environment during page transitions.
To prevent memory leaks it is important to cleanly set up and tear down
event handlers and custom elements.

\#\#\# Incomplete documentation!

We need to work on this page:

- Better class-level introduction for this module

@class up.syntax
###

  `up.compiler` is a great way to integrate jQuery plugins.
  Let's say your Javascript plugin wants you to call `lightboxify()`
  on links that should open a lightbox. You decide to
  do this for all links with an `lightbox` class:

      <a href="river.png" class="lightbox">River</a>
      <a href="ocean.png" class="lightbox">Ocean</a>

  This Javascript will do exactly that:

      up.compiler('a.lightbox', function($element) {
        $element.lightboxify();
      });

