From e44a7e37b6c7b5961adaffc62b9042b8d442938e Mon Sep 17 00:00:00 2001 From: mensonge Date: Thu, 13 Nov 2008 09:49:11 +0000 Subject: New feature: basic Ajax suggestion for tags and implementation of Dojo toolkit git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@151 b3834d28-1941-0410-a4f8-b48e95affb8f --- .../js/dojo/tests/_base/_loader/scope/scope04.html | 80 +++++++++++++++++++++ .../tests/_base/_loader/scope/scopeContained.html | 71 ++++++++++++++++++ .../_base/_loader/scope/scopeContainedXd.html | 84 ++++++++++++++++++++++ .../tests/_base/_loader/scope/scopeDjConfig.html | 64 +++++++++++++++++ .../tests/_base/_loader/scope/scopeSingle.html | 62 ++++++++++++++++ .../tests/_base/_loader/scope/scopeSingleDaac.html | 63 ++++++++++++++++ 6 files changed, 424 insertions(+) create mode 100644 includes/js/dojo/tests/_base/_loader/scope/scope04.html create mode 100644 includes/js/dojo/tests/_base/_loader/scope/scopeContained.html create mode 100644 includes/js/dojo/tests/_base/_loader/scope/scopeContainedXd.html create mode 100644 includes/js/dojo/tests/_base/_loader/scope/scopeDjConfig.html create mode 100644 includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html create mode 100644 includes/js/dojo/tests/_base/_loader/scope/scopeSingleDaac.html (limited to 'includes/js/dojo/tests/_base/_loader/scope') diff --git a/includes/js/dojo/tests/_base/_loader/scope/scope04.html b/includes/js/dojo/tests/_base/_loader/scope/scope04.html new file mode 100644 index 0000000..1866e4a --- /dev/null +++ b/includes/js/dojo/tests/_base/_loader/scope/scope04.html @@ -0,0 +1,80 @@ + + + + Multiversion Dojo: 0.4.3 and 1.0 + + + + + + + + + + + + + +

Multiversion Dojo: 0.4.3 and 1.0

+ +

NOTE: This test only works with a built version of Dojo

+ +

This page loads Dojo 0.4.3 and Dojo 1.0.

+ +

Dojo 0.4.3 version:

+ +

Dojo 1.0 version:

+ +

dojo.addClass should be undefined:

+ +

+ +

+ +

+ +

+ + + + diff --git a/includes/js/dojo/tests/_base/_loader/scope/scopeContained.html b/includes/js/dojo/tests/_base/_loader/scope/scopeContained.html new file mode 100644 index 0000000..0acea5b --- /dev/null +++ b/includes/js/dojo/tests/_base/_loader/scope/scopeContained.html @@ -0,0 +1,71 @@ + + + + Multiversion Dojo: 0.4.3 and 1.0 + + + + + + + + + + + + + +

Multiversion Dojo: 0.4.3 and 1.0

+ +

NOTE: This test only works with a built version of Dojo, and it must be built with the scopeMap parameter (the backslashes below are required):

+ +

build.sh profile=standard action=release scopeMap=[[\"dojo\",\"jodo\"],[\"dijit\",\"jidit\"],[\"dojox\",\"jodox\"]]

+ +

This page loads Dojo 0.4.3 and Dojo 1.0 (under the jodo scope)

+ +

Dojo 0.4.3 version:

+ +

Jodo version:

+ +

+ +

+ +

+ +

+ + + + diff --git a/includes/js/dojo/tests/_base/_loader/scope/scopeContainedXd.html b/includes/js/dojo/tests/_base/_loader/scope/scopeContainedXd.html new file mode 100644 index 0000000..c4c2eda --- /dev/null +++ b/includes/js/dojo/tests/_base/_loader/scope/scopeContainedXd.html @@ -0,0 +1,84 @@ + + + + Multiversion Dojo: 0.4.3 and 1.0 + + + + + + + + + + + + + +

XDomain Multiversion Dojo: 0.4.3 and 1.0

+ +

NOTE: This test only works with a built, xdomain version of Dojo, and it must be built with the scopeMap parameter (the backslashes below are required):

+ +

build.sh profile=standard action=release scopeMap=[[\"dojo\",\"jodo\"],[\"dijit\",\"jidit\"],[\"dojox\",\"jodox\"]] xdDojoScopeName=jodo loader=xdomain

+ +

Only load this page from an http:// URL. Otherwise, the xd loading will not happen.

+ +

This page xdomain loads Dojo 0.4.3 and Dojo 1.0 (under the jodo scope)

+ +

Dojo 0.4.3 version:

+ +

Jodo version:

+ +

+ +

+ +

+ +

+ + + + diff --git a/includes/js/dojo/tests/_base/_loader/scope/scopeDjConfig.html b/includes/js/dojo/tests/_base/_loader/scope/scopeDjConfig.html new file mode 100644 index 0000000..0ef5daa --- /dev/null +++ b/includes/js/dojo/tests/_base/_loader/scope/scopeDjConfig.html @@ -0,0 +1,64 @@ + + + + Multiversion Dojo: 0.4.3 and 1.0 (scoped djConfig) + + + + + + + + + + + + +

Multiversion Dojo: 0.4.3 and 1.0 (scoped djConfig)

+ +

NOTE: This test only works with a built version of Dojo, and it must be built with the scopeDjConfig parameter (the backslashes below are required):

+ +

build.sh profile=standard action=release scopeDjConfig=\{parseOnLoad:true,baseUrl:\"../../../../\",foo:\"bar\",scopeMap:[[\"dojo\",\"jodo\"],[\"dijit\",\"jidit\"],[\"dojox\",\"jodox\"]]\}

+ +

This page loads Dojo 0.4.3 and Dojo 1.0 (under the jodo scope)

+ +

djConfig.baseUrl should not exist:

+ +

jodo.baseUrl should be "../../../../":

+ +

+ +

+ +

+ +

+ + + + diff --git a/includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html b/includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html new file mode 100644 index 0000000..759fcbe --- /dev/null +++ b/includes/js/dojo/tests/_base/_loader/scope/scopeSingle.html @@ -0,0 +1,62 @@ + + + + Using scope names inside dojo.require/dojoType + + + + + + + + + + + +

Using scope names inside dojo.require/dojoType

+ +

NOTE: This test only works with a built version of Dojo.

+ +

Jodo version:

+ +

typeof dojo, dijit and dojox should be undefined:

+ +

+ +

+ + + + diff --git a/includes/js/dojo/tests/_base/_loader/scope/scopeSingleDaac.html b/includes/js/dojo/tests/_base/_loader/scope/scopeSingleDaac.html new file mode 100644 index 0000000..8f9d7d8 --- /dev/null +++ b/includes/js/dojo/tests/_base/_loader/scope/scopeSingleDaac.html @@ -0,0 +1,63 @@ + + + + Using scope names inside dojo.require/dojoType + + + + + + + + + + + +

Using scope names inside dojo.require/dojoType

+ +

NOTE: This test only works with a built version of Dojo.

+ +

Jodo version:

+ +

typeof dojo, dijit and dojox should be object, since debugAtAllCosts is ON:

+ +

+ +

+ + + + -- cgit v1.2.3-54-g00ecf