Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #5 from KenjiTakahashi/master

Fixed inflect require
  • Loading branch information...
commit bb3139807d434554aec52374342ab6c6b9167430 2 parents fbf7d54 + be17b19
@vdemedes authored
Showing with 5 additions and 3 deletions.
  1. +2 −0  .gitignore
  2. +2 −2 lib/mongorito.coffee
  3. +1 −1  lib/mongorito.js
View
2  .gitignore
@@ -1,3 +1,5 @@
.DS_Store
node_modules
*.sock
+*~
+.*swp
View
4 lib/mongorito.coffee
@@ -1,6 +1,6 @@
mongolian = require 'mongolian'
async = require 'async'
-inflect = require 'i'
+inflect = require('i')()
Client = undefined
String::replaceAt = (index, char) ->
@@ -192,4 +192,4 @@ class Model
module.exports=
connect: Mongorito.connect
disconnect: Mongorito.disconnect
- bake: Mongorito.bake
+ bake: Mongorito.bake
View
2  lib/mongorito.js
@@ -5,7 +5,7 @@ mongolian = require('mongolian');
async = require('async');
-inflect = require('i');
+inflect = require('i')();
Client = void 0;
Please sign in to comment.
Something went wrong with that request. Please try again.