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

othermedia / ojay

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

click here to add a description

click here to add a homepage

  • Branches (5)
    • 0.1
    • 0.2
    • 0.3
    • master ✓
    • tabs
  • Tags (10)
    • 0.4.1
    • 0.4.0
    • 0.3.1
    • 0.3.0
    • 0.2.2
    • 0.2.1
    • 0.2.0_rc2
    • 0.2.0_rc1
    • 0.2.0
    • 0.1.2
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.

Wrapper for YUI 2.4 upwards with a concise API and asynchronous method chaining — Read more

  cancel

http://ojay.othermedia.org

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

This URL has Read+Write access

Don't animate tabs when first rendering them. 
ionfish (author)
Tue Jan 19 03:49:50 -0800 2010
commit  f1d02387db783bbc9832732bac10357c08e530b7
tree    d5da68141a0f3ef0e76a67aea54eda1c5318e7b5
parent  2e879083682aec68c94e412b4675ff9149c2a9a7
ojay /
name age
history
message
file .gitignore Loading commit data...
file CHANGELOG
file COPYRIGHT
file Jakefile
file LICENSE
file README
file Rakefile
file TODO.md
file jake.yml
directory site/
directory source/
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/
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