Skip to content
Browse files

Adding a magic URL fetching routine

  • Loading branch information...
1 parent e2e06aa commit 5493cfb6d4590b6c910fee78ccd399fda8f9ef76 @cthulhuology committed Jun 5, 2010
Showing with 2 additions and 0 deletions.
  1. +2 −0 object/Phosphor
View
2 object/Phosphor
@@ -1,4 +1,6 @@
+String.prototype.get = function(cb) { return this.request("GET",this,cb? cb : function (txt) { A.block().says(txt)}) }
+
Object.prototype.parameters = function() {
var m = /function (\([^)]*\))/.exec(this.toString());
return m ? m[1] : "";

0 comments on commit 5493cfb

Please sign in to comment.
Something went wrong with that request. Please try again.