1
0
mirror of https://github.com/2ec0b4/kaamelott-soundboard.git synced 2025-12-09 16:05:35 +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,18 +1,18 @@
define('views/sounds', function(require) {
define("views/sounds", function(require) {
"use strict";
var Marionette = require('marionette'),
Radio = require('backbone.radio'),
SoundsCollection = require('collections/sounds'),
SoundView = require('views/sound'),
var Marionette = require("marionette"),
Radio = require("backbone.radio"),
SoundsCollection = require("collections/sounds"),
SoundView = require("views/sound"),
SoundsCollectionView;
SoundsCollectionView = Marionette.CollectionView.extend({
childView: SoundView,
collection: new SoundsCollection(),
tagName: 'ul',
tagName: "ul",
childEvents: {
'sound:play': 'stopPlayingSound'
"sound:play": "stopPlayingSound"
},
initialize: function() {
var that = this;
@@ -21,9 +21,9 @@ define('views/sounds', function(require) {
collection: this.collection
};
this.channel = Radio.channel('Sounds');
this.channel.request('getSounds').then(this.initCollection.bind(this));
this.channel.on('sounds:filter', this.filterCollection.bind(this));
this.channel = Radio.channel("Sounds");
this.channel.request("getSounds").then(this.initCollection.bind(this));
this.channel.on("sounds:filter", this.filterCollection.bind(this));
},
initCollection: function(sounds) {
this.data.collection = new SoundsCollection(sounds);