Returns an instance of the window as a cached jQuery object.


Clique.$win.on('load', function() {
    // Excecute window.load event handler...

Accessing cached objects

Even though it's a cached object, accessing properties and utilizing methods of .$win will return information from the object at the time of execution.


;(function(clique) {
    var loadWidth, widthAfterResize;
    clique.$win.on('load', function() {
        // Get the width of the window on load:
        loadWidth = clique.$win.width();

    clique.$win.on('resizeend.clique.dom', function() {
        // Get the width of the window after it has been resized
        widthAfterResize = clique.$win.width();