This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>Basic</title> | |
<script src="http://d3js.org/d3.v2.js"></script> | |
<script src="jshbrdly_days.json"></script> | |
<style type="text/css"> | |
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html;charset=utf-8"> | |
<title>Partition - Sunburst</title> | |
<script src="http://d3js.org/d3.v2.js"></script> | |
<style type="text/css"> | |
path { | |
stroke: #fff; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/socket.io.js b/socket.io.js | |
index dfd777a..6185082 100644 | |
--- a/socket.io.js | |
+++ b/socket.io.js | |
@@ -329,6 +329,12 @@ if (typeof window != 'undefined') this.io.setPath('/socket.io/'); | |
XHR.prototype._request = function(url, method, multipart){ | |
var req = request(this.base._isXDomain()); | |
if (multipart) req.multipart = true; | |
+ | |
+ // JRL: adding this to enable cross-browser XHR in FF |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
system.use("com.joyent.Sammy"); | |
POST('/eval', function() { | |
/* get q like this because request.body doesn't correctly collect parameters with '+' characters - they get converted to ' ' */ | |
var q = decodeURIComponent(this.request.content.split('=')[1].replace(/\+/g," ")); | |
var func; | |
eval('func = function() { '+q+'};'); | |
var res = func(); | |
if(!res) { | |
res = "no return value"; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# in userbag.py: | |
def tiddler_get(self, tiddler): | |
store = self.main_store | |
username = tiddler.title | |
user = User(username) | |
user = store.get(user) | |
userTiddler = Tiddler(username) | |
userTiddler.bag = self.environ['tiddlyweb.config']['userbag_bag'] | |
userTiddler = store.get(userTiddler) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[submodule "wireit"] | |
path = wireit | |
url = git://github.com/neyric/wireit.git |
NewerOlder