can
Version:
MIT-licensed, client-side, JavaScript framework that makes building rich web applications easy.
21 lines (19 loc) • 425 B
HTML
<html>
<head>
<title>dojo/text</title>
<meta charset="utf-8">
</head>
<body>
<script src="../dojo.js" data-dojo-config="async: 1"></script>
<script>
require([ "doh", "dojo/text!dojo/tests/text.php", "dojo/json" ], function(doh, data, JSON){
doh.register(function checkRequestHeader(t){
data = JSON.parse(data);
t.f(data['x-requested-with']);
});
doh.run();
});
</script>
</body>
</html>