Skip to content

Commit

Permalink
Fixed soulwire#43 where including the script in the head of the docum…
Browse files Browse the repository at this point in the history
…ent meant that is and an error is thrown when creating a new Sketch without a container
  • Loading branch information
soulwire committed Jul 11, 2013
1 parent bf5bf7f commit f6c255d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion js/sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -498,7 +498,7 @@ var Sketch = (function() {

})();

options.container.appendChild( element );
( options.container || doc.body ).appendChild( element );

return Sketch.augment( context, options );
},
Expand Down
2 changes: 1 addition & 1 deletion js/sketch.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f6c255d

Please sign in to comment.