Skip to content

Instantly share code, notes, and snippets.

@ttrenka
ttrenka / gist:1601352
Created January 12, 2012 16:10
Example of dojo/sniff
define(["./has"], function(has){
if(!has("host-browser")){
return {};
}
var hasAdd = has.add,
n = navigator,
dua = n.userAgent,
dav = n.appVersion,
tv = parseFloat(dav),