diff options
author | Kohei Suzuki | 2015-01-14 20:31:44 +0900 |
---|---|---|
committer | Kohei Suzuki | 2015-01-14 20:31:44 +0900 |
commit | feb5a9da3fd9a50106a5fb5df76b6cd48bbb238a (patch) | |
tree | 41e8bf73065e9ca11d13083c1b19845d262a4f55 /pluginManager.js | |
parent | fc4b39b9347f7566fbf8394b47cba524bc91565d (diff) | |
download | vimperator-plugins-feb5a9da3fd9a50106a5fb5df76b6cd48bbb238a.tar.bz2 |
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
Diffstat (limited to 'pluginManager.js')
-rw-r--r-- | pluginManager.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |