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

madrobby / scripty2

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

click here to add a description

click here to add a homepage

  • Branches (2)
    • dragdrop
    • master ✓
  • Tags (0)
Sending Request…
Click here to lend your support to: scripty2 and make a donation at www.pledgie.com ! Edit Pledgie Setup

Pledgie Donations

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

scripty2: for a more delicious web — Read more

  cancel

http://scripty2.com/

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

This URL has Read+Write access

update years in copyright statements 
madrobby (author)
Tue Feb 02 07:53:34 -0800 2010
commit  04ddc080d99109186851f2d3bb5d24d2b536c1a8
tree    eee6094f594ed2488fdfda094d95f80ab56ae14f
parent  62c923233dd850a266a53464753f04de89a261d5
scripty2 /
name age
history
message
file .gitignore Tue Sep 29 01:54:49 -0700 2009 cleanups. add a basic demo file as root for fut... [madrobby]
file .gitmodules Mon Nov 23 00:29:57 -0800 2009 added sprockets url to .gitmodules [smith]
file CHANGELOG Tue Feb 02 07:52:55 -0800 2010 Add empty S2.FX.Base#update function to allow f... [madrobby]
file MIT-LICENSE Tue Feb 02 07:53:34 -0800 2010 update years in copyright statements [madrobby]
file README.rdoc Tue Sep 29 01:54:49 -0700 2009 cleanups. add a basic demo file as root for fut... [madrobby]
file Rakefile Mon Nov 23 00:29:56 -0800 2009 fix for rake unified [smith]
directory demos/ Tue Sep 29 01:54:49 -0700 2009 cleanups. add a basic demo file as root for fut... [madrobby]
directory lib/ Thu Sep 03 06:06:18 -0700 2009 update to Prototype 1.6.1 final [madrobby]
directory src/ Tue Feb 02 07:53:34 -0800 2010 update years in copyright statements [madrobby]
directory templates/ Tue Feb 02 07:53:34 -0800 2010 update years in copyright statements [madrobby]
directory test/ Tue Nov 24 09:02:59 -0800 2009 Merge branch 'master' of github.com:madrobby/sc... [madrobby]
directory themes/ Sat Nov 14 04:18:37 -0800 2009 smush images [madrobby]
directory vendor/ Fri Jun 12 07:24:42 -0700 2009 remove yuicompressor sources, don't really need... [madrobby]
README.rdoc

scripty2: for a more delicious web

scripty2 is an open source JavaScript framework for advanced HTML-based user interfaces. Or simply put, scripty2 helps you build a more delicious web:

  • Visual effects: scripty2’s heartpiece is an versatile real-time effects framework
  • CSS utilities

And there’s more coming! scripty2 is currently in alpha status, so APIs can change and there’s still a lot more functionality planned.

scripty2 is a complete rewrite and reimplementation of script.aculo.us, with are modular structure intended to ease the development of highly customized user interface effects and behaviours.

Please use groups.google.com/group/scripty2 for any development questions for scripty2. Patches, tests, demos, updates and documentation are always welcome.

Build

For building, development and testing, you need to have a working Ruby setup. You’ll need the bluecloth, treetop and coderay gems installed.

To build the distribution, run:

  rake && rake package

This will build the documentation (in /doc) and provides ready-to-deploy JavaScript packages in /dist.

The build process uses the YUI Compressor to build a minified version of the library file. This requires Java to be installed and available.

After the build process is done, you’ll find two files in /dist:

  • s2.js (for debugging)
  • s2.min.js (minified version for production use)

At the moment this is a prerelease alpha version and not meant for production use (although it is used with great success on several high volume websites).

Usage

scripty2 is dependent on the Prototype JavaScript framework. The download and source comes with a compatible version, or grab the latest version yourself from prototypejs.org/.

Put prototype.js and s2.js in a folder of your website, and include them as follows:

  <script src="/javascripts/prototype.js" type="text/javascript"></script>
  <script src="/javascripts/s2.js" type="text/javascript"></script>

You’re ready to go! Now look at the documentation and demos (see below!).

Documentation

To build the documentation, run:

  rake doc

The documentation is built with PDoc, which uses specially formatted source code comments to build a fully interactive HTML documentation set.

Navigate a browser to /doc/index.html to view and browse the documentation.

Tests

To run the unit tests, use:

  rake test

You can run specific tests, or use only specific browsers:

  rake test BROWSERS=safari TESTS=css,heartbeat

License

scripty2 is is licensed under the terms of the MIT License, see the included MIT-LICENSE 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