2018-07-11 21:48:18 +00:00
|
|
|
import Storage from './storage.js';
|
|
|
|
import Names from './names.js';
|
|
|
|
import Messages from './messages.js';
|
|
|
|
import Contract from './contracts.js';
|
|
|
|
import Utils from './utils.js';
|
2018-07-11 20:51:08 +00:00
|
|
|
|
2018-07-06 00:26:27 +00:00
|
|
|
var EmbarkJS = {
|
|
|
|
onReady: function (cb) {
|
|
|
|
if (typeof (__embarkContext) === 'undefined') {
|
|
|
|
return cb();
|
|
|
|
}
|
|
|
|
return __embarkContext.execWhenReady(cb);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
|
2018-07-11 21:48:18 +00:00
|
|
|
EmbarkJS.Contract = Contract;
|
|
|
|
EmbarkJS.Storage = Storage;
|
|
|
|
EmbarkJS.Names = Names;
|
|
|
|
EmbarkJS.Messages = Messages;
|
|
|
|
EmbarkJS.Utils = Utils;
|
2018-07-06 00:26:27 +00:00
|
|
|
|
|
|
|
export default EmbarkJS;
|