Skip to content
This repository was archived by the owner on Jan 22, 2018. It is now read-only.

Commit 56b4b13

Browse files
author
Kamil Kisiela
committed
Fix templates urls of components
1 parent e5afca1 commit 56b4b13

File tree

2 files changed

+19
-14
lines changed

2 files changed

+19
-14
lines changed

lib/client/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function formlyMaterial() {
1111
var self = this;
1212

1313
this.templateUrl = function (templateUrl) {
14-
return 'mys_angular-formly-templates-material_' + templateUrl.replace(/^\//, "");
14+
return '/packages/wieldo:angular-formly-templates-material/' + templateUrl.replace(/^\//, "");
1515
};
1616

1717
this.$get = function () {

package.js

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -13,23 +13,28 @@ Package.describe({
1313

1414
Package.onUse(function (api) {
1515

16-
var packages = [
17-
18-
19-
20-
21-
'angular:[email protected]',
22-
'angular:[email protected]',
23-
'angular:[email protected]',
24-
'pbastowski:[email protected]',
25-
'pbastowski:[email protected]'
26-
];
16+
var packages = {
17+
use: [
18+
19+
20+
21+
'pbastowski:[email protected]',
22+
'pbastowski:[email protected]',
23+
24+
],
25+
imply: [
26+
'angular:[email protected]',
27+
'angular:[email protected]',
28+
'angular:[email protected]',
29+
30+
]
31+
};
2732

2833
api.versionsFrom("[email protected]");
2934

30-
api.use(packages);
35+
api.use(packages.use);
3136

32-
api.imply(packages);
37+
api.imply(packages.imply);
3338

3439
api.addFiles([
3540
'lib/client/main.js',

0 commit comments

Comments
 (0)