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

Commit

Permalink
patch for strong-globalize
Browse files Browse the repository at this point in the history
  • Loading branch information
igorklopov committed Aug 13, 2017
1 parent 62b4895 commit ae0f9ce
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dictionary/strong-globalize.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
'use strict';

module.exports = {
pkg: {
patches: {
'lib/translate.js': [
'path.join(__dirname, \'local-credentials.json\')',
'require.resolve(\'./local-credentials.json\')'
]
}
}
};
1 change: 1 addition & 0 deletions test/test-79-npm/strong-globalize/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{ "private": true }
6 changes: 6 additions & 0 deletions test/test-79-npm/strong-globalize/strong-globalize.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
'use strict';

var SG = require('strong-globalize');
if (typeof SG.SetRootDir === 'function') {
console.log('ok');
}

0 comments on commit ae0f9ce

Please sign in to comment.