projects
/
dygraphs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Refactoring to fix stacked graphs with NaNs.
[dygraphs.git]
/
auto_tests
/
tests
/
Proxy.js
diff --git
a/auto_tests/tests/Proxy.js
b/auto_tests/tests/Proxy.js
index
5c03dc6
..
852009e
100644
(file)
--- a/
auto_tests/tests/Proxy.js
+++ b/
auto_tests/tests/Proxy.js
@@
-38,7
+38,7
@@
var Proxy = function(delegate) {
function makeFunc(name) {
return function() {
this.log__(name, arguments);
function makeFunc(name) {
return function() {
this.log__(name, arguments);
- this.delegate__[name].apply(this.delegate__, arguments);
+
return
this.delegate__[name].apply(this.delegate__, arguments);
}
};
this[propname] = makeFunc(propname);
}
};
this[propname] = makeFunc(propname);
@@
-71,4
+71,3
@@
Proxy.prototype.log__ = function(name, args) {
var call = { name : name, args : args, properties: properties };
this.calls__.push(call);
};
var call = { name : name, args : args, properties: properties };
this.calls__.push(call);
};
-