source: Dev/trunk/src/client/dojox/mobile/sniff.js @ 532

Last change on this file since 532 was 483, checked in by hendrikvanantwerpen, 11 years ago

Added Dojo 1.9.3 release.

File size: 577 bytes
Line 
1define([
2        "dojo/_base/kernel",
3        "dojo/sniff"
4], function(kernel, has){
5
6        kernel.deprecated("dojox/mobile/sniff", "Use dojo/sniff instead", "2.0");
7       
8        // TODO: remove this in 2.0
9        has.add("iphone", has("ios"));
10
11        /*=====
12        return {
13                // summary:
14                //              Deprecated: use dojo/sniff instead.
15                //              On iOS, dojox/mobile/sniff sets "iphone" to the same value as "ios"
16                //              for compatibility with earlier versions, but this should be considered deprecated.
17                //              In future versions, "iphone" will be set only when running on an iPhone (not iPad on iPod).
18        };
19        =====*/
20        return has;
21});
Note: See TracBrowser for help on using the repository browser.