Skip to content

Commit

Permalink
default-export (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
Chyroc-MD committed Jan 24, 2017
1 parent 886c5e7 commit f579ef1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const linkUri = `${version}/link`
const jobUri = `${version}/job`
const submissionsUri = `${version}/submissions`

export class Hasoop {
export default class Hasoop {
constructor (config) {
this.userName = config.userName
this.host = config.host
Expand Down
2 changes: 1 addition & 1 deletion test/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */

import { Hasoop, version, linkType } from '../src/index'
import Hasoop, { version, linkType } from '../src/index'

const config = {
'userName': 'Developer',
Expand Down

0 comments on commit f579ef1

Please sign in to comment.