Index: trunk/FACT++/scripts/doc/Local.js
===================================================================
--- trunk/FACT++/scripts/doc/Local.js	(revision 14699)
+++ trunk/FACT++/scripts/doc/Local.js	(revision 14704)
@@ -75,24 +75,27 @@
      */
     this.toSky = function() { /* [native code] */ }
+}
 
-    /**
-     * Calculate the distance between two celestial sky positions.
-     *
-     * The distance between this object and the provided celestial
-     * position on the sky is calculated. The returned value
-     * is an absolute distance (angle) between the two positions.
-     *
-     * @constant
-     *
-     * @param {Local} local
-     *     Celestial coordinates to which the distance on the sky
-     *     should be calculated. In principle every object with
-     *     the properties 'zd' and 'az' can be provided.
-     * @param {Number} local.zd Zenith distance of the object
-     * @param {Number} local.az Azimuth of the object
-     *
-     * @returns {Number}
-     *     Absolute distance between both positions on the sky in degrees.
+/**
+ * Calculate the distance between two celestial sky positions.
+ *
+ * The distance between the two provided objects is calculated.
+ * The returned value is an absolute distance (angle) between
+ * the two positions.
+ *
+ * @constant
+ *
+ * @param {Local} local1
+ *     Celestial coordinates for one of the two objects for which
+ *     the distance on the sky should be calculated. In principle
+ *     every object with the properties 'zd' and 'az' can be provided.
+ *
+ * @param {Local} local2
+ *     Celestial coordinates for one of the two objects for which
+ *     the distance on the sky should be calculated. In principle
+ *     every object with the properties 'zd' and 'az' can be provided.
+ *
+ * @returns {Number}
+ *     Absolute distance between both positions on the sky in degrees.
      */
-    this.dist = function() { /* [native code] */}
-}
+Local.dist = function() { /* [native code] */}
Index: trunk/FACT++/scripts/doc/Sky.js
===================================================================
--- trunk/FACT++/scripts/doc/Sky.js	(revision 14699)
+++ trunk/FACT++/scripts/doc/Sky.js	(revision 14704)
@@ -73,2 +73,25 @@
 }
 
+/**
+ * Calculate the distance between two sky positions.
+ *
+ * The distance between the two provided objects is calculated.
+ * The returned value is an absolute distance (angle) between
+ * the two positions.
+ *
+ * @constant
+ *
+ * @param {Sky} sky1
+ *     Celestial coordinates for one of the two objects for which
+ *     the distance on the sky should be calculated. In principle
+ *     every object with the properties 'ra' and 'dec' can be provided.
+ *
+ * @param {Sky} sky2
+ *     Celestial coordinates for one of the two objects for which
+ *     the distance on the sky should be calculated. In principle
+ *     every object with the properties 'ra' and 'dec' can be provided.
+ *
+ * @returns {Number}
+ *     Absolute distance between both positions on the sky in degrees.
+ */
+Sky.dist = function() { /* [native code] */}
