]> git.r.bdr.sh - rbdr/cologne/blobdiff - lib/cobalt.js
Uses slice instead of splice now
[rbdr/cologne] / lib / cobalt.js
index e1f4beab731fc77f607324a4d24b37db74cde133..9f7f6c08a0dfc6dcac8bb29b032de8c4c2b42786 100644 (file)
       },
 
       log : function () {
-        this._log.apply(this, [7].concat([].splice.call(arguments, 0)));
+        this._log.apply(this, [7].concat(Array.prototype.slice.call(arguments)));
       },
 
       debug : function () {
       },
 
       info : function () {
-        this._log.apply(this, [6].concat([].splice.call(arguments, 0)));
+        this._log.apply(this, [6].concat(Array.prototype.slice.call(arguments)));
       },
 
       notice : function () {
-        this._log.apply(this, [5].concat([].splice.call(arguments, 0)));
+        this._log.apply(this, [5].concat(Array.prototype.slice.call(arguments)));
       },
 
       warn : function () {
-        this._log.apply(this, [4].concat([].splice.call(arguments, 0)));
+        this._log.apply(this, [4].concat(Array.prototype.slice.call(arguments)));
       },
 
       error : function () {
-        this._log.apply(this, [3].concat([].splice.call(arguments, 0)));
+        this._log.apply(this, [3].concat(Array.prototype.slice.call(arguments)));
       },
 
       dir : function () {