master
Nick Sergeant 2011-11-06 18:31:32 -05:00
parent 9aba8dee40
commit 9b02413c39
1 changed files with 3 additions and 0 deletions

View File

@ -131,12 +131,15 @@ jQuery(function($) {
initialize: function(opts) { initialize: function(opts) {
// Site variables
$search_query = $('input#search-query', this.el); $search_query = $('input#search-query', this.el);
$snipts = $('section#snipts article.snipt', this.el); $snipts = $('section#snipts article.snipt', this.el);
// Init functions
this.keyboardShortcuts(); this.keyboardShortcuts();
this.inFieldLabels(); this.inFieldLabels();
// Init snipts
if ($snipts.length) { if ($snipts.length) {
SniptListView = Snipt.Views.SniptListView; SniptListView = Snipt.Views.SniptListView;
Snipts = new SniptListView({ 'snipts': $snipts }); Snipts = new SniptListView({ 'snipts': $snipts });