Fix typo in rhino. Fixes #896

This commit is contained in:
Luke Page
2012-08-15 18:50:48 +01:00
parent 3925c73305
commit b65d420353

View File

@@ -3,7 +3,7 @@ var name;
function loadStyleSheet(sheet, callback, reload, remaining) {
var endOfPath = Math.max(name.lastIndexOf('/'), name.lastIndexOf('\\')),
sheetName = name.slice(0, endOfPath + 1) + sheet.href,
contents = sheets.contents || {},
contents = sheet.contents || {},
input = readFile(sheetName);
contents[sheetName] = input;