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

Unified Diff: Source/core/xml/DocumentXMLTreeViewer.js

Issue 757963002: [Blink-in-JS] 'Import' function to load sub-modules and other resources for private scripts (Part-3) (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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: Source/core/xml/DocumentXMLTreeViewer.js
diff --git a/Source/core/xml/DocumentXMLTreeViewer.js b/Source/core/xml/DocumentXMLTreeViewer.js
index ff682eefc9bc59671f8ca091d34688a7dde4efe5..0ecccc2511dd8c88d8eb08bd18af21125bdb1e55 100644
--- a/Source/core/xml/DocumentXMLTreeViewer.js
+++ b/Source/core/xml/DocumentXMLTreeViewer.js
@@ -4,8 +4,12 @@
"use strict";
+include("A.js");
vivekg 2014/11/25 07:12:32 Legitimate include file which is present in the pa
+include("B.js");
vivekg 2014/11/25 07:12:32 This is an example of invalid include 'B.js'. In t
+
installClass("Document", function(DocumentPrototype) {
// FIXME: The stylesheet should be defined in a separate css file
+ aJSFunction("Calling aJSFunction");
vivekg 2014/11/25 07:12:32 Example of calling the function defined in the A.j
vivekg 2014/11/25 07:12:32 Example of calling the function defined in the A.j
var styleSheet = [
"div.header {",
" border-bottom: 2px solid black;",

Powered by Google App Engine
This is Rietveld 408576698