Skip to content

Commit

Permalink
compiled
Browse files Browse the repository at this point in the history
  • Loading branch information
vogievetsky committed Mar 23, 2012
1 parent f83638d commit 04a45fb
Showing 1 changed file with 8 additions and 13 deletions.
21 changes: 8 additions & 13 deletions dvl.js
Original file line number Diff line number Diff line change
Expand Up @@ -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') {
Expand All @@ -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;
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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({
Expand Down

0 comments on commit 04a45fb

Please sign in to comment.