Make View and Index requireable.

This commit is contained in:
Julien Fontanet 2015-04-28 17:10:31 +02:00
parent 59dbee8f28
commit f5d5b5efc0
5 changed files with 7 additions and 5 deletions

View File

@ -0,0 +1 @@
module.exports = require('./dist/index')

View File

@ -1,6 +1,6 @@
/* eslint-env mocha */
import Collection, {DuplicateItem, NoSuchItem} from './collection'
import Collection, {DuplicateItem, NoSuchItem} from '..'
import eventToPromise from 'event-to-promise'
import forEach from 'lodash.foreach'

View File

@ -11,8 +11,8 @@ import forEach from 'lodash.foreach'
// -------------------------------------------------------------------
import Collection from './collection'
import Index from './index'
import Collection from '..'
import Index from '../index'
// ===================================================================

View File

@ -1,7 +1,7 @@
import forEach from 'lodash.foreach'
import Collection from './collection'
import View from './view'
import Collection from '..'
import View from '../view'
// ===================================================================

View File

@ -0,0 +1 @@
module.exports = require('./dist/view')