Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

getting rid of pluralize

  • Loading branch information...
commit 144d4f8aef426349b69013d9aa3671159c10ae50 1 parent c695ad0
@masylum authored
Showing with 1 addition and 6 deletions.
  1. +1 −6 backbone.rel.js
View
7 backbone.rel.js
@@ -21,7 +21,7 @@
*/
function rel(key, options) {
var self = this
- , singularize, pluralize;
+ , singularize;
options = options || {};
@@ -30,11 +30,6 @@
return word.replace(/s$/, '');
};
- // poor pluralize fallback
- pluralize = _.pluralize || function (word) {
- return word.replace(/$/, 's');
- };
-
function handleHasMany() {
if (!self.hasMany) {
return null;
Please sign in to comment.
Something went wrong with that request. Please try again.