<commit_before>/*! videojs.stereopanner 2013-12-02 
* Author: <NAME> <<EMAIL>> */ 
videojs.AudioContext=videojs.CoreObject.extend({init:function(){try{window.AudioContext=window.AudioContext||window.webkitAudioContext}catch(a){throw new Error(a)}this.context=new AudioContext,this.gainL=this.context.createGainNode(),this.gainR=this.context.createGainNode(),this.gainL.gain.value=1,this.gainR.gain.value=1,this.merger=this.context.createChannelMerger(2),this.splitter=this.context.createChannelSplitter(2)}}),videojs.AudioContext.prototype.connect=function(a){this.source=this.context.createMediaElementSource(a),this.source.connect(this.splitter,0,0),this.splitter.connect(this.gainL,0),this.splitter.connect(this.gainR,1),this.gainL.connect(this.merger,0,0),this.gainR.connect(this.merger,0,1),this.merger.connect(this.context.destination,0,0)},videojs.AudioContext.prototype.panToLeft=function(){this.gainR.disconnect(),this.gainL.connect(this.merger,0,0)},videojs.AudioContext.prototype.panToRight=function(){this.gainL.disconnect(),this.gainR.connect(this.merger,0,1)},videojs.AudioContext.prototype.panToStereo=function(){this.gainL.connect(this.merger,0,0),this.gainR.connect(this.merger,0,1)},videojs.Player.prototype.panToLeft=function(){this.ac.panToLeft()},videojs.Player.prototype.panToRight=function(){this.ac.panToRight()},videojs.Player.prototype.panToStereo=function(){this.ac.panToStereo()},videojs.plugin("stereopanner",function(a){var b=this;b.ac=b.ac||videojs.AudioContext.create(),a=a||{},b.ready(function(){b.ac.connect(b.M),"right"===a.starting?b.panToRight():b.panToLeft()})});<commit_msg>Trying issue #2 of videojs-stereopanner<commit_after>/*! videojs.stereopanner 2013-12-02 
* Author: <NAME> <<EMAIL>> */ 
videojs.AudioContext=videojs.CoreObject.extend({init:function(){try{window.AudioContext=window.AudioContext||window.webkitAudioContext}catch(a){throw new Error(a)}this.context=new AudioContext,this.gainL=this.context.createGainNode(),this.gainR=this.context.createGainNode(),this.gainL.gain.value=1,this.gainR.gain.value=1,this.merger=this.context.createChannelMerger(2),this.splitter=this.context.createChannelSplitter(2)}}),videojs.AudioContext.prototype.connect=function(a){this.source=this.context.createMediaElementSource(a),this.source.connect(this.splitter,0,0),this.splitter.connect(this.gainL,0),this.splitter.connect(this.gainR,1),this.gainL.connect(this.merger,0,0),this.gainR.connect(this.merger,0,1),this.merger.connect(this.context.destination,0,0)},videojs.AudioContext.prototype.panToLeft=function(){this.gainR.disconnect(),this.gainL.connect(this.merger,0,0)},videojs.AudioContext.prototype.panToRight=function(){this.gainL.disconnect(),this.gainR.connect(this.merger,0,1)},videojs.AudioContext.prototype.panToStereo=function(){this.gainL.connect(this.merger,0,0),this.gainR.connect(this.merger,0,1)},videojs.Player.prototype.panToLeft=function(){this.ac.panToLeft()},videojs.Player.prototype.panToRight=function(){this.ac.panToRight()},videojs.Player.prototype.panToStereo=function(){this.ac.panToStereo()},videojs.plugin("stereopanner",function(a){var b=this;b.ac=b.ac||videojs.AudioContext.create(),a=a||{},b.on("firstplay",function(){b.ac.connect(b.M),"right"===a.starting?b.panToRight():b.panToLeft()})});
{'fraction_non_alphanumeric': 0.1916590003066544, 'fraction_numerical': 0.01870591842992947, 'mean_word_length': 12.153225806451612, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3857061', 'n_tokens_mistral': 1164, 'n_tokens_neox': 1141, 'n_words': 25}