README.md in therubyracer-0.12.2 vs README.md in therubyracer-0.12.3
- old
+ new
@@ -1,15 +1,16 @@
# therubyracer
[![Gem Version](https://badge.fury.io/rb/therubyracer.png)](http://badge.fury.io/rb/therubyracer)
[![Build Status](https://travis-ci.org/cowboyd/therubyracer.png?branch=master)](https://travis-ci.org/cowboyd/therubyracer)
+[![Build status](https://ci.appveyor.com/api/projects/status/aqw06doke164dca7?svg=true)](https://ci.appveyor.com/project/cowboyd/therubyracer)
[![Dependency Status](https://gemnasium.com/cowboyd/therubyracer.png)](https://gemnasium.com/cowboyd/therubyracer)
+[![Join the chat at https://gitter.im/cowboyd/therubyracer](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/cowboyd/therubyracer?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
* GitHub Project: [http://github.com/cowboyd/therubyracer](http://github.com/cowboyd/therubyracer)
* Mailing List: [http://groups.google.com/group/therubyracer](http://groups.google.com/group/therubyracer)
-* IRC / Chat: [irc://irc.freenode.net/therubyracer](http://groups.google.com/group/therubyracer)
* Documentation: [GitHub Wiki](https://github.com/cowboyd/therubyracer/wiki) and [RubyDoc](http://rubydoc.info/gems/therubyracer)
### DESCRIPTION
Embed the V8 JavaScript interpreter into Ruby.
@@ -38,10 +39,10 @@
cxt = V8::Context.new
cxt.eval('7 * 6') #=> 42
access values inside your JavaScript context from Ruby
- cxt.eval 'var val = {num: 5, fun: function isTruthy(arg) { return !!arg }}'
+ cxt.eval 'var val = {num: 5, isTruthy: function (arg) { return !!arg }}'
val = cxt[:val] #=> V8::Object
cxt[:val] == cxt.scope.val #=> true
val.num #=> 5
val.isTruthy(1) #=> true