Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

Commit

Permalink
fix: revert compatibility changes for mos@0.21
Browse files Browse the repository at this point in the history
  • Loading branch information
zkochan committed May 13, 2016
1 parent 2e01606 commit d90db1b
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 15 deletions.
10 changes: 7 additions & 3 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
'use strict'
module.exports = (mos, md) => Object.assign(mos.scope, require('./lib')(md))
module.exports = plugin

module.exports.attributes = {
pkg: require('./package.json'),
const renderInstallation = require('./lib/render-installation')

function plugin (markdown) {
return {
installation: opts => renderInstallation(Object.assign(opts || {}, markdown)),
}
}
1 change: 1 addition & 0 deletions index.spec.js
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
'use strict'
require('.')
10 changes: 0 additions & 10 deletions lib/index.js

This file was deleted.

2 changes: 0 additions & 2 deletions lib/index.spec.js

This file was deleted.

0 comments on commit d90db1b

Please sign in to comment.