Denis Titov
Welcome to my page. I am PHP developer. I am from Sumy but now live and work in Lviv. I like swimming, walking in parks, but most of all I love to stay at home and watch interesting films
$(this).attr('id') => this.id
init: function() {
pictureViewer.init(); // CONTEXT SHOULD BE REMOVED
...lots of set-up method calls...
}
init: function() {
news.pubsub.emit('pictureGallery:initialized')
...lots of set-up method calls...
}
var PictureViewer = {
...code...
init: function() {
...lots of set-up method calls...
this.bindEvents();
}
}
var PictureViewer = {
...code...
init: function() {
...lots of set-up method calls...
this.bindEvents();
}
}
news.pubsub.on('pictureGallery:initialized', PictureViewer.init);


For full details see:
https://gist.github.com/Integralist/47f424ab3e275fcac093
By Denis Titov
Open discussion on our current strategies, where they fail and how they should evolve
Welcome to my page. I am PHP developer. I am from Sumy but now live and work in Lviv. I like swimming, walking in parks, but most of all I love to stay at home and watch interesting films