some changes

This commit is contained in:
Sanj 2011-02-23 16:09:34 +01:00
parent b6fccae84a
commit cfe52ac12a

View File

@ -92,10 +92,10 @@ Gives a bunch of data parsed from a pad.ma url
*/ */
function parsePadmaUrl(link, padma_url) { function parsePadmaUrl(link, padma_url) {
console.log(padma_url); // console.log(padma_url);
var regex = new RegExp("http://.*" + padma_url); var regex = new RegExp("http://.*" + padma_url);
var linkStr = link.replace(regex, ""); var linkStr = link.replace(regex, "");
console.log(linkStr); // console.log(linkStr);
// console.log(linkStr); // console.log(linkStr);
var r = { }; var r = { };
r.url = link; r.url = link;