removing console.logs

This commit is contained in:
sanj 2010-09-01 21:44:51 +05:30
parent e16346c611
commit 03a3d38b58
3 changed files with 5 additions and 5 deletions

View File

@ -50,7 +50,7 @@ padmaVideo.prototype.getLayerVideo = function(tcIn, tcOut) {
} }
padmaVideo.prototype.noop = function() { padmaVideo.prototype.noop = function() {
console.log("I'm done:)"); // console.log("I'm done:)");
// $.noop(); // $.noop();
} }

View File

@ -9,7 +9,7 @@
if (link.indexOf(PADMA_URL) != -1) { if (link.indexOf(PADMA_URL) != -1) {
var linkData = parsePadmaUrl(link); var linkData = parsePadmaUrl(link);
if (linkData) { if (linkData) {
console.log(linkData); // console.log(linkData);
var v = new padmaVideo(linkData.videoId); var v = new padmaVideo(linkData.videoId);
v.getAllData(setupPadmaLink, {'linkData': linkData, 'jq': that}); v.getAllData(setupPadmaLink, {'linkData': linkData, 'jq': that});
// getPadmaData(linkData, that, {}); // getPadmaData(linkData, that, {});
@ -34,12 +34,12 @@ Gives a bunch of data parsed from a pad.ma url
function parsePadmaUrl(link) { function parsePadmaUrl(link) {
var linkStr = link.replace(PADMA_URL, ""); var linkStr = link.replace(PADMA_URL, "");
console.log(linkStr); // console.log(linkStr);
var r = { }; var r = { };
if (linkStr.charAt(0) == 'V') { if (linkStr.charAt(0) == 'V') {
var idRegex = /V(.{1,7})/; var idRegex = /V(.{1,7})/;
var idMatch = linkStr.match(idRegex); var idMatch = linkStr.match(idRegex);
console.log("match", idMatch); // console.log("match", idMatch);
r.videoId = idMatch[0]; r.videoId = idMatch[0];
var postIdStr = linkStr.replace(idMatch[0] + "/", ''); var postIdStr = linkStr.replace(idMatch[0] + "/", '');
if (postIdStr == 'info' || postIdStr == '') { if (postIdStr == 'info' || postIdStr == '') {

View File

@ -10,7 +10,7 @@ function displayPadmaURL(linkData, elem, opts) {
function setupPadmaLink(video, data) { function setupPadmaLink(video, data) {
console.log(data); // console.log(data);
var jq = $(data.jq); var jq = $(data.jq);
var linkData = data.linkData; var linkData = data.linkData;
jq.data("video", video); jq.data("video", video);