Skip to content

Commit

Permalink
fixed sketches not showing
Browse files Browse the repository at this point in the history
  • Loading branch information
dethe committed Jul 22, 2012
1 parent cca2472 commit 9092127
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/sketchy.js
Expand Up @@ -29,7 +29,7 @@ jQuery.fn.extend({
this.each(function(){
var self = $(this);
var elem = this;
var lines = $.trim(self.text()).split('\n').slice(2).map(function(item){ return $.trim(item).split(/\s+/);});
var lines = $.trim(self.text()).split('\n').map(function(item){ return $.trim(item).split(/\s+/);});
var w,h;
// get height and width
for (var i = 0; i < lines.length; i++){
Expand Down

0 comments on commit 9092127

Please sign in to comment.