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
Expand Up @@ -29,16 +29,15 @@ function lift(fn) {
return fn.apply(null, args); 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) { var __slice = Array.prototype.slice, __indexOf = Array.prototype.indexOf || function(item) {
for (var i = 0, l = this.length; i < l; i++) { for (var i = 0, l = this.length; i < l; i++) {
if (this[i] === item) return i; if (this[i] === item) return i;
} }
return -1; return -1;
}; };
if ((_ref = Array.prototype.filter) != null) { if ((_ref = Array.prototype.filter) == null) {
_ref;
} else {
Array.prototype.filter = function(fun, thisp) { Array.prototype.filter = function(fun, thisp) {
var res, val, _i, _len; var res, val, _i, _len;
if (typeof fun !== 'function') { if (typeof fun !== 'function') {
Expand All @@ -53,7 +52,7 @@ if ((_ref = Array.prototype.filter) != null) {
} }
return res; return res;
}; };
}; }
debug = function() { debug = function() {
if (!(typeof console !== "undefined" && console !== null ? console.log : void 0)) { if (!(typeof console !== "undefined" && console !== null ? console.log : void 0)) {
return; return;
Expand Down Expand Up @@ -2990,11 +2989,9 @@ dvl.compare = function(acc, reverse) {
compareList = [sortOn, sortDir]; compareList = [sortOn, sortDir];
for (_i = 0, _len = columns.length; _i < _len; _i++) { for (_i = 0, _len = columns.length; _i < _len; _i++) {
c = columns[_i]; c = columns[_i];
if ((_ref3 = c.sortable) != null) { if ((_ref3 = c.sortable) == null) {
_ref3;
} else {
c.sortable = true; c.sortable = true;
}; }
if (c.sortable) { if (c.sortable) {
if (c.compare != null) { if (c.compare != null) {
comp = dvl.wrapConstIfNeeded(c.compare); comp = dvl.wrapConstIfNeeded(c.compare);
Expand Down Expand Up @@ -3348,11 +3345,9 @@ dvl.compare = function(acc, reverse) {
sparkline: function(_arg) { sparkline: function(_arg) {
var height, padding, width, x, y; var height, padding, width, x, y;
width = _arg.width, height = _arg.height, x = _arg.x, y = _arg.y, padding = _arg.padding; width = _arg.width, height = _arg.height, x = _arg.x, y = _arg.y, padding = _arg.padding;
if (padding != null) { if (padding == null) {
padding;
} else {
padding = 0; padding = 0;
}; }
return function(selection, value) { return function(selection, value) {
var dataFn, lineFn, svg; var dataFn, lineFn, svg;
lineFn = dvl.apply({ lineFn = dvl.apply({
Expand Down

0 comments on commit 04a45fb

Please sign in to comment.