Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / JU / AjaxURLStreamHandlerFactory.js
index a9be050..88e8d6f 100644 (file)
@@ -1,16 +1,16 @@
-Clazz.declarePackage ("JU");\r
-Clazz.load (["java.net.URLStreamHandlerFactory", "java.util.Hashtable"], "JU.AjaxURLStreamHandlerFactory", ["JU.AjaxURLStreamHandler"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.htFactories = null;\r
-Clazz.instantialize (this, arguments);\r
-}, JU, "AjaxURLStreamHandlerFactory", null, java.net.URLStreamHandlerFactory);\r
-Clazz.prepareFields (c$, function () {\r
-this.htFactories =  new java.util.Hashtable ();\r
-});\r
-Clazz.overrideMethod (c$, "createURLStreamHandler", \r
-function (protocol) {\r
-var fac = this.htFactories.get (protocol);\r
-if (fac == null) this.htFactories.put (protocol, fac =  new JU.AjaxURLStreamHandler (protocol));\r
-return (fac.protocol == null ? null : fac);\r
-}, "~S");\r
-});\r
+Clazz.declarePackage ("JU");
+Clazz.load (["java.net.URLStreamHandlerFactory", "java.util.Hashtable"], "JU.AjaxURLStreamHandlerFactory", ["JU.AjaxURLStreamHandler"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.htFactories = null;
+Clazz.instantialize (this, arguments);
+}, JU, "AjaxURLStreamHandlerFactory", null, java.net.URLStreamHandlerFactory);
+Clazz.prepareFields (c$, function () {
+this.htFactories =  new java.util.Hashtable ();
+});
+Clazz.overrideMethod (c$, "createURLStreamHandler", 
+function (protocol) {
+var fac = this.htFactories.get (protocol);
+if (fac == null) this.htFactories.put (protocol, fac =  new JU.AjaxURLStreamHandler (protocol));
+return (fac.protocol == null ? null : fac);
+}, "~S");
+});