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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user