Skip to content

Commit

Permalink
Change to allow recently-added parser tests to get a little farther i…
Browse files Browse the repository at this point in the history
…n browser.

They still fail because they depend on the Envjs-specific callback rather
than using standard browser events (probably because browser events are
currently broken in iframes -- alas.)  Someone should revisit these tests
once iframe/scoping issues are resolved.
  • Loading branch information
gleneivey committed Apr 17, 2010
1 parent 4140180 commit 32628b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions specs/parser/spec.js
Expand Up @@ -233,7 +233,7 @@ test('HTMLParser.parseDocument / malformed content', function(){
*/
test('Image Loading', function(){
var node;
if (!Envjs) {
if ((typeof Envjs == 'undefined') || !Envjs) {
Envjs = {};
}

Expand Down Expand Up @@ -297,7 +297,7 @@ test('Image Loading', function(){
*/
test('Link Loading', function(){
var node;
if (!Envjs) {
if ((typeof Envjs == 'undefined') || !Envjs) {
Envjs = {};
}

Expand Down

0 comments on commit 32628b5

Please sign in to comment.