jquery в rhino

Я пытаюсь загрузить jquery в Rhino, как показано по этой ссылке здесь . Но я продолжаю получать следующую ошибку:

line 1086: uncaught JavaScript runtime exception: TypeError: Cannot call method "importNode" of null

Я думаю, что jQuery вообще не загружается, но я не знаю почему. Я использую тот же файл index.html, который автор разместил в системе контроля версий.

Вот запись с моей консоли Rhino:

js> load( "/temp/env.js" );
js> window.location = '/temp/index.html';
/temp/index.html
js> load( "/temp/jquery.js" );
js: "/temp/jquery.js", line 1086: uncaught JavaScript runtime exception: TypeError: Cannot call method "importNode" of null
    at /temp/jquery.js:1086
    at /temp/jquery.js:1079
    at /temp/jquery.js:16
    at :41

Есть идеи?

8
задан isomorphismes 4 November 2012 в 23:13
поделиться