This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
| name | age | message | |
|---|---|---|---|
| |
README.rdoc | Mon Oct 05 05:02:36 -0700 2009 | |
| |
lib/ | Tue Oct 27 09:11:42 -0700 2009 | |
| |
red_query.rb | Tue Oct 27 09:11:42 -0700 2009 | |
| |
red_query_essential.rb | Tue Oct 27 09:11:42 -0700 2009 |
README.rdoc
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.
<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







