Commits

Michel Albert  committed ab7d607

Minor code simplification.

  • Participants
  • Parent commits d0be1d7

Comments (0)

Files changed (3)

File foldable/layout.html

     {{ super() }}
     <script type="text/javascript">
         var folder = new SphinxFolding();
-        folder.init();
     </script>
 {% endblock%}
 {# {% endif %} #}

File js/sphinx-folding.js

  * @constructor
  */
 SphinxFolding = function() {
-  // empty constructor
-};
-
-
-SphinxFolding.prototype.init = function() {
   goog.require('goog.debug.FancyWindow');
   if (goog.DEBUG) {
     var debugWindow = new goog.debug.FancyWindow('main');

File plovr-config.js

 {
     "id": "dev",
     "inputs": "js/sphinx-folding.js",
-    "mode": "RAW",
+    "mode": "SIMPLE",
     "level": "VERBOSE",
     "output-file": "foldable/static/foldable.js",
     "define": {
-        "goog.DEBUG": true
+        "goog.DEBUG": false
     }
 }