Examples

AMD Compatibility

This example doesn't contain anything visual. It demonstrates loading Reel module using AMD compatible script loader (today's chice is RequireJS). Please check the source for the details.

    <script>

      requirejs.config({
        paths: {
          jquery: "http://code.jquery.com/jquery"
        }
      });

      requirejs(["../../jquery.reel"], function(reel){
        // You can call `.reel()` in here.
      });

    </script>