Skip to content

Commit

Permalink
Fixed issue #1
Browse files Browse the repository at this point in the history
  • Loading branch information
josephg committed Jan 16, 2012
1 parent f84e013 commit 7d9068c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
8 changes: 4 additions & 4 deletions cp.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@ Object.create = Object.create || function(o) {
var cp;
if(typeof exports === 'undefined'){
cp = {};

if(typeof window === 'object'){
window.cp = cp;
}
} else {
cp = exports;
}

if(typeof window === 'object'){
window.cp = cp;
}

var assert = function(value, message)
{
if (!value) {
Expand Down
Loading

0 comments on commit 7d9068c

Please sign in to comment.