Skip to content

Commit

Permalink
add source for THREE.extend method.
Browse files Browse the repository at this point in the history
  • Loading branch information
bhouston committed Jan 17, 2013
1 parent e2df06e commit baa928e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Three.js
Expand Up @@ -45,7 +45,7 @@ String.prototype.trim = String.prototype.trim || function () {

};


// based on http://stackoverflow.com/a/12317051
THREE.extend = function ( target, other ) {

target = target || {};
Expand All @@ -65,7 +65,7 @@ THREE.extend = function ( target, other ) {
}

return target;

};

// http://paulirish.com/2011/requestanimationframe-for-smart-animating/
Expand Down

0 comments on commit baa928e

Please sign in to comment.