Here's a fiddle where I have it working with your code above.
Make sure you're using jQuery 1.9+ and including the necessary resources:
HTML
<input id='myTextBox' class='typeahead' placeholder='numbers (1-10)' type='text' />
JS - for completion sake, but shouldn't be different that what you posted
var numbers = new Bloodhound({
datumTokenizer: function(d) { return Bloodhound.tokenizers.whitespace(d.num); },
queryTokenizer: Bloodhound.tokenizers.whitespace,
local: [
{ num: 'one' },
{ num: 'two' },
{ num: 'three' },
{ num: 'four' },
{ num: 'five' },
{ num: 'six' },
{ num: 'seven' },
{ num: 'eight' },
{ num: 'nine' },
{ num: 'ten' }
]
});
// initialize the bloodhound suggestion engine
numbers.initialize();
// instantiate the typeahead UI
$('#myTextBox').typeahead(null, {
displayKey: 'num',
source: numbers.ttAdapter()
});