« first day (1636 days earlier)      last day (2481 days later) » 

 
3 hours later…
var oReq = new XMLHttpRequest();
oReq.open("GET", "/myfile.png", true);
oReq.responseType = "arraybuffer";

oReq.onload = function (oEvent) {
var arrayBuffer = oReq.response; // Note: not oReq.responseText
if (arrayBuffer) {
var byteArray = new Uint8Array(arrayBuffer);
for (var i = 0; i < byteArray.byteLength; i++) {
// do something with each byte in the array
}
}
};

oReq.send(null);
1 message moved from JavaScript
 
1 hour later…
05:51
app.use(function(req, res, next){
req.wss = wss;
next();
});
1 message moved from JavaScript
1 message moved from JavaScript
A K
A K
06:14
$scope.ebObjUnd.monthsArray[i]= {

// delcare & assign props here

};
1 message moved from JavaScript
@Queen k
17 messages moved from GMTs
07:51
/javadoc TextProperty
Which one do you mean? (type the number)
1. biweekly.property.TextProperty
2. ezvcard.property.TextProperty
none...
/javadoc StringProperty
Which one do you mean? (type the number)
1. android.media.MediaDrm.StringProperty
2. javafx.beans.property.StringProperty
@geisterfurz007 javafx.beans.property.StringProperty: This class provides a full implementation of a Property wrapping a String value. The value of a StringProperty can be get and set with #get(), #getValue(), #set(Object), and #setValue(String). A property can be bound and unbound unidirectional with #bind(ObservableValue) and #unbind(). Bidirectional ...
bindings can be created and removed with #bindBidirectional(Property) and #unbindBidirectional(Property). The context of a StringProperty can be read with #getBean() and #getName(). @since JavaFX 2.0
07:55
8 messages moved from Leaf Village Ninjas
 
1 hour later…
09:13
2 messages moved from Computer Graphics Articles
 
1 hour later…
10:39
var mydate = Date();

for(var property in mydate) {
console.log(property);
}

thats the best I could do
1 message moved from JavaScript
11:00
{% for obj in TD %}
<tr>
<input>
<input type="checkbox" value="{{obj.OEHR_Mtest_Slno}}">
</td>
<td>
{{obj.OEHR_Mtest_Slno}}
</td>
1 message moved from JavaScript
11:16
`this.uniquifyArray = function(array){
var uniqueCategories = array.filter(function(elem, index, self) {
return index == self.indexOf(elem);
});

return uniqueCategories.filter(function(e) { return e });
};`
1 message moved from JavaScript
 
2 hours later…
13:17
function hi() {
throw new Error('hi');
}

var message;

try {
message = hi();
} catch(er) {
message = 'Hi.';
}

console.log(message);
1 message moved from JavaScript
 
4 hours later…
17:05
tinyMCE.PluginManager.add('subBtn', function(editor, url) {

editor.addButton('subBtn', {
class :'buttonClas',
image: icon-path,
icon: true,
tooltip: tooltip,
onclick: function() {
// Open window
editor.windowManager.open({
title: 'PTION',
body: [
{type: 'textbox',value: subBtin, name: 'title', label: 'subBtn'}
],
onsubmit: function(e) {


}
});
}
});
1 message moved from JavaScript
17:23
0
A: Set Radio Button checked in datatable with record from database

zauzaj@quincosa You can do checking in email_templates.each do |template| loop, like email.template_if&template.id. When you have positive matching, that means you found appropriate template for that email and just set radio button selected.

1 message moved from JavaScript
 
2 hours later…
19:23
var x = ['alphabet', 'chris', 'chi', 'crap'],
y = {};

function fill(ob,str){
ob[str[0]] = {};
if (str.length===1) return;
fill(ob[str[0]],str.slice(1));
}

for (var i=x.length; i--;) fill(y,x[i])
1 message moved from JavaScript

« first day (1636 days earlier)      last day (2481 days later) »