Skip to content

Commit

Permalink
feat(github): activate github extension
Browse files Browse the repository at this point in the history
  • Loading branch information
Raphael Benitte committed Aug 25, 2016
1 parent fc25afb commit 41fda60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions app.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const Mozaik = require('mozaik')

Mozaik.configureFromFile(path.join(__dirname, 'config.yml'))
.then(() => {
Mozaik.registerApi('github', require('mozaik-ext-github/client'))
Mozaik.registerApi('travis', require('mozaik-ext-travis/client'))

Mozaik.start()
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
"babel-register": "6.7.2",
"dotenv": "^0.5.1",
"mozaik": ">=2.0.0-alpha",
"mozaik-ext-github": ">=2.0.0-alpha",
"mozaik-ext-travis": ">=2.0.0-alpha",
"react": "15.3.0",
"react-dom": "15.3.0"
Expand Down
2 changes: 2 additions & 0 deletions src/app.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import React from 'react'
import { render } from 'react-dom'
import Mozaik from 'mozaik/ui'
import github from 'mozaik-ext-github'
import travis from 'mozaik-ext-travis'


Mozaik.Registry.addExtensions({
github,
travis,
});

Expand Down

0 comments on commit 41fda60

Please sign in to comment.