Browse Source

Let pass a callback function in load method

pull/187/head
Artur Arseniev 9 years ago
parent
commit
a2dd78c6e7
  1. 5
      src/editor/index.js

5
src/editor/index.js

@ -379,10 +379,11 @@ module.exports = config => {
/** /**
* Load data from the current storage * Load data from the current storage
* @param {Function} clb Callback function
* @return {Object} Stored data * @return {Object} Stored data
*/ */
load() { load(clb) {
return em.load(); return em.load(clb);
}, },
/** /**

Loading…
Cancel
Save