Last change
on this file since 256 was
256,
checked in by hendrikvanantwerpen, 13 years ago
|
Reworked project structure based on REST interaction and Dojo library. As
soon as this is stable, the old jQueryUI branch can be removed (it's
kept for reference).
|
File size:
397 bytes
|
Line | |
---|
1 | define([ |
---|
2 | "dojo/_base/kernel", |
---|
3 | "dojo/_base/lang", |
---|
4 | "dojo/_base/window", |
---|
5 | "dojox/mobile/sniff" |
---|
6 | ], function(dojo, lang, win, has){ |
---|
7 | win.doc.documentElement.className += lang.trim([ |
---|
8 | has('bb') ? "dj_bb" : "", |
---|
9 | has('android') ? "dj_android" : "", |
---|
10 | has('iphone') ? "dj_iphone" : "", |
---|
11 | has('ipod') ? "dj_ipod" : "", |
---|
12 | has('ipad') ? "dj_ipad" : "" |
---|
13 | ].join(" ").replace(/ +/g," ")); |
---|
14 | return dojo; |
---|
15 | }); |
---|
Note: See
TracBrowser
for help on using the repository browser.