Skip to content
This repository has been archived by the owner on Aug 18, 2018. It is now read-only.

Commit

Permalink
Env fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wycats committed Apr 24, 2008
1 parent c8e3eac commit 2a2fdf2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions browser/env.js
Expand Up @@ -588,9 +588,10 @@ Ruby.require("uri");
var url = curLocation.merge(self.url);
var connection;

if ( url.scheme() == "file" ) {
if ( url.scheme == "file" ) {
if ( self.method == "PUT" ) {
var out = new Ruby.File(url.path()), text = data || "";
var out = new Ruby.File(url.path);
var text = data || "";

out.puts( text );
out.flush();
Expand Down
2 changes: 1 addition & 1 deletion vendor/spidermonkey
Submodule spidermonkey updated from 6104d6 to 8a0fc4

0 comments on commit 2a2fdf2

Please sign in to comment.