https://github.com/elia/red_query
jQuery based Framework for Red
https://github.com/elia/red_query
Last synced: 5 months ago
JSON representation
jQuery based Framework for Red
- Host: GitHub
- URL: https://github.com/elia/red_query
- Owner: elia
- Created: 2011-08-12T15:55:20.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2011-08-12T16:14:39.000Z (almost 15 years ago)
- Last Synced: 2024-12-28T03:52:03.126Z (over 1 year ago)
- Language: Ruby
- Homepage:
- Size: 112 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.rdoc
Awesome Lists containing this project
README
# 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: http://github.com/julius/red
## Usage
Of course you need jQuery and your own source.
In addition you need a little startup code.
``` html
jQuery.noConflict();
jQuery(document).ready(function(){
if (typeof c$Document !== "undefined")
c$Document.m$ready_bang();
else
throw "BIG problem with Red code";
});
```
Your main Red file should
require 'red_query'
And your compilation should include
red -I/path/to/red_query your_red_file