Skip to content
This repository
Browse code

new javascript compilation

  • Loading branch information...
commit 54112c4ed6bdc9c368b50c82e60dc2791dc35dbd 1 parent 45a9b0a
Christian Meier authored February 19, 2012
BIN  public/Users/0A9476898799A150D840F0B1C3672921.cache.png
32,960  public/Users/0C943B68F56083D4C00A751210BB9AF2.cache.html
32960 additions, 0 deletions not shown
32,935  public/Users/1C88DE042A2246AC17774615F2EC1BDF.cache.html
32935 additions, 0 deletions not shown
32,729  public/Users/2217460554C21A50483EF5A43AB4E09D.cache.html
32729 additions, 0 deletions not shown
BIN  public/Users/396F806CD63ABD414BFBB9D57429F05B.cache.png
32,775  public/Users/5C7B743A12676414D67E4FD2D296DE82.cache.html
32775 additions, 0 deletions not shown
61  public/Users/CE18CF7C7088FCD25ACC685CF4BAE60B.gwt.rpc
... ...
@@ -0,0 +1,61 @@
  1
+com.google.gwt.core.client.impl.SerializableThrowable, false, false, true, true, com.google.gwt.core.client.impl.SerializableThrowable/3336179259, 3336179259
  2
+com.google.gwt.event.shared.UmbrellaException, false, false, true, true, com.google.gwt.event.shared.UmbrellaException/3104463596, 3104463596
  3
+com.google.gwt.http.client.RequestException, false, false, true, true, com.google.gwt.http.client.RequestException/190587325, 190587325
  4
+com.google.gwt.json.client.JSONException, false, false, true, true, com.google.gwt.json.client.JSONException/2941795468, 2941795468
  5
+com.google.gwt.jsonp.client.TimeoutException, false, false, true, true, com.google.gwt.jsonp.client.TimeoutException/1112787596, 1112787596
  6
+com.google.gwt.logging.shared.RemoteLoggingService, false, false, false, false, _, 2602557223
  7
+com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException, true, true, true, true, com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException/3936916533, 3936916533
  8
+com.google.gwt.user.client.rpc.InvocationException, false, false, true, false, com.google.gwt.user.client.rpc.InvocationException/1510557512, 1510557512
  9
+com.google.gwt.user.client.rpc.RpcTokenException, true, true, true, true, com.google.gwt.user.client.rpc.RpcTokenException/2345075298, 2345075298
  10
+com.google.gwt.user.client.rpc.SerializableException, false, false, true, true, com.google.gwt.user.client.rpc.SerializableException/3047383460, 3047383460
  11
+com.google.gwt.user.client.rpc.SerializationException, false, false, true, true, com.google.gwt.user.client.rpc.SerializationException/2836333220, 2836333220
  12
+com.google.gwt.user.client.rpc.ServiceDefTarget$NoServiceEntryPointSpecifiedException, false, false, true, true, com.google.gwt.user.client.rpc.ServiceDefTarget$NoServiceEntryPointSpecifiedException/3408313447, 3408313447
  13
+com.google.gwt.user.client.rpc.XsrfToken, false, false, true, true, com.google.gwt.user.client.rpc.XsrfToken/4254043109, 4254043109
  14
+com.google.gwt.xml.client.DOMException, false, false, true, false, com.google.gwt.xml.client.DOMException/4182906963, 4182906963
  15
+com.google.gwt.xml.client.impl.DOMParseException, false, false, true, true, com.google.gwt.xml.client.impl.DOMParseException/3799120635, 3799120635
  16
+com.google.web.bindery.event.shared.UmbrellaException, false, false, true, true, com.google.web.bindery.event.shared.UmbrellaException/1025846929, 1025846929
  17
+java.io.IOException, false, false, true, true, java.io.IOException/1159940531, 1159940531
  18
+java.io.UnsupportedEncodingException, false, false, true, true, java.io.UnsupportedEncodingException/1526756933, 1526756933
  19
+java.lang.ArithmeticException, false, false, true, true, java.lang.ArithmeticException/1539622151, 1539622151
  20
+java.lang.ArrayIndexOutOfBoundsException, false, false, true, true, java.lang.ArrayIndexOutOfBoundsException/600550433, 600550433
  21
+java.lang.ArrayStoreException, false, false, true, true, java.lang.ArrayStoreException/3540507190, 3540507190
  22
+java.lang.AssertionError, false, false, true, true, java.lang.AssertionError/3490171458, 3490171458
  23
+java.lang.Boolean, false, false, true, true, java.lang.Boolean/476441737, 476441737
  24
+java.lang.ClassCastException, false, false, true, true, java.lang.ClassCastException/702295179, 702295179
  25
+java.lang.Error, false, false, true, true, java.lang.Error/1331973429, 1331973429
  26
+java.lang.Exception, true, false, true, true, java.lang.Exception/1920171873, 1920171873
  27
+java.lang.IllegalArgumentException, false, false, true, true, java.lang.IllegalArgumentException/1755012560, 1755012560
  28
+java.lang.IllegalStateException, false, false, true, true, java.lang.IllegalStateException/1972187323, 1972187323
  29
+java.lang.IndexOutOfBoundsException, false, false, true, true, java.lang.IndexOutOfBoundsException/2489527753, 2489527753
  30
+java.lang.NegativeArraySizeException, false, false, true, true, java.lang.NegativeArraySizeException/3846860241, 3846860241
  31
+java.lang.NullPointerException, false, false, true, true, java.lang.NullPointerException/1463492344, 1463492344
  32
+java.lang.NumberFormatException, false, false, true, true, java.lang.NumberFormatException/3305228476, 3305228476
  33
+java.lang.RuntimeException, true, false, true, true, java.lang.RuntimeException/515124647, 515124647
  34
