1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-30 22:52:28 +01:00

Make substring preview less quirky

This commit is contained in:
Kris Maglione
2008-11-27 08:21:07 +00:00
parent e954cb071e
commit 5aea24eb61
2 changed files with 28 additions and 13 deletions

View File

@@ -776,7 +776,7 @@ lookup:
// no need (actually forbidden) to add: js <<EOF ... EOF around those files
source: function (filename, silent)
{
var wasSourcing = ioManager.sourcing;
let wasSourcing = ioManager.sourcing;
try
{
var file = ioManager.getFile(filename);
@@ -808,7 +808,7 @@ lookup:
// handle pure javascript files specially
if (/\.js$/.test(filename))
{
var loader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"]
let loader = Components.classes["@mozilla.org/moz/jssubscript-loader;1"]
.getService(Components.interfaces.mozIJSSubScriptLoader);
try
{