mirror of
https://github.com/meteor/meteor.git
synced 2026-01-11 00:28:02 -05:00
Modernize meteor-developer-config-ui package
- Bumped patch version number 1.0.0 -> 1.0.1 - ES6 syntax and shorthand applied - Adjusted configuration instructions
This commit is contained in:
@@ -6,13 +6,13 @@
|
||||
<ol>
|
||||
<li> Visit <a href="https://www.meteor.com/account-settings" target="_blank">https://www.meteor.com/account-settings</a> and sign in.
|
||||
</li>
|
||||
<li> Click "New app" in the "Meteor developer account apps" section
|
||||
<li> Click "NEW APPLICATION" in the "Meteor Account Services" section
|
||||
and give your app a name.</li>
|
||||
<li> Add
|
||||
<span class="url">
|
||||
{{siteUrl}}_oauth/meteor-developer
|
||||
</span>
|
||||
as an Allowed Redirect URL.
|
||||
as the Redirect URL.
|
||||
</li>
|
||||
</ol>
|
||||
</template>
|
||||
|
||||
@@ -1,12 +1,8 @@
|
||||
Template.configureLoginServiceDialogForMeteorDeveloper.helpers({
|
||||
siteUrl: function () {
|
||||
return Meteor.absoluteUrl();
|
||||
}
|
||||
siteUrl: () => Meteor.absoluteUrl(),
|
||||
});
|
||||
|
||||
Template.configureLoginServiceDialogForMeteorDeveloper.fields = function () {
|
||||
return [
|
||||
{property: 'clientId', label: 'App ID'},
|
||||
{property: 'secret', label: 'App secret'}
|
||||
];
|
||||
};
|
||||
Template.configureLoginServiceDialogForMeteorDeveloper.fields = () => [
|
||||
{property: 'clientId', label: 'App ID'},
|
||||
{property: 'secret', label: 'App secret'}
|
||||
];
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
Package.describe({
|
||||
summary: 'Blaze configuration templates for the Meteor developer accounts OAuth.',
|
||||
version: '1.0.0'
|
||||
version: '1.0.1'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
Package.onUse(api => {
|
||||
api.use('ecmascript', 'client');
|
||||
api.use('templating@1.2.13', 'client');
|
||||
api.addFiles('meteor_developer_login_button.css', 'client');
|
||||
api.addFiles(
|
||||
|
||||
Reference in New Issue
Block a user