update bull.js
This commit is contained in:
@@ -809,6 +809,7 @@ var Bull = Bull || {};
|
||||
* @param {Bool} wait True be default. Set false if no need parent view wait for nested view loaded.
|
||||
*/
|
||||
createView: function (key, viewName, options, callback, wait) {
|
||||
this.clearView(key);
|
||||
return new Promise(function (resolve) {
|
||||
wait = (typeof wait === 'undefined') ? true : wait;
|
||||
var context = this;
|
||||
|
||||
Reference in New Issue
Block a user