<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>Support/JSSpec/JSSpec.css</filename>
    </added>
    <added>
      <filename>Support/JSSpec/JSSpec.js</filename>
    </added>
    <added>
      <filename>Support/JSSpec/diff_match_patch.js</filename>
    </added>
    <added>
      <filename>Support/JSSpec/index.html</filename>
    </added>
    <added>
      <filename>Support/JSSpec/specs.js</filename>
    </added>
    <added>
      <filename>Support/run_js.js</filename>
    </added>
    <added>
      <filename>Support/run_js.rb</filename>
    </added>
    <added>
      <filename>Tests/run_js.test.js</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -5,57 +5,8 @@
 	&lt;key&gt;beforeRunningCommand&lt;/key&gt;
 	&lt;string&gt;nop&lt;/string&gt;
 	&lt;key&gt;command&lt;/key&gt;
-	&lt;string&gt;#!/usr/bin/env bash
-. &quot;$TM_SUPPORT_PATH/lib/webpreview.sh&quot;
-html_header &quot;Javascript Runner&quot; &quot;Open Web Inspector for log&quot;
-
-YOURCODE=`cat`
-
-cat &amp;lt;&amp;lt;HTML
-&amp;lt;script&amp;gt;
-(function(){try{
-	
-	function e_sh(s){
-		return s
-		.toString()
-		.replace(/\x27/g,&quot;&#8217;&quot;)
-		.replace(/\&quot;/g,'\\\&quot;')
-		;
-	};
-	
-	window.alert = function(s){
-		TextMate.system('&quot;$DIALOG&quot; -e -p \'{messageTitle=&quot;JavaScript&quot;;informativeText=&quot;'+e_sh(s)+'&quot;;}\'', null);
-	};
-	
-	var __TM_confirm_Status;
-	window.confirm = function(s){
-		TextMate.system('&quot;$DIALOG&quot; -e -p \'{messageTitle=&quot;JavaScript&quot;;informativeText=&quot;'+e_sh(s)+'&quot;;buttonTitles=(&quot;OK&quot;,&quot;Cancel&quot;);}\'', null)
-		.onreadoutput = function(s){ __TM_confirm_Status = s != 1; };
-		return(__TM_confirm_Status);
-	};
-	
-}catch(e){ console.log(e.message); }; })();
-&amp;lt;/script&amp;gt;
-&amp;lt;input type=&quot;button&quot; value=&quot;Show Code&quot; onclick=&quot;var c=document.getElementById('code');c.style.display==''?c.style.display='none':c.style.display='';&quot; /&amp;gt;
-&amp;lt;pre id=&quot;code&quot; style=&quot;display:none&quot;&amp;gt;
-$YOURCODE
-&amp;lt;/pre&amp;gt;
-&amp;lt;pre id=&quot;log&quot;&amp;gt;
-&amp;lt;script&amp;gt;
-try{throw {}}catch(e){ window.__line=(e.line||0) + 3 };
-try{
-/*----  YOUR CODE ----*/
-$YOURCODE
-/*---- /YOUR CODE ----*/
-}catch(e){
-	console.log(e);
-	var __line_offset = ${TM_INPUT_START_LINE:-1};
-	alert(&quot;$TM_FILEPATH:&quot; + ((e.line||1) - __line + __line_offset) +&quot;\n&quot;+ e.message||'')
-};
-&amp;lt;/script&amp;gt;&amp;lt;/pre&amp;gt;
-HTML
-
-html_footer
+	&lt;string&gt;#!/usr/bin/env ruby
+require ENV['TM_BUNDLE_SUPPORT'] + '/run_js'
 &lt;/string&gt;
 	&lt;key&gt;input&lt;/key&gt;
 	&lt;string&gt;selection&lt;/string&gt;</diff>
      <filename>Commands/Run Javascript.tmCommand</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>4481ff2b91d29fc7a9c3c2cb8e8197719dbb7f44</id>
    </parent>
  </parents>
  <author>
    <name>Thomas Aylott</name>
    <email>oblivious+git@subtlegradient.com</email>
  </author>
  <url>http://github.com/subtleGradient/javascript.tmbundle/commit/0b17098fc282e9ef93638254fff67c0b3cb0b5f2</url>
  <id>0b17098fc282e9ef93638254fff67c0b3cb0b5f2</id>
  <committed-date>2009-04-17T14:37:43-07:00</committed-date>
  <authored-date>2009-04-17T14:37:43-07:00</authored-date>
  <message>[NEW] Run Javascript command can now parse your script for &quot;@require 'something'&quot;; Require relative paths, urls and keywords. Require CSS or JS.</message>
  <tree>11efb8ecd3ed6124b894cae1feb57ce35b2ca26d</tree>
  <committer>
    <name>Thomas Aylott</name>
    <email>oblivious+git@subtlegradient.com</email>
  </committer>
</commit>
