From fada633f1e69bfe3cad1a0e4f29565d76a4e9bb2 Mon Sep 17 00:00:00 2001 From: nightwing Date: Fri, 13 Nov 2015 21:37:17 +0400 Subject: [PATCH] add mock for show error --- plugins/c9.vfs.standalone/www/test.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/c9.vfs.standalone/www/test.js b/plugins/c9.vfs.standalone/www/test.js index feb439d0..671b3307 100644 --- a/plugins/c9.vfs.standalone/www/test.js +++ b/plugins/c9.vfs.standalone/www/test.js @@ -406,9 +406,9 @@ require([ "dialog.fileremove": {show: function() {}}, "dialog.fileoverwrite": {show: function() {}}, "dialog.error": { - showError: function(msg) { - console.warn(msg); - } + showError: function(msg) { console.warn(msg); }, + show: function(msg) { console.warn(msg); }, + hide: function(msg) { }, }, "installer": { createSession : function(){}, reinstall: function(){}, isInstalled: function(){ return true; } }, "run.gui": { getElement : function(){} },