From feb5a9da3fd9a50106a5fb5df76b6cd48bbb238a Mon Sep 17 00:00:00 2001 From: Kohei Suzuki Date: Wed, 14 Jan 2015 20:31:44 +0900 Subject: String.prototype.quote() has been removed in Firefox 37 https://github.com/vimperator/vimperator-labs/pull/113 https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/quote --- pluginManager.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pluginManager.js') diff --git a/pluginManager.js b/pluginManager.js index 26442a3..79fe551 100644 --- a/pluginManager.js +++ b/pluginManager.js @@ -359,7 +359,7 @@ Plugin.prototype = { // {{{ file.write(source); } catch (e){ liberator.log('Could not write to ' + file.path + ': ' + e.message); - return 'E190: Cannot open ' + file.path.quote() + ' for writing'; + return 'E190: Cannot open ' + JSON.stringify(file.path) + ' for writing'; } try { -- cgit v1.2.3