Permalink
Browse files

Fix code which do not work in strict mode

  • Loading branch information...
1 parent 1b2dbfe commit 86e5844ab1c8443703cd6dfb1021d38044571982 @phanect phanect committed Jun 15, 2014
Showing with 5 additions and 5 deletions.
  1. +4 −5 lib/adapters/index.js
  2. +1 −0 lib/generators/sql.js
View
@@ -2,23 +2,22 @@
var adapters
, path = require('path')
, _aliases
- , _paths;
+ , _paths
-_aliases = {
+, _aliases = {
postgres: 'postgres'
, pg: 'postgres'
, postgresql: 'postgres'
, mysql: 'mysql'
, sqlite: 'sqlite'
, riak: 'riak'
, mongo: 'mongo'
-, mongodb: 'mongo'
, memory: 'memory'
, filesystem: 'filesystem'
, level: 'level'
-};
+}
-_adapters = {
+, _adapters = {
postgres: {
path: 'sql/postgres'
, lib: 'pg'
View
@@ -2,6 +2,7 @@ var utils = require('utilities')
, StandardGenerator
, MySQLGenerator
, PostgresGenerator
+ , SQLiteGenerator
, datatypeMap
, generatorMap;

0 comments on commit 86e5844

Please sign in to comment.