<script>
YUI.GlobalConfig = {
    modules: {
        'ac-yql-mock': {
            fullpath: '../assets/autocomplete/ac-yql-mock.js',
            requires: [],
            condition: {
                trigger: 'yql',
                when: 'after',
                test: function () {
                    return (window.location.search.match(/[?&]mock=([^&]+)/) || [])[1] === 'true';
                }
            }
        }
    }  
};
</script>
