Browse Source

exported AddLocationAttribute so that it can be used in other extensions

main
Youen Toupin 3 years ago
parent
commit
89db44584e
  1. 2
      js/dist/forum.js
  2. 2
      js/dist/forum.js.map
  3. 4
      js/src/forum/index.js
  4. 2
      js/tsconfig.json

2
js/dist/forum.js vendored

File diff suppressed because one or more lines are too long

2
js/dist/forum.js.map vendored

File diff suppressed because one or more lines are too long

4
js/src/forum/index.js

@ -62,3 +62,7 @@ app.initializers.add('justoverclock/users-map-location', () => {
items.add('location', <AddLocationComponent />); items.add('location', <AddLocationComponent />);
}); });
}); });
export {
AddLocationComponent
}

2
js/tsconfig.json

@ -1,6 +1,6 @@
{ {
"extends": "flarum-tsconfig", "extends": "flarum-tsconfig",
"include": ["src/**/*"], "include": ["src/**/*", "../vendor/flarum/core/js/dist-typings/@types/**/*"],
"compilerOptions": { "compilerOptions": {
"declarationDir": "./dist-typings", "declarationDir": "./dist-typings",
"baseUrl": ".", "baseUrl": ".",

Loading…
Cancel
Save