Skip to content

Commit

Permalink
Pass object instead of string if no data passed. Otherwise consolidat…
Browse files Browse the repository at this point in the history
…e script brokes
  • Loading branch information
karlisup committed Sep 24, 2018
1 parent d7e6c67 commit 00a1ab2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ProcessComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function ProcessComponent (opts) {
this._opts = opts
// template & demo related
this._info = '' // 1 Markdown file content
this._data = '' // 1 Demo data file content
this._data = {} // 1 Demo data file content
this._templates = [] // Multiple template file contents
this._demos = [] // Multiple demo (template) file contents
this._processedTemplates = [] // Multiple processed files with data
Expand Down

0 comments on commit 00a1ab2

Please sign in to comment.