jsPlumb ready event wrapper
by DMINATOR
HTML
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.1/jquery.min.js"></script>
<script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.23/jquery-ui.min.js"></script>
<script src="http://jsplumb.org/js/jquery.jsPlumb-1.3.16-all-min.js"></script>
<body >
nothing here...
</body>
JavaScript
var instance = new MyInstance();
function MyInstance() {
this.ready = jsPlumb.ready;
}
instance.ready(function() {
alert("loaded!");
});