Skip to content

Commit

Permalink
Merge pull request #214 from marcelpanse/master
Browse files Browse the repository at this point in the history
Thanks :)
  • Loading branch information
thednp authored May 11, 2018
2 parents 1135528 + edb6203 commit 1d8c4a0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build-module-v4.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = (options) => {

function wrap(main) {
var utils = fs.readFileSync(`${libPath}/V4/utils.js`, 'utf8').split('\n').join('\n ');
var init = fs.readFileSync(`${libPath}/V4/utils-init.js`, 'utf8').split('\n').join('\n ');
var init = options.autoInitDataAPI === false ? '' : options.noInitDataAPI ? '' : fs.readFileSync(`${libPath}/V4/utils-init.js`, 'utf8').split('\n').join('\n ');
main = main.split('\n').join('\n ');
// Initialize arrays:
// Arrays will be used in the template literal below
Expand Down
2 changes: 1 addition & 1 deletion build-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ module.exports = (options) => {

function wrap(main) {
var utils = fs.readFileSync(`${libPath}/V3/utils.js`, 'utf8').split('\n').join('\n ');
var init = fs.readFileSync(`${libPath}/V3/utils-init.js`, 'utf8').split('\n').join('\n ');
var init = options.autoInitDataAPI === false ? '' : fs.readFileSync(`${libPath}/V3/utils-init.js`, 'utf8').split('\n').join('\n ');
main = main.split('\n').join('\n ');
// Initialize arrays:
// Arrays will be used in the template literal below
Expand Down

0 comments on commit 1d8c4a0

Please sign in to comment.