Replace $ by document.id for avoid colitions.

This commit is contained in:
Paulo Gustavo Veiga
2014-02-17 10:16:43 -03:00
parent 8ae2ab8fbf
commit 8e1a4e73be
16 changed files with 47 additions and 47 deletions

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();

View File

@@ -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();