mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 13:25:57 +00:00
upgrade Dojo to 1.6.1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2004-2010, The Dojo Foundation All Rights Reserved.
|
||||
Copyright (c) 2004-2011, The Dojo Foundation All Rights Reserved.
|
||||
Available via Academic Free License >= 2.1 OR the modified BSD license.
|
||||
see: http://dojotoolkit.org/license for details
|
||||
*/
|
||||
@@ -9,6 +9,7 @@ if(!dojo._hasResource["dojo.uacss"]){ //_hasResource checks added by build. Do n
|
||||
dojo._hasResource["dojo.uacss"] = true;
|
||||
dojo.provide("dojo.uacss");
|
||||
|
||||
|
||||
(function(){
|
||||
// summary:
|
||||
// Applies pre-set CSS classes to the top-level HTML node, based on:
|
||||
@@ -33,6 +34,7 @@ dojo.provide("dojo.uacss");
|
||||
dj_ie6: maj(ie) == 6,
|
||||
dj_ie7: maj(ie) == 7,
|
||||
dj_ie8: maj(ie) == 8,
|
||||
dj_ie9: maj(ie) == 9,
|
||||
dj_quirks: d.isQuirks,
|
||||
dj_iequirks: ie && d.isQuirks,
|
||||
|
||||
@@ -61,7 +63,7 @@ dojo.provide("dojo.uacss");
|
||||
html.className = d.trim(html.className + " " + classStr);
|
||||
|
||||
// If RTL mode, then add dj_rtl flag plus repeat existing classes with -rtl extension.
|
||||
// We can't run the code below until the <body> tag has loaded (so we can check for dir=rtl).
|
||||
// We can't run the code below until the <body> tag has loaded (so we can check for dir=rtl).
|
||||
// Unshift() is to run sniff code before the parser.
|
||||
dojo._loaders.unshift(function(){
|
||||
if(!dojo._isBodyLtr()){
|
||||
|
||||
Reference in New Issue
Block a user