1
0
mirror of https://github.com/2ec0b4/kaamelott-soundboard.git synced 2025-12-08 15:43:24 +00:00

Remplace les guillemets simples par des guillemets doubles

This commit is contained in:
Antoine
2016-06-11 22:30:05 +02:00
parent df5c64290a
commit 759d6790ef
10 changed files with 109 additions and 107 deletions

View File

@@ -1,7 +1,7 @@
define('models/sound', function(require) {
define("models/sound", function(require) {
"use strict";
var Backbone = require('backbone'),
var Backbone = require("backbone"),
Sound;
Sound = Backbone.Model.extend({
@@ -15,14 +15,14 @@ define('models/sound', function(require) {
},
play: function() {
if( !this.audio ) {
this.audio = new Audio('sounds/'+this.get('file'));
this.audio = new Audio("sounds/"+this.get("file"));
}
this.audio.play();
this.audio.onended = this.stop.bind(this);
this.audio.onpause = this.stop.bind(this);
this.set('playing', true);
this.set("playing", true);
},
stop: function() {
if( this.audio && !this.audio.paused ) {
@@ -30,10 +30,10 @@ define('models/sound', function(require) {
this.audio.load();
}
this.set('playing', false);
this.set("playing", false);
},
getSoundDetail: function() {
return this.get('character')+', '+this.get('episode');
return this.get("character")+", "+this.get("episode");
}
});