mirror of
https://github.com/status-im/embark-area-51.git
synced 2025-02-23 20:48:23 +00:00
Make __embarkIPFS global
This commit is contained in:
parent
0581dd341c
commit
ef9e76d7e6
@ -1,3 +1,5 @@
|
|||||||
|
/*global __embarkIPFS*/
|
||||||
|
|
||||||
__embarkIPFS.resolve = function (name, callback) {
|
__embarkIPFS.resolve = function (name, callback) {
|
||||||
callback = callback || function () {};
|
callback = callback || function () {};
|
||||||
if (!this._ipfsConnection) {
|
if (!this._ipfsConnection) {
|
||||||
|
@ -1,3 +1,5 @@
|
|||||||
|
/*global __embarkIPFS*/
|
||||||
|
|
||||||
__embarkIPFS.saveText = function (text) {
|
__embarkIPFS.saveText = function (text) {
|
||||||
const self = this;
|
const self = this;
|
||||||
var promise = new Promise(function (resolve, reject) {
|
var promise = new Promise(function (resolve, reject) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user