Skip to content

Commit

Permalink
Adding a magic URL fetching routine
Browse files Browse the repository at this point in the history
  • Loading branch information
cthulhuology committed Jun 5, 2010
1 parent e2e06aa commit 5493cfb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions 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] : "";
Expand Down

0 comments on commit 5493cfb

Please sign in to comment.