web-apps/vendor/requirejs/tests/circular/dupe/dupe.html
Maxim Kadushkin 741b10515d webapps added
2016-03-10 21:48:53 -03:00

29 lines
884 B
HTML

<!DOCTYPE html>
<html>
<head>
<title>requirejs: Cycle: Dupe Dependencies Test</title>
<script type="text/javascript" src="../../doh/runner.js"></script>
<script type="text/javascript" src="../../doh/_browserRunner.js"></script>
<script src="../../../require.js"></script>
<script>
require(['func'], function(func) {
doh.register(
'circularDupe',
[
function circularDupe(t){
t.is('hello world suffix', func('world'));
}
]
);
doh.run();
});
</script>
</head>
<body>
<h1>requirejs: Cycle: Dupe Dependencies Test</h1>
<p>Handles a cycle where part of the cycle ends up with the cycle dependency
twice in the dependency array.</p>
<p>Check console for messages</p>
</body>
</html>