Tip: Click lines to highlight, hold ctrl/cmd to multi-select
test2 (21-Apr @ 13:28)
Syntax Highlighted Code
- customClass = function () {
- this.doJquery = function () {
- $("element").click(function () {
- this.foo = bar;
- x = this.foo;
- });
- }
- }
- customObject = new customClass();
- customObject.doJquery;
Plain Code
customClass = function () {
this.doJquery = function () {
$("element").click(function () {
this.foo = bar;
x = this.foo;
});
}
}
customObject = new customClass();
customObject.doJquery;