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

Modifie le style de code

This commit is contained in:
Antoine
2016-04-10 23:43:43 +02:00
parent 36935c6c80
commit 878f37351f

View File

@@ -10,15 +10,17 @@ define(
var SoundSearchView = Marionette.LayoutView.extend({
template: SoundSearchTemplate,
ui: {
searchForm:'form',
searchField:'form input[name="s"]',
searchForm: 'form',
searchField: 'form input[name="s"]'
},
events: {
'submit @ui.searchForm':'filterSounds',
'keyup @ui.searchField':'filterSounds'
'submit @ui.searchForm': 'filterSounds',
'keyup @ui.searchField': 'filterSounds'
},
filterSounds: function() {
filterSounds: function(e) {
var search = $(this.ui.searchField).val();
e.preventDefault();
}
});