public
Description: Wrapper for YUI 2.4 upwards with a concise API and asynchronous method chaining
Homepage: http://ojay.othermedia.org
Clone URL: git://github.com/othermedia/ojay.git
ojay /
name age message
file .gitignore Mon Feb 09 08:21:14 -0800 2009 Modifying Jakefile to read version data from git. [jcoglan]
file CHANGELOG Thu Jun 25 07:37:43 -0700 2009 Add dependency metadata to jake.yml for automat... [jcoglan]
file COPYRIGHT Tue Sep 22 01:53:11 -0700 2009 Updating copyright dates. [jcoglan]
file Jakefile Tue Sep 22 01:45:49 -0700 2009 Change shipping YUI version in Jakefile. [jcoglan]
file LICENSE Thu Apr 23 04:17:57 -0700 2009 Bumping some dates in the license file. [jcoglan]
file README Wed Apr 29 06:19:48 -0700 2009 Updating README and CHANGELOG. [jcoglan]
file Rakefile Mon Sep 21 01:28:22 -0700 2009 Update dependency data. [jcoglan]
file TODO.md Wed Nov 04 09:26:15 -0800 2009 Update TODO with Ojay.DomCollection#set issue. [ionfish]
file jake.yml Thu Sep 10 10:26:13 -0700 2009 Update dependency data. [jcoglan]
directory site/ Thu Oct 08 05:57:37 -0700 2009 Test case for Ojay.AjaxTabs. [ionfish]
directory source/ Tue Sep 22 11:03:11 -0700 2009 Move page change event detection into Paginatab... [jcoglan]
README
Ojay -- a developer-friendly wrapper for the Yahoo! User Interface library
Copyright (c) 2007-09 the OTHER media Limited, written by James Coglan.

http://ojay.othermedia.org

This software is Open Source Initiative approved Open Source Software.
Open Source Initiative Approved is a trademark of the Open Source Initiative.


INTRODUCTION
============

Ojay is a JavaScript programming interface that wraps the Yahoo! User Interface library. It
aims to make code easier to read and write, by allowing more sentence-like OO syntax and
minimizing repetition.

The download contains two copies of all files; one containing the full source code and
one minified for production use. For best performance, it is recommended that you serve
the minified files on live sites, and use gzip/deflate compression. You can do this by
enabling mod_deflate in Apache and adding this line to your site's config:

  AddOutputFilterByType DEFLATE text/javascript application/x-javascript

Ojay's build files are generated using Jake, a Ruby program that uses Dean Edwards' Packer
to compress code. The download also contains a file named yui.js, which contains all the
YUI build files used by Ojay in one concatenated file. It includes the following:

  * yahoo-dom-event
  * selector
  * json
  * animation
  * connection
  * get
  * cookie
  * history

Further information and docs are available on the Ojay site: http://ojay.othermedia.org


DEVELOPMENT
===========

If you're checking this code out from the repository, you'll need to build the library from
the source files (contained in the /source directory). To do this, you'll need Ruby installed.
You can get Ruby for any platform from their web site:

http://www.ruby-lang.org/en/downloads/

You'll also need the Jake gem to generate build files, and the staticmatic gem to view the
doc site and run tests.

gem install jake
gem install staticmatic

Once you've got Ruby installed, open a command prompt in the root directory (one level up
from /source) and type 'jake'. That command will combine and compress the source files and
place them in the /build directory.

To start a server for the docs/test site, type

staticmatic preview site

The site is then available at http://localhost:3030, and the test suite at http://localhost:3030/test/