(function () {
'use strict';

const app = Polymer.dom(document).querySelector('x-app');
const swCache = Polymer.dom(document).querySelector('platinum-sw-cache');

document.addEventListener('service-worker-installed', () => {
  // Check to make sure caching is actually enabled—it won't be in the dev
  // environment.
  if (!swCache.disabled) {
    app.showToast('Caching complete! This app will work offline.');
  }
});

})();

@@ -415,14 +415,33 @@
  %7D%0A%7D);%0A%0A
+window.app = app;%0A%0A
 %7D)();%0A

Add app element to global scope for debugging