Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ghosh committed Jan 28, 2022
1 parent ae400d7 commit 2a31615
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
1 change: 1 addition & 0 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
"dev": "parcel ./src/index.html",
"build": "parcel build ./src/index.html --detailed-report",
"deploy": "now --prod",
"sync": "cp ../lib/dist/micromodal.js ./src/scripts/",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
Expand Down
2 changes: 1 addition & 1 deletion docs/src/scripts/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import MicroModal from '../../../lib/dist/micromodal'
import MicroModal from './micromodal'
import './prism'

// Initial config for setting up modals
Expand Down
1 change: 1 addition & 0 deletions docs/src/scripts/micromodal.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions lib/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -343,5 +343,3 @@ export default MicroModal
if (typeof window !== 'undefined') {
window.MicroModal = MicroModal
}

console.log('Hello micromodal')

1 comment on commit 2a31615

@vercel
Copy link

@vercel vercel bot commented on 2a31615 Jan 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.