public
Fork of jbarnette/johnson
Description: JavaScript with a creamy Ruby filling.
Homepage: http://github.com/jbarnette/johnson/wikis
Clone URL: git://github.com/vic/johnson.git
Search Repo:
name age message
folder .gitignore Mon Apr 21 01:18:39 -0700 2008 Exit on EOF, too. [matthewd]
folder .gitmodules Mon Apr 21 17:42:33 -0700 2008 vendor/spidermonkey is now a Git submodule trac... [jbarnette]
folder History.txt Tue Mar 11 22:50:49 -0700 2008 Skeletal Hoe structure. [jbarnette]
folder MINGW32.mk Wed Apr 23 08:17:10 -0700 2008 First cut of a cross-compilation process so we ... [matthewd]
folder Manifest.txt Wed Apr 23 21:15:33 -0700 2008 Updating manifest. [jbarnette]
folder README.txt Fri Apr 18 10:49:57 -0700 2008 Added Yehuda to the authors list. [jbarnette]
folder Rakefile Wed Apr 23 08:43:34 -0700 2008 Use Rake's cp helper: it logs. [jbarnette]
folder bin/ Wed Apr 23 01:12:46 -0700 2008 Basic exception handling for Context#evaluate. [jbarnette]
folder browser/ Wed Apr 23 01:38:58 -0700 2008 Removing exploratory file [wycats]
folder cross-compile.txt Wed Apr 23 21:40:46 -0700 2008 Probably worth noting that it's a good idea to ... [matthewd]
folder ext/ Thu Apr 24 12:57:40 -0700 2008 adding threading test [aaronp]
folder js/ Wed Apr 23 01:27:32 -0700 2008 Don't use the built-in eval. [jbarnette]
folder lib/ Wed Apr 23 16:39:30 -0700 2008 labeling left and right side [aaronp]
folder test/ Thu Apr 24 12:57:40 -0700 2008 adding threading test [aaronp]
folder vendor/ Wed Apr 23 16:54:33 -0700 2008 Syncing with SpiderMonkey trunk. [jbarnette]
README.txt
= johnson

* http://github.com/jbarnette/johnson
* http://johnson.lighthouseapp.com
* http://johnson.rubyforge.org

== DESCRIPTION:

Johnson wraps JavaScript in a loving Ruby embrace.

== SYNOPSIS:

  # FIXME: write some decent examples
  require "johnson"
  
  Johnson.evaluate("4 + 4") # => 8
  Johnson.evaluate("4 + foo", :foo => 4) # => 8

== REQUIREMENTS:

* Mocha (only for development)

== INSTALL:

  sudo gem install johnson

== LICENSE:

FIXME: ruby-spidermonkey shoutout

(The MIT License)

Copyright (c) 2008 John Barnette, Aaron Patterson, Yehuda Katz

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
'Software'), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.