'use strict';

var _ = require('underscore');
var Backbone = require('backbone');
var Marionette = require('backbone.marionette');
var BookmarkItemView = require('./BookmarkItemView');
var template = require('../templates/bookmarks.hbs');

var EmptyView = Marionette.ItemView.extend({
  template: _.template('<p>No bookmarks yet!</p>')
});

module.exports = Marionette.CompositeView.extend({
  className: 'nm-bookmarks',
  childView: BookmarkItemView,
  childViewContainer: 'ul',
  emptyView: EmptyView,
  template: template
});

'use strict';

var _ = require('underscore');
var Backbone = require('backbone');
var Marionette = require('backbone.marionette');
var BookmarkItemView = require('./BookmarkItemView');
var template = require('../templates/bookmarks.hbs');

var EmptyView = Marionette.ItemView.extend({
  template: _.template('<p>No bookmarks.</p>')
});

module.exports = Marionette.CompositeView.extend({
  className: 'nm-bookmarks',
  childView: BookmarkItemView,
  childViewContainer: 'ul',
  emptyView: EmptyView,
  template: template
});

Change message to be shown when there are no bookmarks
Change message to be shown when there are no bookmarks
