Skip to content

Commit 4f832e2

Browse files
authored
Merge pull request #198 from StorytellerCZ/patch-1
Fix deprecated API use in package.js
2 parents 1811831 + 1acc789 commit 4f832e2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

package.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
summary: "Almost i18n, with standard translations for basic meteor packages.",
3-
version: "2.5.4",
3+
version: "2.5.5",
44
name: "softwarerero:accounts-t9n",
55
git: "https://github.com/softwarerero/meteor-accounts-t9n.git",
66
});
@@ -14,12 +14,12 @@ for (var i = 0; i < LANGUAGES.length; i++) {
1414
FILES.push('build/' + LANGUAGES[i] + '.js');
1515
}
1616

17-
Package.on_use(function (api, where) {
18-
api.add_files(FILES, ['client', 'server']);
17+
Package.onUse(function (api, where) {
18+
api.addFiles(FILES, ['client', 'server']);
1919
api.export('T9n', ['client', 'server']);
2020
});
2121

2222

23-
Package.on_test(function (api) {
24-
api.add_files(FILES, ['client', 'server']);
23+
Package.onTest(function (api) {
24+
api.addFiles(FILES, ['client', 'server']);
2525
});

0 commit comments

Comments
 (0)