Skip to content

Commit

Permalink
Removed some un minified bits
Browse files Browse the repository at this point in the history
  • Loading branch information
Dayjo committed Aug 10, 2013
1 parent 59dfd88 commit b6dbbd2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ There are two versions available, depending on whether you will ever need to joi
First include one of the joint functions in your script
```javascript
// Minified-joint (for more than 2 functions)
function joint(a){var b;b=a[a.length-1];a.pop();a=1<a.length?joint(a):a[0];return function(){b.apply(new a)}};
function joint(a){var b;b=a[a.length-1];a.pop();a=1<a.length?joint(a):a[0];return function(){b.apply(new a)}}
```
or
```javascript
// Minified-joint (for only 2 functions)
function joint(a){return function(){a[1].apply( new a[0]() );};};
function joint(a){return function(){a[1].apply(new a[0])}}
```

Then use it like this;
Expand Down

0 comments on commit b6dbbd2

Please sign in to comment.