This commit is contained in:
DonRenando 2015-03-19 12:49:11 +01:00
parent 827fc50875
commit ab528337e2
2 changed files with 2 additions and 6 deletions

View File

@ -367,11 +367,8 @@ Memory.prototype._winGame = function() {
<p class="mg__onend--message">Vous avez gagné votre partie en ' + this.numMoves + ' coups !</p>\
<button id="mg__onend--restart" class="mg__button"><span class="icon-spinner11"></span></button>';
//var texteADire = "Bravo, tu as gagné en "+this.numMoves+" coups ! ";
//responsiveVoice.speak(texteADire, "French Female");
var audio = new Audio();
var texte = "https://translate.google.com/translate_tts?ie=UTF-8&q=bravo%20tu%20as%20gagn%C3%A9%20en%20"+this.numMoves+"%20coups&tl=fr";
var audio = new Audio();
var texte = "http://translate.google.com/translate_tts?ie=UTF-8&q=bravo%20tu%20as%20gagn%C3%A9%20en%20"+this.numMoves+"%20coups&tl=fr";
audio.src =texte;
audio.play();
this.game.appendChild(this.gameMessages);

View File

@ -17,7 +17,6 @@
@section('page-scripts')
<script src="/js/firework.js"></script>
<!-- <script src="{{ URL::to('js/responsivevoice.js') }}"></script> -->
<script src="/js/memory.js"></script>
<script>