« first day (1307 days earlier)      last day (2810 days later) » 

07:30
$.ajax( {
url: "url"
})
.done(function(data){
console.log(data);
});
1 message moved from JavaScript
 
2 hours later…
09:02
@PriyankaMinhas samajhha kuchh
1 message moved from Androidians
 
4 hours later…
13:28
function Slide(args) {
for (prop in args) {
this[prop] = args[prop];
}

this.error = this.error instanceof Array ? this.error : [];

this.toElement = function() {
//templating here
};

}
1 message moved from JavaScript
class Slide {

constructor () {
// do stuff
}

toElement () {
var element = document.createElement("lemon");
element.innerHTML = "sorry, slide - rlemon, 2015";
return element;
}

toString () {
return "<lemon>sorry, slide - rlemon, 2015</lemon>";
}

}

var slide1 = new Slide();

document.body.appendChild(slide1.toElement());
// or
document.body.innerHTML += slide1;
"use pootis"; // so that pasting into dev console doesn't crash browser
1 message moved from JavaScript
 
1 hour later…
 
2 hours later…
 
5 hours later…
20:57
static classes can inherit from ISomething though.
1 message moved from C#

« first day (1307 days earlier)      last day (2810 days later) »