Added minimal theme.

This commit is contained in:
Jonathan Bernard
2017-11-29 00:25:25 -06:00
parent d4b359e49b
commit 3a6888a84a
8 changed files with 225 additions and 1 deletions

View File

@ -1,7 +1,7 @@
(function() {
var U = window.uestibulum = {
config: { fullNames: false, hidpi: true, theme: 'jdb' },
config: { fullNames: false, hidpi: true, theme: 'minimal' },
themes: {}
};
@ -44,6 +44,7 @@
_.bindAll(this, 'render');
this.imgModel = options.imageModel;
this.imgModel.on('change:url', this.render);
this.render(); // perform an initial render
},
render: function() { this.$el.attr('src', this.imgModel.get('url')); }