Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(619)

Unified Diff: runtime/bin/vmservice/client/deployed/web/packages/html_import/src/boot.js

Issue 443713004: Rename vmservice/client to vmservice/observatory to match package name. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/bin/vmservice/client/deployed/web/packages/html_import/src/boot.js
===================================================================
--- runtime/bin/vmservice/client/deployed/web/packages/html_import/src/boot.js (revision 38989)
+++ runtime/bin/vmservice/client/deployed/web/packages/html_import/src/boot.js (working copy)
@@ -1,37 +0,0 @@
-/*
- * Copyright 2013 The Polymer Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style
- * license that can be found in the LICENSE file.
- */
-(function(){
-
-// bootstrap
-
-// IE shim for CustomEvent
-if (typeof window.CustomEvent !== 'function') {
- window.CustomEvent = function(inType) {
- var e = document.createEvent('HTMLEvents');
- e.initEvent(inType, true, true);
- return e;
- };
-}
-
-function bootstrap() {
- // preload document resource trees
- HTMLImports.importer.load(document, function() {
- HTMLImports.parser.parse(document);
- HTMLImports.readyTime = new Date().getTime();
- // send HTMLImportsLoaded when finished
- document.dispatchEvent(
- new CustomEvent('HTMLImportsLoaded', {bubbles: true})
- );
- });
-};
-
-if (document.readyState === 'complete') {
- bootstrap();
-} else {
- window.addEventListener('DOMContentLoaded', bootstrap);
-}
-
-})();

Powered by Google App Engine
This is Rietveld 408576698