Hello everyone:

I am very happy that Mootools 1.3 has released! Thank all the guys in
Mootools dev Team! Thank you all very much!

I am a Mootools Crazy Boy, because I really like it very much!

Now, I want to ask a question about Mootools. And I hope that Mootools Dev
Team can give me an answer. Thank you .

Mootools 1.3, Code as follow:

*var ua = navigator.userAgent.toLowerCase(),
    platform = navigator.platform.toLowerCase(),
    UA =
ua.match(/(opera|ie|firefox|chrome|version)[\s\/:]([\w\d\.]+)?.*?(safari|version[\s\/:]([\w\d\.]+)|$)/)
|| [null, 'unknown', 0],
    mode = UA[1] == 'ie' && document.documentMode;*

Campare to Mootools 1.2, Code as follow:

*Engines: {
        presto: function(){
            return (!window.opera) ? false : ((arguments.callee.caller) ?
960 : ((document.getElementsByClassName) ? 950 : 925));
        },
        trident: function(){
            return (!window.ActiveXObject) ? false :
((window.XMLHttpRequest) ? ((document.querySelectorAll) ? 6 : 5) : 4);
        },
        webkit: function(){
            return (navigator.taintEnabled) ? false :
((Browser.Features.xpath) ? ((Browser.Features.query) ? 525 : 420) : 419);
        },
        gecko: function(){
            return (!document.getBoxObjectFor && window.mozInnerScreenX ==
null) ? false : ((document.getElementsByClassName) ? 19 : 18);
        }
    }*


I can Not understand why Mootools change the STYLE that detected the Broswer
engine.....

In Mootools 1.2, I am really admire the code especially the Broswer
detect.....We all know, that are not only five broswers all over the world,
and in China, there are a lot of Broswers based on IE core but use that
diffierent name. Now, it is deprecated.....

That anyone could give me a reason that can persuade me to accept that new
code ??

Thank you....

I just hope that Mootools will be the best.....

Thank you .....




-- 
--------------------------------------------------------------------
HengZhou
---------------------------------------------------------------------
--

Reply via email to