Skip to content
This repository
  • 2 commits
  • 1 file changed
  • 0 comments
  • 1 contributor

Showing 1 changed file with 14 additions and 4 deletions. Show diff stats Hide diff stats

  1. 18  media/src/js/dfxp/dfxp.js
18  media/src/js/dfxp/dfxp.js
@@ -17,7 +17,9 @@
17 17
 // http://www.gnu.org/licenses/agpl-3.0.html.
18 18
 
19 19
 var DFXP = function(DFXP) {
20  
-    // A utility for working with DFXP subs.
  20
+    /*
  21
+     * A utility for working with DFXP subs.
  22
+     */
21 23
 
22 24
     var that = this;
23 25
 
@@ -31,11 +33,16 @@ var DFXP = function(DFXP) {
31 33
 
32 34
     };
33 35
 
  36
+    // Helper methods.
34 37
     this.utils = {
35  
-        // Helper methods.
36 38
 
37  
-        // Convert an XML document to a string.
38 39
         xmlToString: function(xml) {
  40
+            /*
  41
+             * Convert an XML document to a string.
  42
+             * Accepts: document object (XML tree)
  43
+             * Returns: string
  44
+             */
  45
+
39 46
             var xmlString;
40 47
 
41 48
             // For Internet Explorer.
@@ -53,7 +60,10 @@ var DFXP = function(DFXP) {
53 60
     };
54 61
 
55 62
     this.changesMade = function() {
56  
-        // Check to see if any changes have been made to the working XML.
  63
+        /*
  64
+         * Check to see if any changes have been made to the working XML.
  65
+         * Returns: true || false
  66
+         */
57 67
 
58 68
         var oString = that.utils.xmlToString(that.$o.get(0));
59 69
         var wString = that.utils.xmlToString(that.$w.get(0));

No commit comments for this range

Something went wrong with that request. Please try again.