removing console.logs
This commit is contained in:
parent
e16346c611
commit
03a3d38b58
|
@ -50,7 +50,7 @@ padmaVideo.prototype.getLayerVideo = function(tcIn, tcOut) {
|
|||
}
|
||||
|
||||
padmaVideo.prototype.noop = function() {
|
||||
console.log("I'm done:)");
|
||||
// console.log("I'm done:)");
|
||||
// $.noop();
|
||||
}
|
||||
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
if (link.indexOf(PADMA_URL) != -1) {
|
||||
var linkData = parsePadmaUrl(link);
|
||||
if (linkData) {
|
||||
console.log(linkData);
|
||||
// console.log(linkData);
|
||||
var v = new padmaVideo(linkData.videoId);
|
||||
v.getAllData(setupPadmaLink, {'linkData': linkData, 'jq': that});
|
||||
// getPadmaData(linkData, that, {});
|
||||
|
@ -34,12 +34,12 @@ Gives a bunch of data parsed from a pad.ma url
|
|||
|
||||
function parsePadmaUrl(link) {
|
||||
var linkStr = link.replace(PADMA_URL, "");
|
||||
console.log(linkStr);
|
||||
// console.log(linkStr);
|
||||
var r = { };
|
||||
if (linkStr.charAt(0) == 'V') {
|
||||
var idRegex = /V(.{1,7})/;
|
||||
var idMatch = linkStr.match(idRegex);
|
||||
console.log("match", idMatch);
|
||||
// console.log("match", idMatch);
|
||||
r.videoId = idMatch[0];
|
||||
var postIdStr = linkStr.replace(idMatch[0] + "/", '');
|
||||
if (postIdStr == 'info' || postIdStr == '') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user