diff --git a/jsketch.svg.js b/jsketch.svg.js index 624810f..cf852f4 100644 --- a/jsketch.svg.js +++ b/jsketch.svg.js @@ -239,7 +239,7 @@ var contents = build(); callback(contents); } else { - console.info('Waiting for queue to be empty:', asyncQueue); + console.info('Waiting for %s async operations to be finished ...', asyncOps); } } diff --git a/sketchable.js b/sketchable.js index 379d403..a0fb70a 100644 --- a/sketchable.js +++ b/sketchable.js @@ -268,6 +268,8 @@ // User has not defined this event, so attach our listener. options.events[evName] = listener; } + + return this; }, };