Skip to content

Commit

Permalink
es6 and linting
Browse files Browse the repository at this point in the history
  • Loading branch information
achingbrain committed Jun 10, 2016
1 parent 0dbf748 commit f984430
Show file tree
Hide file tree
Showing 15 changed files with 482 additions and 470 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,5 @@ addons:
- gcc-4.8
# for some reason we have to re-install mongoose to run the tests, ugh.
before_script: npm install mongoose@3.8.40
script: npm run test:coverage:check
after_script: npm run coveralls
9 changes: 4 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
var Crate = require('./lib/Crate'),
StorageProvider = require('./lib/StorageProvider'),
FileProcessor = require('./lib/FileProcessor')

var crate = new Crate()
const Crate = require('./lib/Crate')
const StorageProvider = require('./lib/StorageProvider')
const FileProcessor = require('./lib/FileProcessor')
const crate = new Crate()

module.exports = exports = crate.plugin.bind(crate)
module.exports.StorageProvider = StorageProvider
Expand Down
Loading

0 comments on commit f984430

Please sign in to comment.