Hello,

I want re-organize the jquery namespace into a more meaningful
namespace, but I can't make it success, e.g.

<html>
<head>
<script src="jquery-1.2.1.pack.js"></script>
<script>
        var company = {};
        var company.animation = {}; // Why this didn't work?
        company.query = jQuery.noConflict(true);
</script>
</head>

<body>

<script>
        company.query (
                function() {
                        alert('test');
                }
        );
</script>

</body></html>


If I removed the `var company.animation ..`, then code works but I
don't know what's wrong with it...

Reply via email to