some changes
This commit is contained in:
parent
b6fccae84a
commit
cfe52ac12a
4
utils.js
4
utils.js
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user