# jQuery based Framework for Red

Provides DOM, Ajax, JSON functionality for Red. Heavy usage of jQuery. Its been developed for my personal fork of Red: github.com/julius/red

## Usage

Of course you need jQuery and your own source. In addition you need a little startup code.

“‘ html

<script src="jquery.js"></script>
<!-- red_query startup code -->
<script type='text/javascript'>
  jQuery.noConflict();
  jQuery(document).ready(function(){
    if (typeof c$Document !== "undefined")
	    c$Document.m$ready_bang();
    else
	    throw "BIG problem with Red code";
  });
</script>
<script src="your_red_file.js"></script>

“‘

Your main Red file should

require 'red_query'

And your compilation should include

red -I/path/to/red_query your_red_file