diff options
author | seshukm <seshu.kumar.m@huawei.com> | 2017-04-10 15:52:12 +0530 |
---|---|---|
committer | seshukm <seshu.kumar.m@huawei.com> | 2017-04-10 15:52:12 +0530 |
commit | 84b3a1c939dc2baf22f9f5e30029b263c1512ade (patch) | |
tree | 131f2c17ad61078f95425eab1e349b96d0245d36 /vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/static/context.html | |
parent | ef9cd2561e325c82d4d1fcb03fef4582a53d7839 (diff) |
Integration of VNFMarket to Main GUI
IssueId : CLIENT-189
Change-Id: I37f49f6447ba2d5fb57779754117549eb315f0b5
Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Diffstat (limited to 'vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/static/context.html')
-rw-r--r-- | vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/static/context.html | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/static/context.html b/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/static/context.html new file mode 100644 index 00000000..64420c66 --- /dev/null +++ b/vnfmarket/src/main/webapp/vnfmarket/node_modules/karma/static/context.html @@ -0,0 +1,35 @@ +<!DOCTYPE html> +<!-- +This is the execution context. +Loaded within the iframe. +Reloaded before every execution run. +--> +<html> +<head> + <title></title> + <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> +</head> +<body> + <!-- The scripts need to be at the end of body, so that some test running frameworks + (Angular Scenario, for example) need the body to be loaded so that it can insert its magic + into it. If it is before body, then it fails to find the body and crashes and burns in an epic + manner. --> + <script type="text/javascript"> + // sets window.__karma__ and overrides console and error handling + // Use window.opener if this was opened by someone else - in a new window + if (window.opener) { + window.opener.karma.setupContext(window); + } else { + window.parent.karma.setupContext(window); + } + + // All served files with the latest timestamps + %MAPPINGS% + </script> + <!-- Dynamically replaced with <script> tags --> + %SCRIPTS% + <script type="text/javascript"> + window.__karma__.loaded(); + </script> +</body> +</html> |