import Orbit from '../../src';
import { Promise } from 'rsvp';

Orbit.Promise = Promise;

Orbit.pluralize = function(original) {
  return original.match(/s$/) ? original : original + 's';
};

Orbit.singularize = function(original) {
  const match = original.match(/(.*)s$/);
  return match ? match[1] : original;
};

import Orbit from '../../src';
import { Promise } from 'rsvp';

Orbit.Promise = Promise;

Remove unnecessary setup of pluralize and singularize.
Remove unnecessary setup of pluralize and singularize.