UNPKG

dojox

Version:

Dojo eXtensions, a rollup of many useful sub-projects and varying states of maturity – from very stable and robust, to alpha and experimental. See individual projects contain README files for details.

22 lines (18 loc) 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; });