<!doctype html>
<html>
<head>
<title>profiler tests</title>
</head>
<body class="yui3-skin-sam">
<h1>Profiler Tests</h1>
<div id="log"></div>
<script type="text/javascript">
//global function
function getMessage(){
return "hi";
}
//global object
var myObject = {
getName : function(){
return "myObject";
}
};
YUI({
filter: (window.location.search.match(/[?&]filter=([^&]+)/) || [])[1] || 'min',
modules: {
'profiler-tests': {
fullpath: '/profiler-tests.js',
requires: [ 'test', 'profiler' ]
}
}
}).use('profiler-tests', 'test-console', function (Y) {
(new Y.Test.Console()).render('#log');
});
</script>
</body>
</html>