diff options
author | Ananya Sen | 2012-03-06 17:04:09 -0800 |
---|---|---|
committer | Ananya Sen | 2012-03-06 17:04:09 -0800 |
commit | 96e4a494d559da6b4041c1c14c26b53221276e4b (patch) | |
tree | 83069329cc6f69f5716aea4fc38789be796e302e | |
parent | 9e4ee2470726e3334eb47d904a6f4079d4ed7aef (diff) | |
download | ninja-96e4a494d559da6b4041c1c14c26b53221276e4b.tar.gz |
removed unnecessary console logs
Signed-off-by: Ananya Sen <Ananya.Sen@motorola.com>
-rwxr-xr-x | js/document/html-document.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/js/document/html-document.js b/js/document/html-document.js index d90231e3..924a013d 100755 --- a/js/document/html-document.js +++ b/js/document/html-document.js | |||
@@ -863,16 +863,16 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
863 | */ | 863 | */ |
864 | pauseVideos:{ | 864 | pauseVideos:{ |
865 | value:function(removeSrc){ | 865 | value:function(removeSrc){ |
866 | console.log("$$$ pauseVideos"); | 866 | //console.log("$$$ pauseVideos"); |
867 | var videosArr = this.documentRoot.getElementsByTagName("video"), i=0; | 867 | var videosArr = this.documentRoot.getElementsByTagName("video"), i=0; |
868 | for(i=0;i<videosArr.length;i++){ | 868 | for(i=0;i<videosArr.length;i++){ |
869 | if(!videosArr[i].paused){ | 869 | if(!videosArr[i].paused){ |
870 | videosArr[i].pause(); | 870 | videosArr[i].pause(); |
871 | } | 871 | } |
872 | console.log("$$$ Paused ", videosArr[i]); | 872 | //console.log("$$$ Paused ", videosArr[i]); |
873 | if((typeof removeSrc !== "undefined") && (removeSrc === true)){ | 873 | if((typeof removeSrc !== "undefined") && (removeSrc === true)){ |
874 | videosArr[i].src = ""; | 874 | videosArr[i].src = ""; |
875 | console.log("$$$ stopped "); | 875 | //console.log("$$$ stopped "); |
876 | } | 876 | } |
877 | } | 877 | } |
878 | } | 878 | } |
@@ -884,11 +884,11 @@ exports.HTMLDocument = Montage.create(TextDocument, { | |||
884 | */ | 884 | */ |
885 | stopVideos:{ | 885 | stopVideos:{ |
886 | value:function(){ | 886 | value:function(){ |
887 | console.log("$$$ stopVideos"); | 887 | //console.log("$$$ stopVideos"); |
888 | var videosArr = this.documentRoot.getElementsByTagName("video"), i=0; | 888 | var videosArr = this.documentRoot.getElementsByTagName("video"), i=0; |
889 | for(i=0;i<videosArr.length;i++){ | 889 | for(i=0;i<videosArr.length;i++){ |
890 | videosArr[i].src = ""; | 890 | videosArr[i].src = ""; |
891 | console.log("$$$ stopped ", videosArr[i]); | 891 | //console.log("$$$ stopped ", videosArr[i]); |
892 | } | 892 | } |
893 | } | 893 | } |
894 | } | 894 | } |