diff options
author | xue <> | 2006-04-27 13:11:53 +0000 |
---|---|---|
committer | xue <> | 2006-04-27 13:11:53 +0000 |
commit | b101ef9ccea43acdc62d418b565c0aae37baf943 (patch) | |
tree | 06e59535e9194045d0946d855ee90ec256b6a4a0 | |
parent | 77154dc44ced0653f585a33fdea937e09abc29ea (diff) |
updated js version.
-rw-r--r-- | framework/Web/Javascripts/js/prado.js | 10 | ||||
-rw-r--r-- | framework/Web/Javascripts/prado/prado.js | 16 |
2 files changed, 13 insertions, 13 deletions
diff --git a/framework/Web/Javascripts/js/prado.js b/framework/Web/Javascripts/js/prado.js index 423ca0bd..394d5eeb 100644 --- a/framework/Web/Javascripts/js/prado.js +++ b/framework/Web/Javascripts/js/prado.js @@ -1803,9 +1803,9 @@ var newdate=new Date(year,month-1,date, 0, 0, 0); return newdate; } }); -var Prado = -{ -Version: '3.0', +var Prado = +{ +Version: '3.0.0', Browser : function() { var info = { Version : "1.0" }; @@ -1830,11 +1830,11 @@ info.opera7 = ( ( info.agent.toLowerCase().indexOf( 'opera 7' ) > -1 ) || ( info info.operaOld = info.opera && !info.opera7; return info; }, -ImportCss : function(doc, css_file) +ImportCss : function(doc, css_file) { if (Prado.Browser().ie) var styleSheet = doc.createStyleSheet(css_file); -else +else { var elm = doc.createElement("link"); elm.rel = "stylesheet"; diff --git a/framework/Web/Javascripts/prado/prado.js b/framework/Web/Javascripts/prado/prado.js index d75c3dda..ad51e2f7 100644 --- a/framework/Web/Javascripts/prado/prado.js +++ b/framework/Web/Javascripts/prado/prado.js @@ -1,8 +1,8 @@ -var Prado =
-{
- Version: '3.0',
-
+var Prado =
+{
+ Version: '3.0.0',
+
/**
* Returns browser information. Example
* <code>
@@ -36,12 +36,12 @@ var Prado = info.operaOld = info.opera && !info.opera7;
return info;
},
-
- ImportCss : function(doc, css_file)
+
+ ImportCss : function(doc, css_file)
{
if (Prado.Browser().ie)
var styleSheet = doc.createStyleSheet(css_file);
- else
+ else
{
var elm = doc.createElement("link");
@@ -51,5 +51,5 @@ var Prado = if (headArr = doc.getElementsByTagName("head"))
headArr[0].appendChild(elm);
}
- }
+ }
};
|