Skip to content

Instantly share code, notes, and snippets.

Tom Trenka ttrenka

Block or report user

Report or block ttrenka

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@ttrenka
ttrenka / gist:1601352
Created Jan 12, 2012
Example of dojo/sniff
View gist:1601352
define(["./has"], function(has){
if(!has("host-browser")){
return {};
}
var hasAdd = has.add,
n = navigator,
dua = n.userAgent,
dav = n.appVersion,
tv = parseFloat(dav),
You can’t perform that action at this time.