Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am nvdnkpr on github.
  • I am nvdnkpr (https://keybase.io/nvdnkpr) on keybase.
  • I have a public key ASCbtTjfs4ubB3O4pxcaCaFpFNp3OJXizU1KUb-q-WOUTwo

To claim this, I am signing this object:

// ****************************************************************************************************************
// ****************************************************************************************************************
// test value can be 'raw' | 'socket.io' | 'nowjs'
var test = 'raw',
// ****************************************************************************************************************
// ****************************************************************************************************************
// REMEMBER to change this with your data
@nvdnkpr
nvdnkpr / index.js
Created December 5, 2012 18:06 — forked from ricardoalcocer/index.js
Basic Alloy : Dynamic TableView Handling
function showItems(e) {
Ti.API.info(e.rowData.itemName);
}
var rowData=[];
for(var i=1;i<=10;i++){
var payload={
rowId:i,
itemName:'Test' + i
}
@nvdnkpr
nvdnkpr / app.js
Created January 22, 2012 14:42
Kranium 101
Ti.include("/kranium/lib/kranium.js");
// // include some low level helper libraries like underscore
// // HERE: include underscore- and underscore string library (not needed for this example)
// var _ = require('libs/core/underscore')._;
// _.s = require('libs/core/underscore.string')._s;
// _.mixin(_.s.exports());
// // or Date.js
// require('/libs/core/date-de-DE');
//