Ext2.ns('Kwf.Utils');
/*
    By Osvaldas Valutis, www.osvaldas.info
    Available for use under the MIT License
*/
Kwf.Utils.DoubleTapToGo = function(el, params) {
    if (!('ontouchstart' in window) &&
        !navigator.msMaxTouchPoints &&
        !navigator.userAgent.toLowerCase().match( /windows phone os 7/i )
    ) return false;

    var applyOnEl = function(el, params) {
        var curItem = false;
        $(el).on('click', function(e) {
            var item = $(this);
            if(item[0] != curItem[0]) {
                e.preventDefault();
                curItem = item;
            }
        });

        $(document).on('click touchstart MSPointerDown', function(e) {
            var resetItem = true;
            var parents = $( e.target ).parents();
            for (var i = 0; i < parents.length; i++) {
                if (parents[i] == curItem[0]) {
                    resetItem = false;
                    if (params && params.onopen) {
                        params.onopen.call(this, e, curItem);
                    }
                }
            }
            if (resetItem) curItem = false;
        });
    };

    if (el instanceof jQuery) {
        applyOnEl(el, params);
    } else {
        Kwf.onJElementReady(el, Kwf.Utils.DoubleTapToGo);
    }
};

@@ -1,11 +1,17 @@
-Ext2.ns
+Kwf.namespace
 ('Kw

Correct namespace in DoubleTapToGo Util