Replace $ by document.id for avoid colitions.
This commit is contained in:
@@ -11,7 +11,7 @@ TestCase("Mindplot test",{
|
||||
buildMindmapDesigner();
|
||||
|
||||
// Register Events ...
|
||||
// $(document).addEvent('keydown', designer.keyEventHandler.bindWithEvent(designer));
|
||||
// document.id(document).addEvent('keydown', designer.keyEventHandler.bindWithEvent(designer));
|
||||
|
||||
/*// Autosave ...
|
||||
if (!isTryMode)
|
||||
@@ -44,7 +44,7 @@ TestCase("Mindplot test",{
|
||||
{
|
||||
|
||||
// Initialize message logger ...
|
||||
var container = $('mindplot');
|
||||
var container = document.id('mindplot');
|
||||
|
||||
// Initialize Editor ...
|
||||
|
||||
@@ -76,7 +76,7 @@ TestCase("Mindplot test",{
|
||||
afterMindpotLibraryLoading();
|
||||
},
|
||||
testWorkspaceBuild:function(){
|
||||
assertNotNull($('workspace'));
|
||||
assertNotNull(document.id('workspace'));
|
||||
},
|
||||
testCentralTopicPresent:function(){
|
||||
var centralTopic = designer.getCentralTopic();
|
||||
|
@@ -19,7 +19,7 @@ mindplot.layout.BalancedTestSuite = new Class({
|
||||
Extends: mindplot.layout.TestSuite,
|
||||
|
||||
initialize:function() {
|
||||
$("balancedTest").setStyle("display","block");
|
||||
document.id("balancedTest").setStyle("display","block");
|
||||
|
||||
this.testBalanced();
|
||||
this.testBalancedPredict();
|
||||
|
@@ -19,7 +19,7 @@ mindplot.layout.FreeTestSuite = new Class({
|
||||
Extends: mindplot.layout.TestSuite,
|
||||
|
||||
initialize:function() {
|
||||
$("freeTest").setStyle("display","block");
|
||||
document.id("freeTest").setStyle("display","block");
|
||||
|
||||
this.testFreePosition();
|
||||
this.testFreePredict();
|
||||
|
@@ -19,7 +19,7 @@ mindplot.layout.SymmetricTestSuite = new Class({
|
||||
Extends: mindplot.layout.TestSuite,
|
||||
|
||||
initialize:function() {
|
||||
$("symmetricTest").setStyle("display","block");
|
||||
document.id("symmetricTest").setStyle("display","block");
|
||||
|
||||
this.testSymmetry();
|
||||
this.testSymmetricPredict();
|
||||
|
@@ -19,7 +19,7 @@ mindplot.layout.TestSuite = new Class({
|
||||
Extends: mindplot.layout.ChildrenSorterStrategy,
|
||||
|
||||
initialize:function() {
|
||||
$("basicTest").setStyle("display","block");
|
||||
document.id("basicTest").setStyle("display","block");
|
||||
|
||||
// this.testAligned();
|
||||
this.testBaselineAligned1();
|
||||
|
Reference in New Issue
Block a user