Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: ec8c7e4b7a
Fetching contributors…

Cannot retrieve contributors at this time

47 lines (36 sloc) 0.665 kB
<!DOCTYPE HTML>
<html>
<head>
<title>simple plugin test</title>
<script>
curl = {
debug: true,
paths: {
curl: '../src/curl'
},
pluginPath: 'curl/plugin',
jsPrefetch: true
};
</script>
<script src="../src/curl.js" type="text/javascript"></script>
<script type="text/javascript">
curl(
[
'support/simple-plugin!stuff/zero',
'domReady!'
]
).then(
function (foo) {
var doc = document;
doc.body.appendChild(doc.createTextNode('SUCCESS: simple plugin worked'));
},
function (ex) {
var doc = document;
doc.body.appendChild(doc.createTextNode('FAILED:' + ex.message));
}
);
</script>
</head>
<body>
</body>
</html>
Jump to Line
Something went wrong with that request. Please try again.