+java.lang.StackTraceElement, false, false, true, true, java.lang.StackTraceElement/455763907, 455763907
  35
+[Ljava.lang.StackTraceElement;, false, false, true, true, [Ljava.lang.StackTraceElement;/3867167983, 3867167983
  36
+java.lang.String, true, true, true, true, java.lang.String/2004016611, 2004016611
  37
+java.lang.StringIndexOutOfBoundsException, false, false, true, true, java.lang.StringIndexOutOfBoundsException/500777603, 500777603
  38
+java.lang.Throwable, true, false, true, true, java.lang.Throwable/2953622131, 2953622131
  39
+java.lang.UnsupportedOperationException, false, false, true, true, java.lang.UnsupportedOperationException/3744010015, 3744010015
  40
+java.lang.annotation.AnnotationFormatError, false, false, true, true, java.lang.annotation.AnnotationFormatError/2257184627, 2257184627
  41
+java.lang.annotation.AnnotationTypeMismatchException, false, false, true, true, java.lang.annotation.AnnotationTypeMismatchException/976205828, 976205828
  42
+java.security.DigestException, false, false, true, true, java.security.DigestException/629316798, 629316798
  43
+java.security.GeneralSecurityException, false, false, true, true, java.security.GeneralSecurityException/2669239907, 2669239907
  44
+java.security.NoSuchAlgorithmException, false, false, true, true, java.security.NoSuchAlgorithmException/2892037213, 2892037213
  45
+java.util.Collections$EmptySet, false, false, true, true, java.util.Collections$EmptySet/3523698179, 3523698179
  46
+java.util.ConcurrentModificationException, false, false, true, true, java.util.ConcurrentModificationException/2717383897, 2717383897
  47
+java.util.EmptyStackException, false, false, true, true, java.util.EmptyStackException/89438517, 89438517
  48
+java.util.HashSet, false, false, true, true, java.util.HashSet/3273092938, 3273092938
  49
+java.util.LinkedHashSet, false, false, true, true, java.util.LinkedHashSet/1826081506, 1826081506
  50
+java.util.NoSuchElementException, false, false, true, true, java.util.NoSuchElementException/1559248883, 1559248883
  51
+java.util.TooManyListenersException, false, false, true, true, java.util.TooManyListenersException/2023078032, 2023078032
  52
+java.util.TreeMap, false, false, true, true, java.util.TreeMap/1493889780, 1493889780
  53
+java.util.TreeSet, false, false, true, true, java.util.TreeSet/4043497002, 4043497002
  54
+java.util.logging.Level, false, false, true, true, java.util.logging.Level/2839552483, 2839552483
  55
+java.util.logging.LogRecord, false, false, true, true, java.util.logging.LogRecord/2492345967, 2492345967
  56
+javax.validation.ConstraintDeclarationException, false, false, true, true, javax.validation.ConstraintDeclarationException/3610544007, 3610544007
  57
+javax.validation.ConstraintDefinitionException, false, false, true, true, javax.validation.ConstraintDefinitionException/3732439488, 3732439488
  58
+javax.validation.ConstraintViolationException, false, false, true, true, javax.validation.ConstraintViolationException/1185386591, 1185386591
  59
+javax.validation.GroupDefinitionException, false, false, true, true, javax.validation.GroupDefinitionException/4024780846, 4024780846
  60
+javax.validation.UnexpectedTypeException, false, false, true, true, javax.validation.UnexpectedTypeException/593026390, 593026390
  61
+javax.validation.ValidationException, false, false, true, true, javax.validation.ValidationException/1570221831, 1570221831
32,809  public/Users/DBC8A6B67876B9D9C90D1AB09CB9C5B9.cache.html
32809 additions, 0 deletions not shown
BIN  public/Users/DF7764EEC1903CD03C9545B354D8D8E4.cache.png
BIN  public/Users/E44767377485D18D6B6864F65BA8EF73.cache.png
33,238  public/Users/E4903D6C930694AF30EB4D164C88D479.cache.html
33238 additions, 0 deletions not shown
BIN  public/Users/EDC7827FEEA59EE44AD790B1C6430C45.cache.png
373  public/Users/Users.nocache.js
... ...
@@ -0,0 +1,373 @@
  1
+function Users(){
  2
+  var $intern_0 = '', $intern_35 = '" for "gwt:onLoadErrorFn"', $intern_33 = '" for "gwt:onPropertyErrorFn"', $intern_21 = '"><\/script>', $intern_10 = '#', $intern_65 = '../stylesheets/users.css', $intern_64 = '.cache.html', $intern_12 = '/', $intern_57 = '0C943B68F56083D4C00A751210BB9AF2', $intern_58 = '1C88DE042A2246AC17774615F2EC1BDF', $intern_59 = '2217460554C21A50483EF5A43AB4E09D', $intern_60 = '5C7B743A12676414D67E4FD2D296DE82', $intern_63 = ':', $intern_27 = '::', $intern_72 = '<script defer="defer">Users.onInjectionDone(\'Users\')<\/script>', $intern_20 = '<script id="', $intern_30 = '=', $intern_11 = '?', $intern_44 = 'ActiveXObject', $intern_32 = 'Bad handler "', $intern_45 = 'ChromeTab.ChromeFrame', $intern_61 = 'DBC8A6B67876B9D9C90D1AB09CB9C5B9', $intern_71 = 'DOMContentLoaded', $intern_62 = 'E4903D6C930694AF30EB4D164C88D479', $intern_22 = 'SCRIPT', $intern_1 = 'Users', $intern_17 = 'Users.nocache.js', $intern_26 = 'Users::', $intern_19 = '__gwt_marker_Users', $intern_23 = 'base', $intern_15 = 'baseUrl', $intern_4 = 'begin', $intern_3 = 'bootstrap', $intern_43 = 'chromeframe', $intern_14 = 'clear.cache.gif', $intern_29 = 'content', $intern_9 = 'end', $intern_51 = 'gecko', $intern_52 = 'gecko1_8', $intern_5 = 'gwt.codesvr=', $intern_6 = 'gwt.hosted=', $intern_7 = 'gwt.hybrid', $intern_34 = 'gwt:onLoadErrorFn', $intern_31 = 'gwt:onPropertyErrorFn', $intern_28 = 'gwt:property', $intern_70 = 'head', $intern_55 = 'hosted.html?Users', $intern_69 = 'href', $intern_50 = 'ie6', $intern_49 = 'ie8', $intern_48 = 'ie9', $intern_36 = 'iframe', $intern_13 = 'img', $intern_37 = "javascript:''", $intern_66 = 'link', $intern_54 = 'loadExternalRefs', $intern_24 = 'meta', $intern_39 = 'moduleRequested', $intern_8 = 'moduleStartup', $intern_47 = 'msie', $intern_25 = 'name', $intern_41 = 'opera', $intern_38 = 'position:absolute;width:0;height:0;border:none', $intern_67 = 'rel', $intern_46 = 'safari', $intern_16 = 'script', $intern_56 = 'selectingPermutation', $intern_2 = 'startup', $intern_68 = 'stylesheet', $intern_18 = 'undefined', $intern_53 = 'unknown', $intern_40 = 'user.agent', $intern_42 = 'webkit';
  3
+  var $wnd = window, $doc = document, $stats = $wnd.__gwtStatsEvent?function(a){
  4
+    return $wnd.__gwtStatsEvent(a);
  5
+  }
  6
+  :null, $sessionId = $wnd.__gwtStatsSessionId?$wnd.__gwtStatsSessionId:null, scriptsDone, loadDone, bodyDone, base = $intern_0, metaProps = {}, values = [], providers = [], answers = [], softPermutationId = 0, onLoadErrorFunc, propertyErrorFunc;
  7
+  $stats && $stats({moduleName:$intern_1, sessionId:$sessionId, subSystem:$intern_2, evtGroup:$intern_3, millis:(new Date).getTime(), type:$intern_4});
  8
+  if (!$wnd.__gwt_stylesLoaded) {
  9
+    $wnd.__gwt_stylesLoaded = {};
  10
+  }
  11
+  if (!$wnd.__gwt_scriptsLoaded) {
  12
+    $wnd.__gwt_scriptsLoaded = {};
  13
+  }
  14
+  function isHostedMode(){
  15
+    var result = false;
  16
+    try {
  17
+      var query = $wnd.location.search;
  18
+      return (query.indexOf($intern_5) != -1 || (query.indexOf($intern_6) != -1 || $wnd.external && $wnd.external.gwtOnLoad)) && query.indexOf($intern_7) == -1;
  19
+    }
  20
+     catch (e) {
  21
+    }
  22
+    isHostedMode = function(){
  23
+      return result;
  24
+    }
  25
+    ;
  26
+    return result;
  27
+  }
  28
+
  29
+  function maybeStartModule(){
  30
+    if (scriptsDone && loadDone) {
  31
+      var iframe = $doc.getElementById($intern_1);
  32
+      var frameWnd = iframe.contentWindow;
  33
+      if (isHostedMode()) {
  34
+        frameWnd.__gwt_getProperty = function(name){
  35
+          return computePropValue(name);
  36
+        }
  37
+        ;
  38
+      }
  39
+      Users = null;
  40
+      frameWnd.gwtOnLoad(onLoadErrorFunc, $intern_1, base, softPermutationId);
  41
+      $stats && $stats({moduleName:$intern_1, sessionId:$sessionId, subSystem:$intern_2, evtGroup:$intern_8, millis:(new Date).getTime(), type:$intern_9});
  42
+    }
  43
+  }
  44
+
  45
+  function computeScriptBase(){
  46
+    function getDirectoryOfFile(path){
  47
+      var hashIndex = path.lastIndexOf($intern_10);
  48
+      if (hashIndex == -1) {
  49
+        hashIndex = path.length;
  50
+      }
  51
+      var queryIndex = path.indexOf($intern_11);
  52
+      if (queryIndex == -1) {
  53
+        queryIndex = path.length;
  54
+      }
  55
+      var slashIndex = path.lastIndexOf($intern_12, Math.min(queryIndex, hashIndex));
  56
+      return slashIndex >= 0?path.substring(0, slashIndex + 1):$intern_0;
  57
+    }
  58
+
  59
+    function ensureAbsoluteUrl(url){
  60
+      if (url.match(/^\w+:\/\//)) {
  61
+      }
  62
+       else {
  63
+        var img = $doc.createElement($intern_13);
  64
+        img.src = url + $intern_14;
  65
+        url = getDirectoryOfFile(img.src);
  66
+      }
  67
+      return url;
  68
+    }
  69
+
  70
+    function tryMetaTag(){
  71
+      var metaVal = __gwt_getMetaProperty($intern_15);
  72
+      if (metaVal != null) {
  73
+        return metaVal;
  74
+      }
  75
+      return $intern_0;
  76
+    }
  77
+
  78
+    function tryNocacheJsTag(){
  79
+      var scriptTags = $doc.getElementsByTagName($intern_16);
  80
+      for (var i = 0; i < scriptTags.length; ++i) {
  81
+        if (scriptTags[i].src.indexOf($intern_17) != -1) {
  82
+          return getDirectoryOfFile(scriptTags[i].src);
  83
+        }
  84
+      }
  85
+      return $intern_0;
  86
+    }
  87
+
  88
+    function tryMarkerScript(){
  89
+      var thisScript;
  90
+      if (typeof isBodyLoaded == $intern_18 || !isBodyLoaded()) {
  91
+        var markerId = $intern_19;
  92
+        var markerScript;
  93
+        $doc.write($intern_20 + markerId + $intern_21);
  94
+        markerScript = $doc.getElementById(markerId);
  95
+        thisScript = markerScript && markerScript.previousSibling;
  96
+        while (thisScript && thisScript.tagName != $intern_22) {
  97
+          thisScript = thisScript.previousSibling;
  98
+        }
  99
+        if (markerScript) {
  100
+          markerScript.parentNode.removeChild(markerScript);
  101
+        }
  102
+        if (thisScript && thisScript.src) {
  103
+          return getDirectoryOfFile(thisScript.src);
  104
+        }
  105
+      }
  106
+      return $intern_0;
  107
+    }
  108
+
  109
+    function tryBaseTag(){
  110
+      var baseElements = $doc.getElementsByTagName($intern_23);
  111
+      if (baseElements.length > 0) {
  112
+        return baseElements[baseElements.length - 1].href;
  113
+      }
  114
+      return $intern_0;
  115
+    }
  116
+
  117
+    var tempBase = tryMetaTag();
  118
+    if (tempBase == $intern_0) {
  119
+      tempBase = tryNocacheJsTag();
  120
+    }
  121
+    if (tempBase == $intern_0) {
  122
+      tempBase = tryMarkerScript();
  123
+    }
  124
+    if (tempBase == $intern_0) {
  125
+      tempBase = tryBaseTag();
  126
+    }
  127
+    if (tempBase == $intern_0) {
  128
+      tempBase = getDirectoryOfFile($doc.location.href);
  129
+    }
  130
+    tempBase = ensureAbsoluteUrl(tempBase);
  131
+    base = tempBase;
  132
+    return tempBase;
  133
+  }
  134
+
  135
+  function processMetas(){
  136
+    var metas = document.getElementsByTagName($intern_24);
  137
+    for (var i = 0, n = metas.length; i < n; ++i) {
  138
+      var meta = metas[i], name = meta.getAttribute($intern_25), content;
  139
+      if (name) {
  140
+        name = name.replace($intern_26, $intern_0);
  141
+        if (name.indexOf($intern_27) >= 0) {
  142
+          continue;
  143
+        }
  144
+        if (name == $intern_28) {
  145
+          content = meta.getAttribute($intern_29);
  146
+          if (content) {
  147
+            var value, eq = content.indexOf($intern_30);
  148
+            if (eq >= 0) {
  149
+              name = content.substring(0, eq);
  150
+              value = content.substring(eq + 1);
  151
+            }
  152
+             else {
  153
+              name = content;
  154
+              value = $intern_0;
  155
+            }
  156
+            metaProps[name] = value;
  157
+          }
  158
+        }
  159
+         else if (name == $intern_31) {
  160
+          content = meta.getAttribute($intern_29);
  161
+          if (content) {
  162
+            try {
  163
+              propertyErrorFunc = eval(content);
  164
+            }
  165
+             catch (e) {
  166
+              alert($intern_32 + content + $intern_33);
  167
+            }
  168
+          }
  169
+        }
  170
+         else if (name == $intern_34) {
  171
+          content = meta.getAttribute($intern_29);
  172
+          if (content) {
  173
+            try {
  174
+              onLoadErrorFunc = eval(content);
  175
+            }
  176
+             catch (e) {
  177
+              alert($intern_32 + content + $intern_35);
  178
+            }
  179
+          }
  180
+        }
  181
+      }
  182
+    }
  183
+  }
  184
+
  185
+  function __gwt_getMetaProperty(name){
  186
+    var value = metaProps[name];
  187
+    return value == null?null:value;
  188
+  }
  189
+
  190
+  function unflattenKeylistIntoAnswers(propValArray, value){
  191
+    var answer = answers;
  192
+    for (var i = 0, n = propValArray.length - 1; i < n; ++i) {
  193
+      answer = answer[propValArray[i]] || (answer[propValArray[i]] = []);
  194
+    }
  195
+    answer[propValArray[n]] = value;
  196
+  }
  197
+
  198
+  function computePropValue(propName){
  199
+    var value = providers[propName](), allowedValuesMap = values[propName];
  200
+    if (value in allowedValuesMap) {
  201
+      return value;
  202
+    }
  203
+    var allowedValuesList = [];
  204
+    for (var k in allowedValuesMap) {
  205
+      allowedValuesList[allowedValuesMap[k]] = k;
  206
+    }
  207
+    if (propertyErrorFunc) {
  208
+      propertyErrorFunc(propName, allowedValuesList, value);
  209
+    }
  210
+    throw null;
  211
+  }
  212
+
  213
+  var frameInjected;
  214
+  function maybeInjectFrame(){
  215
+    if (!frameInjected) {
  216
+      frameInjected = true;
  217
+      var iframe = $doc.createElement($intern_36);
  218
+      iframe.src = $intern_37;
  219
+      iframe.id = $intern_1;
  220
+      iframe.style.cssText = $intern_38;
  221
+      iframe.tabIndex = -1;
  222
+      $doc.body.appendChild(iframe);
  223
+      $stats && $stats({moduleName:$intern_1, sessionId:$sessionId, subSystem:$intern_2, evtGroup:$intern_8, millis:(new Date).getTime(), type:$intern_39});
  224
+      iframe.contentWindow.location.replace(base + initialHtml);
  225
+    }
  226
+  }
  227
+
  228
+  providers[$intern_40] = function(){
  229
+    var ua = navigator.userAgent.toLowerCase();
  230
+    var makeVersion = function(result){
  231
+      return parseInt(result[1]) * 1000 + parseInt(result[2]);
  232
+    }
  233
+    ;
  234
+    if (function(){
  235
+      return ua.indexOf($intern_41) != -1;
  236
+    }
  237
+    ())
  238
+      return $intern_41;
  239
+    if (function(){
  240
+      return ua.indexOf($intern_42) != -1 || function(){
  241
+        if (ua.indexOf($intern_43) != -1) {
  242
+          return true;
  243
+        }
  244
+        if (typeof window[$intern_44] != $intern_18) {
  245
+          try {
  246
+            var obj = new ActiveXObject($intern_45);
  247
+            if (obj) {
  248
+              obj.registerBhoIfNeeded();
  249
+              return true;
  250
+            }
  251
+          }
  252
+           catch (e) {
  253
+          }
  254
+        }
  255
+        return false;
  256
+      }
  257
+      ();
  258
+    }
  259
+    ())
  260
+      return $intern_46;
  261
+    if (function(){
  262
+      return ua.indexOf($intern_47) != -1 && $doc.documentMode >= 9;
  263
+    }
  264
+    ())
  265
+      return $intern_48;
  266
+    if (function(){
  267
+      return ua.indexOf($intern_47) != -1 && $doc.documentMode >= 8;
  268
+    }
  269
+    ())
  270
+      return $intern_49;
  271
+    if (function(){
  272
+      var result = /msie ([0-9]+)\.([0-9]+)/.exec(ua);
  273
+      if (result && result.length == 3)
  274
+        return makeVersion(result) >= 6000;
  275
+    }
  276
+    ())
  277
+      return $intern_50;
  278
+    if (function(){
  279
+      return ua.indexOf($intern_51) != -1;
  280
+    }
  281
+    ())
  282
+      return $intern_52;
  283
+    return $intern_53;
  284
+  }
  285
+  ;
  286
+  values[$intern_40] = {gecko1_8:0, ie6:1, ie8:2, ie9:3, opera:4, safari:5};
  287
+  Users.onScriptLoad = function(){
  288
+    if (frameInjected) {
  289
+      loadDone = true;
  290
+      maybeStartModule();
  291
+    }
  292
+  }
  293
+  ;
  294
+  Users.onInjectionDone = function(){
  295
+    scriptsDone = true;
  296
+    $stats && $stats({moduleName:$intern_1, sessionId:$sessionId, subSystem:$intern_2, evtGroup:$intern_54, millis:(new Date).getTime(), type:$intern_9});
  297
+    maybeStartModule();
  298
+  }
  299
+  ;
  300
+  processMetas();
  301
+  computeScriptBase();
  302
+  var strongName;
  303
+  var initialHtml;
  304
+  if (isHostedMode()) {
  305
+    if ($wnd.external && ($wnd.external.initModule && $wnd.external.initModule($intern_1))) {
  306
+      $wnd.location.reload();
  307
+      return;
  308
+    }
  309
+    initialHtml = $intern_55;
  310
+    strongName = $intern_0;
  311
+  }
  312
+  $stats && $stats({moduleName:$intern_1, sessionId:$sessionId, subSystem:$intern_2, evtGroup:$intern_3, millis:(new Date).getTime(), type:$intern_56});
  313
+  if (!isHostedMode()) {
  314
+    try {
  315
+      unflattenKeylistIntoAnswers([$intern_46], $intern_57);
  316
+      unflattenKeylistIntoAnswers([$intern_50], $intern_58);
  317
+      unflattenKeylistIntoAnswers([$intern_41], $intern_59);
  318
+      unflattenKeylistIntoAnswers([$intern_49], $intern_60);
  319
+      unflattenKeylistIntoAnswers([$intern_48], $intern_61);
  320
+      unflattenKeylistIntoAnswers([$intern_52], $intern_62);
  321
+      strongName = answers[computePropValue($intern_40)];
  322
+      var idx = strongName.indexOf($intern_63);
  323
+      if (idx != -1) {
  324
+        softPermutationId = Number(strongName.substring(idx + 1));
  325
+        strongName = strongName.substring(0, idx);
  326
+      }
  327
+      initialHtml = strongName + $intern_64;
  328
+    }
  329
+     catch (e) {
  330
+      return;
  331
+    }
  332
+  }
  333
+  var onBodyDoneTimerId;
  334
+  function onBodyDone(){
  335
+    if (!bodyDone) {
  336
+      bodyDone = true;
  337
+      if (!__gwt_stylesLoaded[$intern_65]) {
  338
+        var l = $doc.createElement($intern_66);
  339
+        __gwt_stylesLoaded[$intern_65] = l;
  340
+        l.setAttribute($intern_67, $intern_68);
  341
+        l.setAttribute($intern_69, base + $intern_65);
  342
+        $doc.getElementsByTagName($intern_70)[0].appendChild(l);
  343
+      }
  344
+      maybeStartModule();
  345
+      if ($doc.removeEventListener) {
  346
+        $doc.removeEventListener($intern_71, onBodyDone, false);
  347
+      }
  348
+      if (onBodyDoneTimerId) {
  349
+        clearInterval(onBodyDoneTimerId);
  350
+      }
  351
+    }
  352
+  }
  353
+
  354
+  if ($doc.addEventListener) {
  355
+    $doc.addEventListener($intern_71, function(){
  356
+      maybeInjectFrame();
  357
+      onBodyDone();
  358
+    }
  359
+    , false);
  360
+  }
  361
+  var onBodyDoneTimerId = setInterval(function(){
  362
+    if (/loaded|complete/.test($doc.readyState)) {
  363
+      maybeInjectFrame();
  364
+      onBodyDone();
  365
+    }
  366
+  }
  367
+  , 50);
  368
+  $stats && $stats({moduleName:$intern_1, sessionId:$sessionId, subSystem:$intern_2, evtGroup:$intern_3, millis:(new Date).getTime(), type:$intern_9});
  369
+  $stats && $stats({moduleName:$intern_1, sessionId:$sessionId, subSystem:$intern_2, evtGroup:$intern_54, millis:(new Date).getTime(), type:$intern_4});
  370
+  $doc.write($intern_72);
  371
+}
  372
+
  373
+Users();
BIN  public/Users/clear.cache.gif
364  public/Users/hosted.html
... ...
@@ -0,0 +1,364 @@
  1
+<html>
  2
+<head><script>
  3
+var $wnd = parent;
  4
+var $doc = $wnd.document;
  5
+var $moduleName, $moduleBase, $entry
  6
+,$stats = $wnd.__gwtStatsEvent ? function(a) {return $wnd.__gwtStatsEvent(a);} : null
  7
+,$sessionId = $wnd.__gwtStatsSessionId ? $wnd.__gwtStatsSessionId : null;
  8
+// Lightweight metrics
  9
+if ($stats) {
  10
+  var moduleFuncName = location.search.substr(1);
  11
+  var moduleFunc = $wnd[moduleFuncName];
  12
+  var moduleName = moduleFunc ? moduleFunc.moduleName : "unknown";
  13
+  $stats({moduleName:moduleName,sessionId:$sessionId,subSystem:'startup',evtGroup:'moduleStartup',millis:(new Date()).getTime(),type:'moduleEvalStart'});
  14
+}
  15
+var $hostedHtmlVersion="2.1";
  16
+
  17
+var gwtOnLoad;
  18
+var $hosted = "localhost:9997";
  19
+
  20
+function loadIframe(url) {
  21
+  var topDoc = window.top.document;
  22
+
  23
+  // create an iframe
  24
+  var iframeDiv = topDoc.createElement("div");
  25
+  iframeDiv.innerHTML = "<iframe scrolling=no frameborder=0 src='" + url + "'>";
  26
+  var iframe = iframeDiv.firstChild;
  27
+  
  28
+  // mess with the iframe style a little
  29
+  var iframeStyle = iframe.style;
  30
+  iframeStyle.position = "absolute";
  31
+  iframeStyle.borderWidth = "0";
  32
+  iframeStyle.left = "0";
  33
+  iframeStyle.top = "0";
  34
+  iframeStyle.width = "100%";
  35
+  iframeStyle.backgroundColor = "#ffffff";
  36
+  iframeStyle.zIndex = "1";
  37
+  iframeStyle.height = "100%";
  38
+
  39
+  // update the top window's document's body's style
  40
+  var hostBodyStyle = window.top.document.body.style; 
  41
+  hostBodyStyle.margin = "0";
  42
+  hostBodyStyle.height = iframeStyle.height;
  43
+  hostBodyStyle.overflow = "hidden";
  44
+
  45
+  // insert the iframe
  46
+  topDoc.body.insertBefore(iframe, topDoc.body.firstChild);
  47
+}
  48
+
  49
+var ua = navigator.userAgent.toLowerCase();
  50
+if (ua.indexOf("gecko") != -1) {
  51
+  // install eval wrapper on FF to avoid EvalError problem
  52
+  var __eval = window.eval;
  53
+  window.eval = function(s) {
  54
+    return __eval(s);
  55
+  }
  56
+}
  57
+if (ua.indexOf("chrome") != -1) {
  58
+  // work around __gwt_ObjectId appearing in JS objects
  59
+  var hop = Object.prototype.hasOwnProperty;
  60
+  Object.prototype.hasOwnProperty = function(prop) {
  61
+    return prop != "__gwt_ObjectId" && hop.call(this, prop);
  62
+  };
  63
+  // do the same in our parent as well -- see issue 4486
  64
+  // NOTE: this will have to be changed when we support non-iframe-based DevMode 
  65
+  var hop2 = parent.Object.prototype.hasOwnProperty;
  66
+  parent.Object.prototype.hasOwnProperty = function(prop) {
  67
+    return prop != "__gwt_ObjectId" && hop2.call(this, prop);
  68
+  };
  69
+}
  70
+
  71
+// wrapper to call JS methods, which we need both to be able to supply a
  72
+// different this for method lookup and to get the exception back
  73
+function __gwt_jsInvoke(thisObj, methodName) {
  74
+  try {
  75
+    var args = Array.prototype.slice.call(arguments, 2);
  76
+    return [0, window[methodName].apply(thisObj, args)];
  77
+  } catch (e) {
  78
+    return [1, e];
  79
+  }
  80
+}
  81
+
  82
+var __gwt_javaInvokes = [];
  83
+function __gwt_makeJavaInvoke(argCount) {
  84
+  return __gwt_javaInvokes[argCount] || __gwt_doMakeJavaInvoke(argCount);
  85
+}
  86
+
  87
+function __gwt_doMakeJavaInvoke(argCount) {
  88
+  // IE6 won't eval() anonymous functions except as r-values
  89
+  var argList = "";
  90
+  for (var i = 0; i < argCount; i++) {
  91
+    argList += ",p" + i;
  92
+  }
  93
+  var argListNoComma = argList.substring(1);
  94
+
  95
+  return eval(
  96
+    "__gwt_javaInvokes[" + argCount + "] =\n" +
  97
+    "  function(thisObj, dispId" + argList + ") {\n" +
  98
+    "    var result = __static(dispId, thisObj" + argList + ");\n" +
  99
+    "    if (result[0]) {\n" +
  100
+    "      throw result[1];\n" +
  101
+    "    } else {\n" +
  102
+    "      return result[1];\n" +
  103
+    "    }\n" +
  104
+    "  }\n"
  105
+  ); 
  106
+}
  107
+
  108
+/*
  109
+ * This is used to create tear-offs of Java methods.  Each function corresponds
  110
+ * to exactly one dispId, and also embeds the argument count.  We get the "this"
  111
+ * value from the context in which the function is being executed.
  112
+ * Function-object identity is preserved by caching in a sparse array.
  113
+ */
  114
+var __gwt_tearOffs = [];
  115
+var __gwt_tearOffGenerators = [];
  116
+function __gwt_makeTearOff(proxy, dispId, argCount) {
  117
+  return __gwt_tearOffs[dispId] || __gwt_doMakeTearOff(dispId, argCount);
  118
+}
  119
+
  120
+function __gwt_doMakeTearOff(dispId, argCount) {
  121
+  return __gwt_tearOffs[dispId] = 
  122
+      (__gwt_tearOffGenerators[argCount] || __gwt_doMakeTearOffGenerator(argCount))(dispId);
  123
+}
  124
+
  125
+function __gwt_doMakeTearOffGenerator(argCount) {
  126
+  // IE6 won't eval() anonymous functions except as r-values
  127
+  var argList = "";
  128
+  for (var i = 0; i < argCount; i++) {
  129
+    argList += ",p" + i;
  130
+  }
  131
+  var argListNoComma = argList.substring(1);
  132
+
  133
+  return eval(
  134
+    "__gwt_tearOffGenerators[" + argCount + "] =\n" +
  135
+    "  function(dispId) {\n" +
  136
+    "    return function(" + argListNoComma + ") {\n" +
  137
+    "      var result = __static(dispId, this" + argList + ");\n" +
  138
+    "      if (result[0]) {\n" +
  139
+    "        throw result[1];\n" +
  140
+    "      } else {\n" +
  141
+    "        return result[1];\n" +
  142
+    "      }\n" +
  143
+    "    }\n" +
  144
+    "  }\n"
  145
+  ); 
  146
+}
  147
+
  148
+function __gwt_makeResult(isException, result) {
  149
+  return [isException, result];
  150
+}
  151
+
  152
+function __gwt_disconnected() {
  153
+  // Prevent double-invocation.
  154
+  window.__gwt_disconnected = new Function();
  155
+  // Do it in a timeout so we can be sure we have a clean stack.
  156
+  window.setTimeout(__gwt_disconnected_impl, 1);
  157
+}
  158
+
  159
+function __gwt_disconnected_impl() {
  160
+  __gwt_displayGlassMessage('GWT Code Server Disconnected',
  161
+      'Most likely, you closed GWT Development Mode. Or, you might have lost '
  162
+      + 'network connectivity. To fix this, try restarting GWT Development Mode and '
  163
+      + '<a style="color: #FFFFFF; font-weight: bold;" href="javascript:location.reload()">'
  164
+      + 'REFRESH</a> this page.');
  165
+}
  166
+
  167
+// Keep track of z-index to allow layering of multiple glass messages
  168
+var __gwt_glassMessageZIndex = 2147483647;
  169
+
  170
+// Note this method is also used by ModuleSpace.java
  171
+function __gwt_displayGlassMessage(summary, details) {
  172
+  var topWin = window.top;
  173
+  var topDoc = topWin.document;
  174
+  var outer = topDoc.createElement("div");
  175
+  // Do not insert whitespace or outer.firstChild will get a text node.
  176
+  outer.innerHTML = 
  177
+    '<div style="position:absolute;z-index:' + __gwt_glassMessageZIndex-- +
  178
+    ';left:50px;top:50px;width:600px;color:#FFF;font-family:verdana;text-align:left;">' +
  179
+    '<div style="font-size:30px;font-weight:bold;">' + summary + '</div>' +
  180
+    '<div style="font-size:15px;">' + details + '</div>' +
  181
+    '</div>' +
  182
+    '<div style="position:absolute;z-index:' + __gwt_glassMessageZIndex-- +
  183
+    ';left:0px;top:0px;right:0px;bottom:0px;filter:alpha(opacity=60);opacity:0.6;background-color:#000;"></div>'
  184
+  ;
  185
+  topDoc.body.appendChild(outer);
  186
+  var glass = outer.firstChild;
  187
+  var glassStyle = glass.style;
  188
+
  189
+  // Scroll to the top and remove scrollbars.
  190
+  topWin.scrollTo(0, 0);
  191
+  if (topDoc.compatMode == "BackCompat") {
  192
+    topDoc.body.style["overflow"] = "hidden";
  193
+  } else {
  194
+    topDoc.documentElement.style["overflow"] = "hidden";
  195
+  }
  196
+
  197
+  // Steal focus.
  198
+  glass.focus();
  199
+
  200
+  if ((navigator.userAgent.indexOf("MSIE") >= 0) && (topDoc.compatMode == "BackCompat")) {
  201
+    // IE quirks mode doesn't support right/bottom, but does support this.
  202
+    glassStyle.width = "125%";
  203
+    glassStyle.height = "100%";
  204
+  } else if (navigator.userAgent.indexOf("MSIE 6") >= 0) {
  205
+    // IE6 doesn't have a real standards mode, so we have to use hacks.
  206
+    glassStyle.width = "125%"; // Get past scroll bar area.
  207
+    // Nasty CSS; onresize would be better but the outer window won't let us add a listener IE.
  208
+    glassStyle.setExpression("height", "document.documentElement.clientHeight");
  209
+  }
  210
+
  211
+  $doc.title = summary + " [" + $doc.title + "]";
  212
+}
  213
+
  214
+function findPluginObject() {
  215
+  try {
  216
+    return document.getElementById('pluginObject');
  217
+  } catch (e) {
  218
+    return null;
  219
+  }
  220
+}
  221
+
  222
+function findPluginEmbed() {
  223
+  try {
  224
+    return document.getElementById('pluginEmbed')
  225
+  } catch (e) {
  226
+    return null;
  227
+  }
  228
+}
  229
+
  230
+function findPluginXPCOM() {
  231
+  try {
  232
+    return __gwt_HostedModePlugin;
  233
+  } catch (e) {
  234
+    return null;
  235
+  }
  236
+}
  237
+
  238
+gwtOnLoad = function(errFn, modName, modBase){
  239
+  $moduleName = modName;
  240
+  $moduleBase = modBase;
  241
+
  242
+  // Note that the order is important
  243
+  var pluginFinders = [
  244
+    findPluginXPCOM,
  245
+    findPluginObject,
  246
+    findPluginEmbed,
  247
+  ];
  248
+  var topWin = window.top;
  249
+  var url = topWin.location.href;
  250
+  if (!topWin.__gwt_SessionID) {
  251
+    var ASCII_EXCLAMATION = 33;
  252
+    var ASCII_TILDE = 126;
  253
+    var chars = [];
  254
+    for (var i = 0; i < 16; ++i) {
  255
+      chars.push(Math.floor(ASCII_EXCLAMATION
  256
+          + Math.random() * (ASCII_TILDE - ASCII_EXCLAMATION + 1)));
  257
+    }
  258
+    topWin.__gwt_SessionID = String.fromCharCode.apply(null, chars);
  259
+  }
  260
+  var plugin = null;
  261
+  for (var i = 0; i < pluginFinders.length; ++i) {
  262
+    try {
  263
+      var maybePlugin = pluginFinders[i]();
  264
+      if (maybePlugin != null && maybePlugin.init(window)) {
  265
+        plugin = maybePlugin;
  266
+        break;
  267
+      }
  268
+    } catch (e) {
  269
+    }
  270
+  }
  271
+  if (!plugin) {
  272
+    // try searching for a v1 plugin for backwards compatibility
  273
+    var found = false;
  274
+    for (var i = 0; i < pluginFinders.length; ++i) {
  275
+      try {
  276
+        plugin = pluginFinders[i]();
  277
+        if (plugin != null && plugin.connect($hosted, $moduleName, window)) {
  278
+          return;
  279
+        }
  280
+      } catch (e) {
  281
+      }
  282
+    }
  283
+    loadIframe("http://gwt.google.com/missing-plugin");
  284
+  } else {
  285
+    if (plugin.connect(url, topWin.__gwt_SessionID, $hosted, $moduleName,
  286
+        $hostedHtmlVersion)) {
  287
+      window.onUnload = function() {
  288
+        try {
  289
+          // wrap in try/catch since plugins are not required to supply this
  290
+          plugin.disconnect();
  291
+        } catch (e) {
  292
+        }
  293
+      };
  294
+    } else {
  295
+      if (errFn) {
  296
+        errFn(modName);
  297
+      } else {
  298
+        __gwt_displayGlassMessage("Plugin failed to connect to Development Mode server at " +
  299
+            simpleEscape($hosted),
  300
+            "Follow the underlying troubleshooting instructions");
  301
+        loadIframe("http://code.google.com/p/google-web-toolkit/wiki/TroubleshootingOOPHM");
  302
+      }
  303
+    }
  304
+  }
  305
+}
  306
+
  307
+function simpleEscape(originalString) {
  308
+  return originalString.replace("&","&amp;")
  309
+    .replace("<","&lt;")
  310
+    .replace(">","&gt;")
  311
+    .replace("\"","&quot;");
  312
+}
  313
+
  314
+window.onunload = function() {
  315
+};
  316
+
  317
+// Lightweight metrics
  318
+window.fireOnModuleLoadStart = function(className) {
  319
+  $stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'startup', evtGroup:'moduleStartup', millis:(new Date()).getTime(), type:'onModuleLoadStart', className:className});
  320
+};
  321
+
  322
+window.__gwt_module_id = 0;
  323
+</script></head>
  324
+<body>
  325
+<font face='arial' size='-1'>This html file is for Development Mode support.</font>
  326
+<script><!--
  327
+// Lightweight metrics
  328
+$stats && $stats({moduleName:$moduleName, sessionId:$sessionId, subSystem:'startup', evtGroup:'moduleStartup', millis:(new Date()).getTime(), type:'moduleEvalEnd'});
  329
+
  330
+// OOPHM currently only supports IFrameLinker
  331
+var query = parent.location.search;
  332
+if (!findPluginXPCOM()) {
  333
+  document.write('<embed id="pluginEmbed" type="application/x-gwt-hosted-mode" width="10" height="10">');
  334
+  document.write('</embed>');
  335
+  document.write('<object id="pluginObject" CLASSID="CLSID:1D6156B6-002B-49E7-B5CA-C138FB843B4E">');
  336
+  document.write('</object>');
  337
+}
  338
+
  339
+// look for the old query parameter if we don't find the new one
  340
+var idx = query.indexOf("gwt.codesvr=");
  341
+if (idx >= 0) {
  342
+  idx += 12;  // "gwt.codesvr=".length() == 12
  343
+} else {
  344
+  idx = query.indexOf("gwt.hosted=");
  345
+  if (idx >= 0) {
  346
+    idx += 11;  // "gwt.hosted=".length() == 11
  347
+  }
  348
+}
  349
+if (idx >= 0) {
  350
+  var amp = query.indexOf("&", idx);
  351
+  if (amp >= 0) {
  352
+    $hosted = query.substring(idx, amp);
  353
+  } else {
  354
+    $hosted = query.substring(idx);
  355
+  }
  356
+
  357
+  // According to RFC 3986, some of this component's characters (e.g., ':')
  358
+  // are reserved and *may* be escaped.
  359
+  $hosted = decodeURIComponent($hosted);
  360
+}
  361
+
  362
+query = window.location.search.substring(1);
  363
+if (query && $wnd[query]) setTimeout($wnd[query].onScriptLoad, 1);
  364
+--></script></body></html>

0 notes on commit 54112c4

Please sign in to comment.
Something went wrong with that request. Please try again.