code: function(p) {
          if (typeof p === "undefined") {
              return this.__paths;
          } else {
              if (p.audio) this.__paths.audio = p.audio;
              if (p.images) this.__paths.images = p.images;
          }
      }
docs: @
  #Crafty.paths
  @category Assets
  @kind Method
  
  @sign public void Crafty.paths([Object paths])
  @param paths - Object containing paths for audio and images folders
  
  Function to define custom folder for audio and images. You should use
  this function to avoid typing the same paths again and again when
  loading assets with the Crafty.load() function.
  
  If you do not give a object you get the current paths for both audio
  and images back.
  
  You do not have to define paths.
  
  @example
  
  
  Setting folders:
  ~~~
  Crafty.paths({ audio: "custom/audio/path/", images: "custom/images/path/" });
  
  Crafty.load({
  "audio": {
  "ray": ['ray.mp3'] // This loads ray.mp3 from custom/audio/path/ray.mp3
  }
  }, function() {
  Crafty.log('loaded');
  });
  ~~~
  
  @see Crafty.load