lib/loaders/RouteLoader.js
function(newRoutes)
    {
        for(var key in newRoutes)
        {
            if(routes.hasOwnProperty(key))
            {
                if(typeof routes[key] == 'Array')
                {
                    routes[key].push(newRoutes[key]);
                }
                else
                {
                    routes[key] = [routes[key],newRoutes[key]];
                }
            }
            else
            {
                routes[key] = newRoutes[key];
            }
        }
    }
function(newRoutes)
    {
        for(var key in newRoutes)
        {
            if(routes.hasOwnProperty(key))
            {
                if(typeof routes[key] == 'Array')
                {
                    routes[key].push(newRoutes[key]);
                }
                else
                {
                    routes[key] = [routes[key],newRoutes[key]];
                }
            }
            else
            {
                routes[key] = newRoutes[key];
            }
        }
    }
function ( newRoutes ) { for ( var key in newRoutes ) { if ( routes . hasOwnProperty ( key ) ) { if ( typeof routes [ key ] == 'Array' ) { routes [ key ] . push ( newRoutes [ key ] ) ; } else { routes [ key ] = [ routes [ key ] , newRoutes [ key ] ] ; } } else { routes [ key ] = newRoutes [ key ] ; } } }
define route merge method
define route merge method