<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/johnson-talk</id>
  <title type="text">Johnson Google Group</title>
  <subtitle type="text">
  Johnson wraps JavaScript in a loving Ruby embrace.
  </subtitle>
  <link href="/group/johnson-talk/feed/atom_v1_0_msgs.xml" rel="self" title="Johnson feed"/>
  <updated>2013-03-22T13:20:03Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Richard Drake</name>
  <email>rdrak...@gmail.com</email>
  </author>
  <updated>2013-03-22T13:20:03Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/a8efc459b77e92e4/0d38ef87c8e5cd77?show_docid=0d38ef87c8e5cd77</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/a8efc459b77e92e4/0d38ef87c8e5cd77?show_docid=0d38ef87c8e5cd77"/>
  <title type="text">I abhor Earth Hour</title>
  <summary type="html" xml:space="preserve">
  So said Canadian Economics Professor Ross McKitrick in 2009 when asked by a &lt;br&gt; journalist for his thoughts on the importance of Earth Hour. I&#39;ve just been &lt;br&gt; reminded that it&#39;s coming up all over again &lt;br&gt; &amp;lt;&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://earthhour.wwf.org.uk&quot;&gt;[link]&lt;/a&gt;&amp;gt;tomorrow. Ross went on: &lt;br&gt; &lt;p&gt;Abundant, cheap electricity has been the greatest source of human
  </summary>
  </entry>
  <entry>
  <author>
  <name>Aaron Gibralter</name>
  <email>aaron.gibral...@gmail.com</email>
  </author>
  <updated>2011-02-07T18:28:53Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/a72719e961f3074b/4d6318a434333f37?show_docid=4d6318a434333f37</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/a72719e961f3074b/4d6318a434333f37?show_docid=4d6318a434333f37"/>
  <title type="text">Re: [johnson-talk] setTimeout, async script loading, and head.js</title>
  <summary type="html" xml:space="preserve">
  Ohh sorry, I&#39;m thinking about Harmony... Harmony combines johnson and &lt;br&gt; envjs... &lt;br&gt; On Mon, Feb 7, 2011 at 1:21 PM, Aaron Gibralter
  </summary>
  </entry>
  <entry>
  <author>
  <name>Aaron Gibralter</name>
  <email>aaron.gibral...@gmail.com</email>
  </author>
  <updated>2011-02-07T18:21:58Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/a72719e961f3074b/55f3eaf892be70ed?show_docid=55f3eaf892be70ed</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/a72719e961f3074b/55f3eaf892be70ed?show_docid=55f3eaf892be70ed"/>
  <title type="text">Re: [johnson-talk] setTimeout, async script loading, and head.js</title>
  <summary type="html" xml:space="preserve">
  But doesn&#39;t Johnson already use Envjs? Shouldn&#39;t Johnson load env.js&#39;s &lt;br&gt; setTimeout code?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Steven Parkes</name>
  <email>smpar...@smparkes.net</email>
  </author>
  <updated>2011-02-07T17:17:41Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/a72719e961f3074b/cf0626d25db45826?show_docid=cf0626d25db45826</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/a72719e961f3074b/cf0626d25db45826?show_docid=cf0626d25db45826"/>
  <title type="text">Re: [johnson-talk] setTimeout, async script loading, and head.js</title>
  <summary type="html" xml:space="preserve">
  You could try something like envjs (&lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;https://github.com/smparkes/env-js&quot;&gt;[link]&lt;/a&gt;) or try to pull the timer code from there. &lt;br&gt; setTimeout is part of the browser environment, not part of javascript.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Aaron Gibralter</name>
  <email>aaron.gibral...@gmail.com</email>
  </author>
  <updated>2011-02-07T17:01:58Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/a72719e961f3074b/b8b9dc93ac299a07?show_docid=b8b9dc93ac299a07</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/a72719e961f3074b/b8b9dc93ac299a07?show_docid=b8b9dc93ac299a07"/>
  <title type="text">setTimeout, async script loading, and head.js</title>
  <summary type="html" xml:space="preserve">
  Is there anyway to test scripts that load other scripts asynchronously with &lt;br&gt; head.js(...)? &lt;br&gt; script 1: &lt;br&gt; // ... &lt;br&gt; head.js(&amp;quot;/path/to/script2.js&amp;quot;, &amp;quot;/path/to/script3.js&amp;quot;, callback); &lt;br&gt; // ... &lt;br&gt; I want to test the functionality in the callback function, but it depends on &lt;br&gt; having script2 and script3 loaded.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Steven Parkes</name>
  <email>smpar...@smparkes.net</email>
  </author>
  <updated>2010-08-19T18:53:59Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/406ce7f8e3c2742c/4e8af5adbdec4641?show_docid=4e8af5adbdec4641</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/406ce7f8e3c2742c/4e8af5adbdec4641?show_docid=4e8af5adbdec4641"/>
  <title type="text">Re: [johnson-talk] Classes, prototypes, Ruby 1.9.x</title>
  <summary type="html" xml:space="preserve">
  At last test, Johnson isn&#39;t happy with any 1.9 branch. Threads and the JS GC don&#39;t work well together.
  </summary>
  </entry>
  <entry>
  <author>
  <name>Steven Parkes</name>
  <email>smpar...@smparkes.net</email>
  </author>
  <updated>2010-08-19T16:34:34Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/008a85c6d9e76cdb/6fcc2e5d4b97b1bd?show_docid=6fcc2e5d4b97b1bd</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/008a85c6d9e76cdb/6fcc2e5d4b97b1bd?show_docid=6fcc2e5d4b97b1bd"/>
  <title type="text">state of unstable</title>
  <summary type="html" xml:space="preserve">
  We&#39;re still not out of the woods with the unstable branch. While it &lt;br&gt; passes the johnson tests, it core dumps elsewhere. &lt;br&gt; &lt;p&gt;My test right now is one of the specs in capybara -envjs: &lt;br&gt; &lt;p&gt;smparkes@smp ~/capybara-envjs i386$ spec spec/driver/ &lt;br&gt; envjs_driver_spec.rb &lt;br&gt; .... WARNIING:	[Thu Aug 19 2010 09:31:18 GMT-0700 (PST)] {ENVJS}
  </summary>
  </entry>
  <entry>
  <author>
  <name>Philipp Kempgen</name>
  <email>phil...@kempgen.net</email>
  </author>
  <updated>2010-08-12T17:22:14Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/406ce7f8e3c2742c/60247e5c339fc354?show_docid=60247e5c339fc354</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/406ce7f8e3c2742c/60247e5c339fc354?show_docid=60247e5c339fc354"/>
  <title type="text">Re: Classes, prototypes, Ruby 1.9.x</title>
  <summary type="html" xml:space="preserve">
  My message didn&#39;t make it to the mailing list after 5 days. &lt;br&gt; Am I still in the moderation queue? &lt;br&gt; -------- Original-Nachricht -------- &lt;br&gt; To: Johnson talk &amp;lt;johnson-talk@googlegroups.com &amp;gt; &lt;br&gt; Hi, &lt;br&gt; Do you happen to have an example of how to define a class (or &lt;br&gt; rather a function/prototype) in JavaScript (e.g. Ruby.Person
  </summary>
  </entry>
  <entry>
  <author>
  <name>Philipp Kempgen</name>
  <email>li...@kempgen.net</email>
  </author>
  <updated>2010-08-07T08:22:32Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/406ce7f8e3c2742c/e59c3fcb30b50913?show_docid=e59c3fcb30b50913</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/406ce7f8e3c2742c/e59c3fcb30b50913?show_docid=e59c3fcb30b50913"/>
  <title type="text">Classes, prototypes, Ruby 1.9.x</title>
  <summary type="html" xml:space="preserve">
  Hi, &lt;br&gt; Do you happen to have an example of how to define a class (or &lt;br&gt; rather a function/prototype) in JavaScript (e.g. Ruby.Person &lt;br&gt; or whatever) _and_ use that as a class in Ruby? &lt;br&gt; As a side note: There was an example in the RubyConf talk (2008) &lt;br&gt; about adding a method to a Ruby class from JavaScript context
  </summary>
  </entry>
  <entry>
  <author>
  <name>Gregory Blanc</name>
  <email>gregory.bl...@gmail.com</email>
  </author>
  <updated>2010-07-20T01:07:24Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/5c56e5efba55473d/e6bc834eba51566d?show_docid=e6bc834eba51566d</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/5c56e5efba55473d/e6bc834eba51566d?show_docid=e6bc834eba51566d"/>
  <title type="text">Re: [johnson-talk] Browse a mutable tree</title>
  <summary type="html" xml:space="preserve">
  Dear Johnson developers and users, &lt;br&gt; it is me again. I think last time my explanation was a bit confusing &lt;br&gt; and I &lt;br&gt; think my question simply goes down to the title. The mutable tree is &lt;br&gt; not &lt;br&gt; a real tree structure. Therefore, is there a way to browse it? &lt;br&gt; Obviously, &lt;br&gt; using the each iterator... &lt;br&gt; However, if I want to start browsing from a given node or leaf? How do
  </summary>
  </entry>
  <entry>
  <author>
  <name>Steven Parkes</name>
  <email>smpar...@smparkes.net</email>
  </author>
  <updated>2010-07-05T00:10:17Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/8a2e0bfc7d74bded/e8755e05b010ded6?show_docid=e8755e05b010ded6</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/8a2e0bfc7d74bded/e8755e05b010ded6?show_docid=e8755e05b010ded6"/>
  <title type="text">Re: [johnson-talk] Backtraces</title>
  <summary type="html" xml:space="preserve">
  This is actually more an envjs issue than a Johnson issue. Johnson provides enough hooks to pass a string that SpiderMonkey will use in backtraces, it&#39;s just not hooked up in envjs for cases where the source is a URI (even a file URI, I think). &lt;br&gt; Could you submit an issue at &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://github.com/smparkes/env-js?&quot;&gt;[link]&lt;/a&gt; I can probably hack something into the current Johnson port and it&#39;s probably something that should go into the envjs platform API going forward ...
  </summary>
  </entry>
  <entry>
  <author>
  <name>Steven Parkes</name>
  <email>smpar...@smparkes.net</email>
  </author>
  <updated>2010-07-05T00:06:23Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/123e41ac1c6e69fb/7cb76df7e372dc84?show_docid=7cb76df7e372dc84</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/123e41ac1c6e69fb/7cb76df7e372dc84?show_docid=7cb76df7e372dc84"/>
  <title type="text">Re: [johnson-talk] Sandboxing and untrusted code</title>
  <summary type="html" xml:space="preserve">
  Sandboxing would be nice, but I for one really don&#39;t know if it&#39;s possible. It would take time just to try to detect/plug holes, and I&#39;m not sure there wouldn&#39;t be show stoppers. &lt;br&gt; As to your eval example, you&#39;d either have to have no Ruby objects reachable from the untrusted JS, or, perhaps, make sure they were very restricted a la blank_slate. So restricted, in fact, I wonder if they&#39;d be useful at all ...
  </summary>
  </entry>
  <entry>
  <author>
  <name>retro</name>
  <email>konje...@gmail.com</email>
  </author>
  <updated>2010-06-27T11:16:55Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/123e41ac1c6e69fb/20d8fdd5fb8a7ac0?show_docid=20d8fdd5fb8a7ac0</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/123e41ac1c6e69fb/20d8fdd5fb8a7ac0?show_docid=20d8fdd5fb8a7ac0"/>
  <title type="text">Sandboxing and untrusted code</title>
  <summary type="html" xml:space="preserve">
  Is it possible to run untrusted code inside of Johnson. I&#39;ve removed &lt;br&gt; Ruby object (Ruby = null) inside of context, but It seems that you can &lt;br&gt; eval ruby code through RubyLandProxy object. You can replicate this by &lt;br&gt; running: &lt;br&gt; &lt;p&gt;js = Johnson::Runtime.new() &lt;br&gt; js[:proxy] = {:key =&amp;gt; &#39;value&#39;} &lt;br&gt; js[:Ruby] = nil
  </summary>
  </entry>
  <entry>
  <author>
  <name>Elliot Winkler</name>
  <email>elliot.wink...@gmail.com</email>
  </author>
  <updated>2010-07-04T03:36:56Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/8a2e0bfc7d74bded/41202e6218821090?show_docid=41202e6218821090</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/8a2e0bfc7d74bded/41202e6218821090?show_docid=41202e6218821090"/>
  <title type="text">Backtraces</title>
  <summary type="html" xml:space="preserve">
  The lack of information when Johnson spits out a backtrace is &lt;br&gt; completely maddening: &lt;br&gt; &lt;p&gt;Johnson::Error in &#39;Feature: Gift this (under Javascript) Scenario: &lt;br&gt; Choosing to gift items and going forward&#39; &lt;br&gt; b is null &lt;br&gt; /Library/Ruby/Gems/1.8/gems/en vjs-0.3.6/lib/envjs/static.js: 1218 &lt;br&gt; [JavaScript] &lt;br&gt; inline:2302 [JavaScript]
  </summary>
  </entry>
  <entry>
  <author>
  <name>Manuel Vidaurre</name>
  <email>manuel.vidau...@gmail.com</email>
  </author>
  <updated>2010-06-14T19:08:20Z</updated>
  <id>http://groups.google.com/group/johnson-talk/browse_thread/thread/36027503ac6457c5/c24c2a165ae40b1e?show_docid=c24c2a165ae40b1e</id>
  <link href="http://groups.google.com/group/johnson-talk/browse_thread/thread/36027503ac6457c5/c24c2a165ae40b1e?show_docid=c24c2a165ae40b1e"/>
  <title type="text">Re: [johnson-talk] Do still johnson be incompatible with ruby 1.9.x?</title>
  <summary type="html" xml:space="preserve">
  Thanks Steven, I will look that. I will let you know about my results. &lt;br&gt; Manuel Vidaurre &lt;br&gt; +52 [33] 1370.5224 &lt;br&gt; 62*13*4874
  </summary>
  </entry>
</feed>
