Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed chaining bug

  • Loading branch information...
commit 40241f943b433fda343de05cce5ae57334b63217 1 parent a3e82a9
@KrisJordan authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 f_underscore.js
View
4 f_underscore.js
@@ -160,6 +160,8 @@
// ### Accessors
// Make a function that will return the specified property when invoked
+ //
+ // // Need to clean up names and process here.
// with an object.
f_.get = function(prop) {
return function(obj) {
@@ -450,7 +452,7 @@
stack.push(f_.get(get));
}
var chained = function() {
- return f_.thread.apply(null, this.stack).apply(this, arguments);
+ return f_.thread.apply(null, stack).apply(this, arguments);
};
chained.stack = stack;
_.extend(chained, oneTimeStorage);
Please sign in to comment.
Something went wrong with that request. Please try again.