this library is browser modal module.
npm install antibase-modal --save-dev
bower install antibase-modal --save
var modal = require('modal');
var modal01 modal({root: "js-modalpattern01"});
var modal02 modal({
root: "js-modalpattern02",
width: 1000,
height: 500
});
<script src="jquery.js"></script>
<script src="modal.js"></script>
<script src="app.js"></script> // module load
# app.js
var modal01 = uiModal();