'use strict';

(function() {
    var gridStore = function(schema, options) {
    var Q = require('q');
    var mongoose = options.mongoose || require('mongoose);
};

module.exports = exports = gridStore;
})();
'use strict';

(function() {
    var gridStore = function(schema, options) {
        var Q = require('q');
        var mongoose = options.mongoose || require('mongoose);
    };

    module.exports = exports = gridStore;
})();

Update gridstore.js