Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
Importer: Hack to make CLI importer usage work.
Browse files Browse the repository at this point in the history
* If anyone could ever explain this!
  • Loading branch information
am11 committed Jan 10, 2015
1 parent 0720fa8 commit ff53926
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ module.exports.render = function(options) {
if (importer) {
options.importer = function(file, prev, key) {
function done(data) {
console.log(data); // ugly hack
binding.importedCallback({
index: key,
objectLiteral: data
Expand Down

0 comments on commit ff53926

Please # to comment.