Updated
This commit is contained in:
34
master/examples/webbuild.html
Normal file
34
master/examples/webbuild.html
Normal file
@@ -0,0 +1,34 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
|
||||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
||||
|
||||
<title>Dojo Builder Prototype</title>
|
||||
<script type="text/javascript">
|
||||
djConfig = {
|
||||
isDebug: true,
|
||||
baseRelativePath: "../"
|
||||
};
|
||||
</script>
|
||||
<script src="../dojo.js" type="text/javascript"></script>
|
||||
<script src="buildUtil.js" type="text/javascript"></script>
|
||||
<script src="buildUtilXd.js" type="text/javascript"></script>
|
||||
<script src="webbuild/webbuild.js" type="text/javascript"></script>
|
||||
<script type="text/javascript">
|
||||
function startBuild(depString, version, xdDojoPath){
|
||||
//Need a timeout here because otherwise the calling location is from the frame
|
||||
//that calls this page, which messes up our path building for loading files.
|
||||
//(at least in Firefox 2.0)
|
||||
setTimeout(function(){webbuild.build(depString, version, xdDojoPath);}, 100);
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
Hidden builder content for webbuild/index.html. See that file for the entry
|
||||
point into the web build system. This file needs to live in the buildscripts
|
||||
directory because of some assumptions in buildUtil.js.
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user