Skip to content

Instantly share code, notes, and snippets.

View kamilogorek's full-sized avatar

Kamil Ogórek kamilogorek

View GitHub Profile
@kamilogorek
kamilogorek / test.js
Last active August 29, 2015 14:07 — forked from singerxt/test.js
var object = {
method: function () {
console.log('foo');
},
method2: function () {
$('.button').on('click', function () {
this.method();
}.bind(this));
}