diff src/implab/components/ConsoleLogChannel.js @ 3:00779cb63b12

formatting
author cin
date Tue, 06 Jun 2017 19:45:32 +0300
parents 93fb6c09f2e1
children
line wrap: on
line diff
--- a/src/implab/components/ConsoleLogChannel.js	Fri Jun 02 19:28:20 2017 +0300
+++ b/src/implab/components/ConsoleLogChannel.js	Tue Jun 06 19:45:32 2017 +0300
@@ -1,30 +1,26 @@
-define(
-    [ "dojo/_base/declare", "../text/format" ],
-    function(declare, format) {
-        return declare(
-            null,
-            {
-                name : null,
+define(["dojo/_base/declare", "../text/format"], function (declare, format) {
+    return declare(null, {
+        name: null,
 
-                constructor : function(name) {
-                    this.name = name;
-                },
+        constructor: function (name) {
+            this.name = name;
+        },
+
+        log: function () {
+            console.log(this._makeMsg(arguments));
+        },
 
-                log : function() {
-                    console.log(this._makeMsg(arguments));
-                },
-
-                warn : function() {
-                    console.warn(this._makeMsg(arguments));
-                },
+        warn: function () {
+            console.warn(this._makeMsg(arguments));
+        },
 
-                error : function() {
-                    console.error(this._makeMsg(arguments));
-                },
+        error: function () {
+            console.error(this._makeMsg(arguments));
+        },
 
-                _makeMsg : function(args) {
-                    return this.name ? this.name + " " +
-                        format.apply(null, args) : format.apply(null, args);
-                }
-            });
-    });
\ No newline at end of file
+        _makeMsg: function (args) {
+            return this.name ? this.name + " " +
+                format.apply(null, args) : format.apply(null, args);
+        }
+    });
+});
\ No newline at end of file