comment the repeated code #9

Merged
merged 1 commit into from Jan 17, 2013

Conversation

Projects
None yet
2 participants
Contributor

feiyunruyue commented Jan 11, 2013

comment "rtc.attachStream(stream, 'you');"

@feiyunruyue feiyunruyue Update example/index.html
comment "rtc.attachStream(stream, 'you');"
3daa35d
Contributor

feiyunruyue commented Jan 13, 2013

document.getElementById('you').src = URL.createObjectURL(stream);//line 157      
rtc.attachStream(stream, 'you');// line 159
  rtc.attachStream = function(stream, domId) {
    document.getElementById(domId).src = URL.createObjectURL(stream);
  };

I think they are repeated.

@dennismartensson dennismartensson pushed a commit that referenced this pull request Jan 17, 2013

Dennis Merge pull request #9 from feiyunruyue/master
comment the repeated code
243c217

@dennismartensson dennismartensson merged commit 243c217 into webRTC-io:master Jan 17, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment