code: function( path ) {
        var normalized = [];
        var parts = path.split( '/' );
  
        for( var i = 0; i < parts.length; i++ ) {
           if( parts[i] === '.' ) {
              continue;
           }
  
           if( parts[i] === '..' && normalized.length && normalized[normalized.length - 1] !== '..' ) {
              normalized.pop();
              continue;
           }
  
           normalized.push( parts[i] );
        }
  
        return normalized.join( '/' );
     }
docs: monkey patch requirejs, to use append timestamps to sources to take advantage of karma's heavy caching it would work even without this hack, but with reloading all the files all the time