summaryrefslogtreecommitdiff
path: root/misc/openlayers/tests/deprecated/Util.html
diff options
context:
space:
mode:
Diffstat (limited to 'misc/openlayers/tests/deprecated/Util.html')
-rw-r--r--misc/openlayers/tests/deprecated/Util.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/misc/openlayers/tests/deprecated/Util.html b/misc/openlayers/tests/deprecated/Util.html
new file mode 100644
index 0000000..e65340b
--- /dev/null
+++ b/misc/openlayers/tests/deprecated/Util.html
@@ -0,0 +1,20 @@
+<html>
+ <head>
+ <script>
+var custom$ = function() {};
+window.$ = custom$;
+ </script>
+ <script src="../OLLoader.js"></script>
+ <script src="../../lib/deprecated.js"></script>
+ <script>
+
+function test_$(t) {
+ t.plan(1);
+ t.ok($ === custom$, "OpenLayers doesn't clobber existing definition of $.");
+}
+
+ </script>
+ </head>
+ <body>
+ </body>
+</html> \ No newline at end of file