diff --git a/dist/js/axs_testing.js b/dist/js/axs_testing.js index e6b1a375..1f83c95a 100644 --- a/dist/js/axs_testing.js +++ b/dist/js/axs_testing.js @@ -1,5 +1,5 @@ /* - * Copyright 2016 Google Inc. + * Copyright 2017 Google Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,7 @@ * See the License for the specific language governing permissions and * limitations under the License. * - * Generated from http://github.com/GoogleChrome/accessibility-developer-tools/tree/7d778f7da58af341a47b3a6f6457c2842b24d4d8 + * Generated from http://github.com/GoogleChrome/accessibility-developer-tools/tree/9acd1c6e3e72a39a0ec14506d68203a4e8cfafb4 * * See project README for build steps. */ @@ -69,7 +69,7 @@ goog.module = function(a) { throw Error("Invalid module identifier"); } if (!goog.isInModuleLoader_()) { - throw Error("Module " + a + " has been loaded incorrectly."); + throw Error("Module " + a + " has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide."); } if (goog.moduleLoaderState_.moduleName) { throw Error("goog.module may only be called once per module."); @@ -87,8 +87,14 @@ goog.module.get = function(a) { }; goog.module.getInternal_ = function(a) { if (!COMPILED) { - return goog.isProvided_(a) ? a in goog.loadedModules_ ? goog.loadedModules_[a] : goog.getObjectByName(a) : null; + if (a in goog.loadedModules_) { + return goog.loadedModules_[a]; + } + if (!goog.implicitNamespaces_[a]) { + return a = goog.getObjectByName(a), null != a ? a : null; + } } + return null; }; goog.moduleLoaderState_ = null; goog.isInModuleLoader_ = function() { @@ -151,17 +157,20 @@ goog.require = function(a) { if (!COMPILED) { goog.ENABLE_DEBUG_LOADER && goog.IS_OLD_IE_ && goog.maybeProcessDeferredDep_(a); if (goog.isProvided_(a)) { - return goog.isInModuleLoader_() ? goog.module.getInternal_(a) : null; - } - if (goog.ENABLE_DEBUG_LOADER) { - var b = goog.getPathFromDeps_(a); - if (b) { - return goog.writeScripts_(b), null; + if (goog.isInModuleLoader_()) { + return goog.module.getInternal_(a); + } + } else { + if (goog.ENABLE_DEBUG_LOADER) { + var b = goog.getPathFromDeps_(a); + if (b) { + goog.writeScripts_(b); + } else { + throw a = "goog.require could not find: " + a, goog.logToConsole_(a), Error(a); + } } } - a = "goog.require could not find: " + a; - goog.logToConsole_(a); - throw Error(a); + return null; } }; goog.basePath = ""; @@ -184,8 +193,8 @@ goog.LOAD_MODULE_USING_EVAL = !0; goog.SEAL_MODULE_EXPORTS = goog.DEBUG; goog.loadedModules_ = {}; goog.DEPENDENCIES_ENABLED = !COMPILED && goog.ENABLE_DEBUG_LOADER; -goog.ALWAYS_TRANSPILE = !1; -goog.NEVER_TRANSPILE = !1; +goog.TRANSPILE = "detect"; +goog.TRANSPILER = "transpile.js"; goog.DEPENDENCIES_ENABLED && (goog.dependencies_ = {loadFlags:{}, nameToPath:{}, requires:{}, visited:{}, written:{}, deferred:{}}, goog.inHtmlDocument_ = function() { var a = goog.global.document; return null != a && "write" in a; @@ -221,8 +230,8 @@ goog.DEPENDENCIES_ENABLED && (goog.dependencies_ = {loadFlags:{}, nameToPath:{}, }, goog.maybeProcessDeferredDep_ = function(a) { goog.isDeferredModule_(a) && goog.allDepsAreAvailable_(a) && (a = goog.getPathFromDeps_(a), goog.maybeProcessDeferredPath_(goog.basePath + a)); }, goog.isDeferredModule_ = function(a) { - var b = (a = goog.getPathFromDeps_(a)) && goog.dependencies_.loadFlags[a] || {}; - return a && ("goog" == b.module || goog.needsTranspile_(b.lang)) ? goog.basePath + a in goog.dependencies_.deferred : !1; + var b = (a = goog.getPathFromDeps_(a)) && goog.dependencies_.loadFlags[a] || {}, c = b.lang || "es3"; + return a && ("goog" == b.module || goog.needsTranspile_(c)) ? goog.basePath + a in goog.dependencies_.deferred : !1; }, goog.allDepsAreAvailable_ = function(a) { if ((a = goog.getPathFromDeps_(a)) && a in goog.dependencies_.requires) { for (var b in goog.dependencies_.requires[a]) { @@ -240,32 +249,6 @@ goog.DEPENDENCIES_ENABLED && (goog.dependencies_ = {loadFlags:{}, nameToPath:{}, } }, goog.loadModuleFromUrl = function(a) { goog.retrieveAndExec_(a, !0, !1); -}, goog.loadModule = function(a) { - var b = goog.moduleLoaderState_; - try { - goog.moduleLoaderState_ = {moduleName:void 0, declareLegacyNamespace:!1}; - var c; - if (goog.isFunction(a)) { - c = a.call(goog.global, {}); - } else { - if (goog.isString(a)) { - c = goog.loadModuleFromSource_.call(goog.global, a); - } else { - throw Error("Invalid module definition"); - } - } - var d = goog.moduleLoaderState_.moduleName; - if (!goog.isString(d) || !d) { - throw Error('Invalid module name "' + d + '"'); - } - goog.moduleLoaderState_.declareLegacyNamespace ? goog.constructNamespace_(d, c) : goog.SEAL_MODULE_EXPORTS && Object.seal && Object.seal(c); - goog.loadedModules_[d] = c; - } finally { - goog.moduleLoaderState_ = b; - } -}, goog.loadModuleFromSource_ = function(a) { - eval(a); - return {}; }, goog.writeScriptSrcNode_ = function(a) { goog.global.document.write('