mrdoob/three.js — pull request #2670 by MiiBond (2012-11-22 22:47:14+00:00)
Title: Added support for loading cubemap DDS textures.

Right now, if the DDS data is a cubemap, the code is hardcoded to load 6 faces. This could be made more robust by checking DDSCAPS2_CUBEMAP_POSITIVEX, etc. to verify that all 6 faces exist before reading the data from the buffer.
I also did a quick update of the webgl_materials_texture_compressed example to load a cube DDS.