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