mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-20 17:32:15 +03:00
983110d931
no issue - add eslint-plugin-ember, configure no-old-shims rule - run `eslint --fix` on `app`, `lib`, `mirage`, and `tests` to move imports to the new module imports - further cleanup of Ember globals usage - remove event-dispatcher initializer now that `canDispatchToEventManager` is deprecated
12 lines
214 B
JavaScript
12 lines
214 B
JavaScript
import {helper} from '@ember/component/helper';
|
|
|
|
export function isEqual(params) {
|
|
let [lhs, rhs] = params;
|
|
|
|
return lhs === rhs;
|
|
}
|
|
|
|
export default helper(function (params) {
|
|
return isEqual(params);
|
|
});
|