Skip to content
Browse files

compiled

  • Loading branch information...
1 parent f83638d commit 04a45fb65d1454507e5934f0cd59f6f1e230c620 @vogievetsky committed Mar 23, 2012
Showing with 8 additions and 13 deletions.
  1. +8 −13 dvl.js
View
21 dvl.js
@@ -29,16 +29,15 @@ function lift(fn) {
return fn.apply(null, args);
};
}
-;var clipId, debug, dvl, dvl_get, dvl_op, fn, k, op_to_lift, _ref;
+;
+var clipId, debug, dvl, dvl_get, dvl_op, fn, k, op_to_lift, _ref;
var __slice = Array.prototype.slice, __indexOf = Array.prototype.indexOf || function(item) {
for (var i = 0, l = this.length; i < l; i++) {
if (this[i] === item) return i;
}
return -1;
};
-if ((_ref = Array.prototype.filter) != null) {
- _ref;
-} else {
+if ((_ref = Array.prototype.filter) == null) {
Array.prototype.filter = function(fun, thisp) {
var res, val, _i, _len;
if (typeof fun !== 'function') {
@@ -53,7 +52,7 @@ if ((_ref = Array.prototype.filter) != null) {
}
return res;
};
-};
+}
debug = function() {
if (!(typeof console !== "undefined" && console !== null ? console.log : void 0)) {
return;
@@ -2990,11 +2989,9 @@ dvl.compare = function(acc, reverse) {
compareList = [sortOn, sortDir];
for (_i = 0, _len = columns.length; _i < _len; _i++) {
c = columns[_i];
- if ((_ref3 = c.sortable) != null) {
- _ref3;
- } else {
+ if ((_ref3 = c.sortable) == null) {
c.sortable = true;
- };
+ }
if (c.sortable) {
if (c.compare != null) {
comp = dvl.wrapConstIfNeeded(c.compare);
@@ -3348,11 +3345,9 @@ dvl.compare = function(acc, reverse) {
sparkline: function(_arg) {
var height, padding, width, x, y;
width = _arg.width, height = _arg.height, x = _arg.x, y = _arg.y, padding = _arg.padding;
- if (padding != null) {
- padding;
- } else {
+ if (padding == null) {
padding = 0;
- };
+ }
return function(selection, value) {
var dataFn, lineFn, svg;
lineFn = dvl.apply({

0 comments on commit 04a45fb

Please sign in to comment.
Something went wrong with that request. Please try again.