strongloop / strong-oracle

Deprecated: Node.js Driver for Oracle databases (Use https://github.com/oracle/node-oracledb instead)
Other
45 stars 18 forks source link

The Require Syntax is wierd #17

Closed deltreey closed 9 years ago

deltreey commented 9 years ago

In the interest of continued improvement, I noticed that this is the actual require syntax: var oracle = require('strong-oracle')(); not var oracle = require('oracle'); as shown on the readme

tb01923 commented 9 years ago

ditto - noticing this too. It loks like it stems from ./lib/oracle.js

  module.exports = function (settings) {
       // blah
  }
cucuso commented 9 years ago

yes

var oracle = require('strong-oracle')();

fixed it for me :/

raymondfeng commented 9 years ago

Fixed the README