Skip to content

Commit

Permalink
Merge pull request #253 from NullVoxPopuli/addon-upgrades
Browse files Browse the repository at this point in the history
Addon upgrades
  • Loading branch information
MinThaMie authored Feb 24, 2023
2 parents 168511b + 39dea92 commit 3f5e694
Show file tree
Hide file tree
Showing 5 changed files with 8,793 additions and 11,189 deletions.
8 changes: 3 additions & 5 deletions app/helpers/remove-emoji-shortcode.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
import { helper } from '@ember/component/helper';

export default helper(function removeEmojiShortcode(params) {
const label = params[0] ?? '';
export default function removeEmojiShortcode(optionalLabel) {
const label = optionalLabel ?? '';
const labelWithoutShortcode = label.replace(/:(\w+):/g, '');

return labelWithoutShortcode.replace(/\s+/g, ' ').trim();
});
}
5 changes: 5 additions & 0 deletions config/deprecation-workflow.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@

self.deprecationWorkflow = self.deprecationWorkflow || {};
self.deprecationWorkflow.config = {
throwOnUnhandled: true,
workflow: [
{ handler: 'silence', matchId: 'ember.component.reopen' },
{ handler: 'silence', matchId: 'manager-capabilities.modifiers-3-13' },
{
handler: 'silence',
matchId: 'ember-cli-mirage-config-routes-only-export',
},
],
};
Loading

0 comments on commit 3f5e694

Please sign in to comment.