github
Advanced Search
  • Home
  • Pricing and Signup
  • Explore GitHub
  • Blog
  • Login

julius / red_query

  • Admin
  • Watch Unwatch
  • Fork
  • Your Fork
  • Pull Request
  • Download Source
    • 5
    • 1
  • Source
  • Commits
  • Network (1)
  • Issues (0)
  • Downloads (0)
  • Wiki (1)
  • Graphs
  • Branch: master

click here to add a description

click here to add a homepage

  • Branches (1)
    • master ✓
  • Tags (0)
Sending Request…
Enable Donations

Pledgie Donations

Once activated, we'll place the following badge in your repository's detail box:
Pledgie_example
This service is courtesy of Pledgie.

jQuery based Framework for Red — Read more

  cancel

  cancel
  • Private
  • Read-Only
  • HTTP Read-Only

This URL has Read+Write access

split red_query.rb for testing dependencies + Element.hover + Exception 
for Element.find 
julius (author)
Tue Oct 27 09:11:42 -0700 2009
commit  abd028a65b5c7bac49d6cb21ba303c780c2fb117
tree    c5db244e6c858bc4968dea146d1c84ebbe65d71e
parent  d9d0806da6d7dc4d5155321598b92d7a63e4f8ff
red_query /
name age
history
message
file README.rdoc Loading commit data...
directory lib/
file red_query.rb
file red_query_essential.rb
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
Blog | Support | Training | Contact | API | Status | Twitter | Help | Security
© 2010 GitHub Inc. All rights reserved. | Terms of Service | Privacy Policy
Powered by the Dedicated Servers and
Cloud Computing of Rackspace Hosting®
Dedicated Server