Comments
parent
ea1bc7255c
commit
9aba8dee40
|
@ -7,12 +7,15 @@
|
|||
|
||||
initialize: function(opts) {
|
||||
|
||||
// Site variables
|
||||
$search_query = $('input#search-query', this.el);
|
||||
$snipts = $('section#snipts article.snipt', this.el);
|
||||
|
||||
// Init functions
|
||||
this.keyboardShortcuts();
|
||||
this.inFieldLabels();
|
||||
|
||||
// Init snipts
|
||||
if ($snipts.length) {
|
||||
SniptListView = Snipt.Views.SniptListView;
|
||||
Snipts = new SniptListView({ 'snipts': $snipts });
|
||||
|
|
Loading…
Reference in New Issue