Skip to content

Commit

Permalink
Merge pull request #4 from taxilian/master
Browse files Browse the repository at this point in the history
Fix for .pipe method after the update to 1.7
  • Loading branch information
ryanstevens committed Jan 5, 2012
2 parents 57912b7 + abb9603 commit 45bc4df
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
@@ -1,6 +1,9 @@
(function(define){
define([], function(){

var forEach = Array.prototype.forEach;
var hasOwn = Object.prototype.hasOwnProperty;
var breaker = {};
var isArray = function( elem ) {
return typeof elem === "object" && elem instanceof Array;
};
Expand Down Expand Up @@ -274,7 +277,7 @@
done: [ fnDone, "resolve" ],
fail: [ fnFail, "reject" ],
progress: [ fnProgress, "notify" ]
}, function( handler, data ) {
}, function( data, handler ) {
var fn = data[ 0 ],
action = data[ 1 ],
returned;
Expand Down

0 comments on commit 45bc4df

Please sign in to comment.