You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
577 B
21 lines
577 B
define([ |
|
"dojo/_base/kernel", |
|
"dojo/sniff" |
|
], function(kernel, has){ |
|
|
|
kernel.deprecated("dojox/mobile/sniff", "Use dojo/sniff instead", "2.0"); |
|
|
|
// TODO: remove this in 2.0 |
|
has.add("iphone", has("ios")); |
|
|
|
/*===== |
|
return { |
|
// summary: |
|
// Deprecated: use dojo/sniff instead. |
|
// On iOS, dojox/mobile/sniff sets "iphone" to the same value as "ios" |
|
// for compatibility with earlier versions, but this should be considered deprecated. |
|
// In future versions, "iphone" will be set only when running on an iPhone (not iPad on iPod). |
|
}; |
|
=====*/ |
|
return has; |
|
});
|
|
|