YUI({
    // We can specify a node that is the insertion point for all new nodes.  This
    // is useful for making sure css rules are applied in the correct order.
    //insertBefore: 'styleoverrides',

    // This lets you define one or more external modules that will be added to
    // the YUI metadata.  You can define dependency relationships between your
    // modules and also between your modules and YUI modules.  Here we are
    // defining 2.x calendar components as external modules.  See
    // <a href="http://developer.yahoo.com/3.x/api/Loader.html#method_addModule">
    // the API docs</a> for a complete list of module configuration options.
    modules: {        
        'yui2-container-full': {
            fullpath: "http://yui.yahooapis.com/combo?2.8.0r4/build/utilities/utilities.js&2.8.0r4/build/button/button-min.js&2.8.0r4/build/container/container-min.js"
        },
        'yui2-buttoncss': {
            fullpath: 'http://yui.yahooapis.com/2.8.0r4/build/button/assets/skins/sam/button.css',
            type: 'css'
        },
        'yui2-containercss': {
            fullpath: "http://yui.yahooapis.com/2.8.0r4/build/container/assets/skins/sam/container.css",
            type: 'css'
        },
        'ied-inlineedit-css': {
            fullpath: "/css/editor.css",
            type: 'css'
        },
        'ied-inlineedit': {
            fullpath: "/js/editor.js",
            requires: ['ied-inlineedit-css', 'event-delegate', 'json-parse', 'io-base', 'yui2-yde', 'yui2-buttoncss', 'yui2-containercss', 'yui2-container-full']
        }
    },

    combine: true,

    // Give up if any single node request takes more than 10 seconds.
    timeout: 10000


}).use('ied-inlineedit', function(Y, result) {
    if (!result.success) {

        Y.log('Load failure: ' + result.msg, 'warn', 'Example');

    } else {

        InlineEditor.init(Y);

    }
});


YUI().use('node', 'io-base', 'json', 'event', 'anim', function(Y)
{


    keyword = Y.all('#search');
    Y.log(keyword);

    Y.on("click", function(e){

        targetkey = e.target;

        targetkey = targetkey.set('value','');

    }, keyword);

});
