public
Rubygem
Description: Johnson wraps JavaScript in a loving Ruby embrace.
Homepage: http://github.com/jbarnette/johnson/wikis
Clone URL: git://github.com/jbarnette/johnson.git
Search Repo:
aaronp (author)
Tue May 13 16:29:11 -0700 2008
commit  41b8a99fbc315a35868a84c3ca163039198eca0d
tree    695f4012ac02f1e538f0ae55c8ad97997556d071
parent  2fc2742302331b2a95a339c5c41977e08ce1ce66
name age message
folder .gitignore Thu Apr 24 16:30:07 -0700 2008 Ignore .DS_Store [jbarnette]
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 Sun May 04 22:11:13 -0700 2008 Fix manifest [matthewd]
folder README.txt Sat Apr 26 10:39:10 -0700 2008 Added Matthew to the README. [jbarnette]
folder Rakefile Sun May 04 22:11:39 -0700 2008 Get the gem build working again. Oops! :/ [matthewd]
folder bin/ Fri Apr 25 10:20:55 -0700 2008 Scrub 'bin/johnson' lines from the backtrace in... [jbarnette]
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/ Tue May 13 16:29:11 -0700 2008 a null filename will cause a crash when using eval [aaronp]
folder js/ Tue Apr 29 21:03:53 -0700 2008 moving browser.js, testing browser.js [aaronp]
folder lib/ Tue Apr 29 21:03:53 -0700 2008 moving browser.js, testing browser.js [aaronp]
folder test/ Tue May 13 16:29:11 -0700 2008 a null filename will cause a crash when using eval [aaronp]
folder todo/ Tue Apr 29 22:43:33 -0700 2008 adding a threading todo test file [aaronp]
folder vendor/ Thu Apr 24 13:03:59 -0700 2008 Env fix [wycats]
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

== INSTALL:

  sudo gem install johnson

== LICENSE:

(The MIT License)

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

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.