hotfix: HomeController "Argument HomeController is not a"

This commit is contained in:
tmshv committed 2016-02-22 01:50:17 +03:00
1 parent 24f596abae
commit 7a62d341bb
1 file changed
+2 -1
+2 -1
View File
@@ -1,5 +1,6 @@
export default function (app) { export default function (app) {
app.controller('HomeController', () => { app.controller('HomeController', () => {
let fotorama;
let $tape = $('.tape-block'); let $tape = $('.tape-block');
let $fotorama = $tape.find('.tape-block__content'); let $fotorama = $tape.find('.tape-block__content');
@@ -17,7 +18,7 @@ export default function (app) {
}); });
}); });
let fotorama = $fotorama.fotorama().data('fotorama'); fotorama = $fotorama.fotorama().data('fotorama');
setTimeout(() => { setTimeout(() => {
fotorama.load([ fotorama.load([
{img: 'https://static.shburg.org/art/img/cat1.jpg'}, {img: 'https://static.shburg.org/art/img/cat1.jpg'},