Skip to content

Commit

Permalink
Update jsdoc theme dependency.
Browse files Browse the repository at this point in the history
Have to change import statement because JSDoc barfs at the specific function import.
  • Loading branch information
rhys-vdw committed Nov 1, 2015
1 parent 9b8714f commit af16c63
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"devDependencies": {
"babel-eslint": "^3.1.15",
"babel-preset-es2015": "^6.0.14",
"bookshelf-jsdoc-theme": "^0.1.0",
"bookshelf-jsdoc-theme": "^0.1.2",
"chai": "~1.9.1",
"core-js": "^1.2.4",
"eslint": "^0.23.0",
Expand Down
6 changes: 3 additions & 3 deletions src/bookshelf.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import _, { isString } from 'lodash';
import _ from 'lodash';
import semver from 'semver';
import helpers from './helpers';

Expand Down Expand Up @@ -35,7 +35,7 @@ function Bookshelf(knex) {
}

let Model = bookshelf.Model = BookshelfModel.extend({

_builder: builderFn,

// The `Model` constructor is referenced as a property on the `Bookshelf` instance,
Expand Down Expand Up @@ -290,7 +290,7 @@ function Bookshelf(knex) {
function builderFn(tableNameOrBuilder) {
let builder = null;

if (isString(tableNameOrBuilder)) {
if (_.isString(tableNameOrBuilder)) {
builder = knex(tableNameOrBuilder);
} else if (tableNameOrBuilder == null) {
builder = knex.queryBuilder();
Expand Down

0 comments on commit af16c63

Please sign in to comment.