Fix editor in iFrame should be the code
This should be changed
This commit is contained in:
@ -7,8 +7,7 @@ window.__$(function() {
|
|||||||
var assert = chai.assert;
|
var assert = chai.assert;
|
||||||
var tests = parent.tests;
|
var tests = parent.tests;
|
||||||
var common = parent.common;
|
var common = parent.common;
|
||||||
var code = common.editor.getValue();
|
var editor = common.editor.getValue();
|
||||||
var editor = common.editor;
|
|
||||||
// grab the iframe body element
|
// grab the iframe body element
|
||||||
var body = document.getElementsByTagName('body');
|
var body = document.getElementsByTagName('body');
|
||||||
// change the context of $ so it uses the iFrame for testing
|
// change the context of $ so it uses the iFrame for testing
|
||||||
|
Reference in New Issue
Block a user