Commits

Rune Halvorsen  committed 8dfa6c1

whitespace cleanup

  • Participants
  • Parent commits 7553e7a

Comments (0)

Files changed (1)

File src/debug/build_debug.js

 
 cls.debug.guess_message_map = function()
 {
-  var 
-  service = '', 
-  versions = null, 
-  version_arr = null, 
-  version = '', 
+  var
+  service = '',
+  versions = null,
+  version_arr = null,
+  version = '',
   re_version = /^\d+\.\d+$/;
 
   for(service in window.message_maps)
 {
   window.ini.debug = true;
   cls.debug.guess_message_map();
-  window.cls.TestFramework.prototype = ViewBase; 
-  cls.debug.Debug.prototype = 
-  window.cls.debug.TestScopeMessages.prototype = 
+  window.cls.TestFramework.prototype = ViewBase;
+  cls.debug.Debug.prototype =
+  window.cls.debug.TestScopeMessages.prototype =
   new window.cls.TestFramework();
   window.debug = new cls.debug.Debug('debug', 'Debug', 'scroll debug-container');
   new cls.debug.ConfigureMessgeFilters(
   eventHandlers.change['test-messages'] = test_messages.get_bound_change_handler();
   new CompositeView('debug_new', 'Debug', {
       dir: 'v', width: 700, height: 700,
-      children: 
+      children:
       [
         { height: 200, tabs: ['debug', 'test-messages'] }
       ]
     });
-  
+
   new Settings
   (
     // id
-    'debug', 
+    'debug',
     // kel-value map
     {
       'show-as-tab': true,
       'pretty-print-messages': true
-    }, 
+    },
     // key-label map
     {
       'show-as-tab': 'Show view in a tab',
 
   eventHandlers.change['config-filter-msg'] = function(event, target)
   {
-    var 
+    var
     parent = event.target.parentNode.parentNode.parentNode,
     msg = event.target.getAttribute('data-filter-target'),
     type = parent.getAttribute('data-filter-type'),
      * Set a cookie named "key" to the value "value" with expiry in "time "
      * seconds. If time is not set, time out after a year
      */
-    this.set = function(key, value, time) 
+    this.set = function(key, value, time)
     {
       document.cookie = (
         key + "=" + encodeURIComponent(value) +
-        "; expires=" + 
-        ( new Date( new Date().getTime() + ( time || 360*24*60*60*1000 ) ) ).toGMTString() + 
+        "; expires=" +
+        ( new Date( new Date().getTime() + ( time || 360*24*60*60*1000 ) ) ).toGMTString() +
         "; path=/");
       return value;
     }
     /**
      * Get a cookie with name "key"
      */
-    this.get = function(key) 
+    this.get = function(key)
     {
       var value = new RegExp(key + "=([^;]*)").exec(document.cookie);
       return value && decodeURIComponent(value[1]);